Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTER-167] Semantic release #142

Conversation

TheUnderScorer
Copy link
Contributor

@TheUnderScorer TheUnderScorer commented Oct 23, 2023

This PR introduces the following changes:

  • Introduces semantic-release for automated releases
  • distdirectories are removed, now the release pipeline will use release asset package.zip which contains built mgmt and proxy functions.
  • Streamlines build process to build mgmt and proxy functions using one configuration (simular to Azure repo)
  • buildspec.release-lambda.yml for release is now stored in repo, rather than inline on AWS.

Other resources:
New CodePipeline for release: https://us-east-1.console.aws.amazon.com/codesuite/codepipeline/pipelines/fpjs-dev-fingerprint-pro-cloudfront-integration-semantic-release/view?region=us-east-1

Testing process:
For now, the new release buildspec creates lambda_latest_test.zip and mgmt_lambda_latest_test.zip assets, so they won't be released to existing customers. After testing, we'll update the buildspec to upload actual assets.

@TheUnderScorer TheUnderScorer self-assigned this Oct 23, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
100% (+1.77% 🔼)
0/0
🟢 Branches
100% (+3.57% 🔼)
0/0
🟢 Functions 100% 0/0
🟢 Lines
100% (+1.88% 🔼)
0/0

Test suite run success

198 tests passing in 16 suites.

Report generated by 🧪jest coverage report action from 6c2a996

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🔴 All files 0 0 0 0

@TheUnderScorer TheUnderScorer changed the base branch from main to feature/INTER-166-shared-workflows October 24, 2023 10:18
@TheUnderScorer TheUnderScorer marked this pull request as ready for review October 24, 2023 10:24
@TheUnderScorer TheUnderScorer requested a review from ilfa October 24, 2023 10:27
CONTRIBUTING.md Show resolved Hide resolved
.releaserc Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link
Member

@ilfa ilfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a new workflow file for a release

@github-actions
Copy link
Contributor

This PR will create a minor release 🚀

1.2.0 (2023-10-25)

Features

  • migrate to semantic-release (d809899)

Bug Fixes

  • change TTL=0 for Fingerprint integration cache policy (7f1e741)

Documentation

  • README: add requirements section (f468840)

@TheUnderScorer TheUnderScorer requested a review from ilfa October 25, 2023 09:25
@TheUnderScorer TheUnderScorer merged commit 442c196 into feature/INTER-166-shared-workflows Oct 30, 2023
5 checks passed
@TheUnderScorer TheUnderScorer deleted the feature/INTER-167-semantic-release branch October 30, 2023 10:15
@ilfa
Copy link
Member

ilfa commented Oct 30, 2023

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ilfa ilfa added the released label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants