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

393- Add deployment rules for STAGE and PROD #2053

Merged
merged 3 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ parameters:
workflows:
primary:
when:
not: << pipeline.parameters.is-nightly-run >>
and:
- not: << pipeline.parameters.is-nightly-run >>
- not: << pipeline.parameters.is-triggered-e2e-test >>
jobs:
- lint
- test
Expand All @@ -317,8 +319,8 @@ workflows:
filters:
branches:
only: /develop|release\/sprint-[\.\d]+|main/
- deploy-job: # Deploy job with requires dependencies which may not always run
name: deploy-job-conditional
- deploy-job: # All dependencies must pass before deploying
name: deploy-with-all-dependent-jobs-required
requires:
- lint
- test
Expand All @@ -328,8 +330,12 @@ workflows:
branches:
only:
- develop
- deploy-job: # Deploy job with no requires dependencies which will always run
name: deploy-job-always
- deploy-job: # Deploy job even when e2e tests fail
name: deploy-even-if-e2e-job-fails
requires:
- lint
- test
- dependency-check
filters:
branches:
only: /release\/sprint-[\.\d]+|main/
Expand Down
15 changes: 11 additions & 4 deletions front-end/.snyk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
version: v1.22.1
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
SNYK-JS-NGXBOOTSTRAP-174319:
'SNYK-JS-BOOTSTRAP-7444580':
- '*':
reason: None Given
expires: 2022-03-19T21:41:00.684Z
created: 2022-02-17T21:41:00.692Z
reason: 'No upgrade or patch available'
expires: 2024-11-01T21:41:00.684Z
'SNYK-JS-BOOTSTRAP-7444593':
- '*':
reason: 'No upgrade or patch available'
expires: 2024-11-01T21:41:00.684Z
'SNYK-JS-BOOTSTRAP-7444617':
- '*':
reason: 'No upgrade or patch available'
expires: 2024-11-01T21:41:00.684Z
patch: {}