-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #583 from NYPL/SFR-2404/full-cicd
SFR-2404: Implement full ci/cd workflow
- Loading branch information
Showing
5 changed files
with
48 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Full CI/CD Pipeline | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
# Job to deploy to the QA environment on successful merge to `main` | ||
deploy_to_qa: | ||
uses: NYPL/sfr-bookfinder-front-end/.github/workflows/build-qa.yml@main | ||
secrets: inherit | ||
|
||
# Job to run e2e tests on the QA environment after deployment | ||
run_e2e_tests: | ||
needs: deploy_to_qa | ||
uses: NYPL/sfr-bookfinder-front-end/.github/workflows/Playwright.yml@main | ||
with: | ||
base_url: "https://drb-qa.nypl.org/" | ||
secrets: inherit | ||
|
||
# Job to deploy to production after successful e2e tests on QA | ||
deploy_to_production: | ||
needs: run_e2e_tests | ||
uses: NYPL/sfr-bookfinder-front-end/.github/workflows/build-production.yaml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters