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

ci: make release test pipeline use commit with tag INTER-924 #295

Merged
merged 9 commits into from
Oct 4, 2024

Conversation

necipallef
Copy link
Contributor

@necipallef necipallef commented Sep 27, 2024

With this PR, we also change how rc-e2e CodePipeline works. We trigger tests on every tag push with v* pattern. These tests run regardless if there is a PR or not. Each PR to main triggers another workflow that will check if there is any newly created tag. If yes, it will check if there is any tests and decide accordingly. If there are no tests, this workflow will return success.

The original buildspec-e2e-release-pr-join-artifacts.yml file from AWS (change extension from .txt to .yml)
buildspec-e2e-release-pr-join-artifacts-original.txt. After this PR is merged, we will completely remove this because it is not needed.

Copy link
Contributor

github-actions bot commented Sep 27, 2024

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 93.37% 648/694
🟢 Branches 86.78% 151/174
🟢 Functions 92.48% 123/133
🟢 Lines 93.6% 614/656

Test suite run success

170 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from b50d55b

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 93.37 86.78 92.48 93.59
🟢  mgmt-lambda 98.93 93.33 100 98.93
🟢   DefaultSettings.ts 100 100 100 100
🟢   app.ts 97.91 95 100 97.91 26
🟢   auth.ts 100 100 100 100
🟢   exceptions.ts 100 66.66 100 100 20
🟢   routing.ts 100 100 100 100
🟢  mgmt-lambda/handlers 87.22 72.5 93.33 87.15
🟢   errorHandlers.ts 100 71.42 100 100 22,41
🟡   statusHandler.ts 80 50 100 80 76-80,84-89
🟢   updateHandler.ts 87.21 75.86 87.5 87.12 50-51,67-68,139-142,214,219-228,290-291,319
🟢  mgmt-lambda/utils 81.25 88.88 66.66 100
🟢   cloudfrontUtils.ts 100 88.88 100 100 6
🔴   delay.ts 40 100 0 100
🟢  proxy/handlers 87.91 86.95 90.32 88.63
🟢   handleAgentDowloading.ts 96.29 66.66 100 96.15 31
🟡   handleResult.ts 76.74 100 76.92 78.04 90-105
🟢   handleStatus.ts 100 100 100 100
🟡  proxy/test 77.77 100 50 71.42
🟡   aws.ts 77.77 100 50 71.42 4-5
🟢  proxy/test/utils/customer-variables 100 100 100 100
🟢   in-memory-customer-variables.ts 100 100 100 100
🟢  proxy/utils 98.11 85.71 97.05 97.94
🟢   buffer.ts 100 100 100 100
🟢   cache-control.ts 100 100 100 100
🟢   cookie.ts 100 100 100 100
🟢   headers.ts 100 100 100 100
🔴   is-blob.ts 0 0 0 0 6-7
🟢   log.ts 85.71 33.33 100 83.33 11
🟢   request.ts 100 100 100 100
🟢   routing.ts 100 100 100 100
🟢   traffic.ts 100 100 100 100
🟢  proxy/utils/customer-variables 100 100 100 100
🟢   customer-variables.ts 100 100 100 100
🟢   defaults.ts 100 100 100 100
🟢   header-customer-variables.ts 100 100 100 100
🟢   maybe-obfuscate-variable.ts 100 100 100 100
🟢   selectors.ts 100 100 100 100
🟢   types.ts 100 100 100 100
🟢  proxy/utils/customer-variables/secrets-manager 95.58 100 100 95.52
🟢   normalize-secret.ts 100 100 100 100
🟢   retrieve-secret.ts 100 100 100 100
🟢   secrets-manager-variables.ts 86.95 100 100 86.95 28,50-55
🟢   validate-secret.ts 100 100 100 100

.github/workflows/e2e_test_for_releases.yml Outdated Show resolved Hide resolved
.github/workflows/e2e_test_for_releases.yml Outdated Show resolved Hide resolved
.github/workflows/e2e_test_for_releases.yml Outdated Show resolved Hide resolved
.github/workflows/e2e_test_for_releases.yml Outdated Show resolved Hide resolved
ilfa
ilfa previously approved these changes Oct 4, 2024
@necipallef necipallef changed the title ci: make release test pipeline use commit with tag ci: make release test pipeline use commit with tag INTER-924 Oct 4, 2024
Copy link
Contributor

github-actions bot commented Oct 4, 2024

This PR will not create a new release 🚀

@necipallef necipallef marked this pull request as ready for review October 4, 2024 09:59
@necipallef necipallef requested a review from ilfa October 4, 2024 10:10
@necipallef necipallef merged commit 117d6d8 into rc Oct 4, 2024
8 checks passed
@necipallef necipallef deleted the ci/fix-rc-e2e-tests branch October 4, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants