-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): test umbrella job to build the client in a coordinated …
…process
- Loading branch information
1 parent
aa1663e
commit c03000f
Showing
4 changed files
with
115 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Client Develop | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
bff: | ||
name: Build BFF | ||
uses: iris-connect/iris-client/.github/workflows/bff_develop.yml@chore/optimized_build | ||
secrets: | ||
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }} | ||
DOCKER_HUB_PW: ${{ secrets.DOCKER_HUB_PW }} | ||
|
||
publish-test-results: | ||
name: Publish Test Results | ||
needs: bff | ||
uses: iris-connect/iris-client/.github/workflows/publish-test-results.yml@develop | ||
|
||
fe: | ||
name: Build FE | ||
uses: iris-connect/iris-client/.github/workflows/fe_develop.yml@chore/optimized_build | ||
secrets: | ||
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }} | ||
DOCKER_HUB_PW: ${{ secrets.DOCKER_HUB_PW }} | ||
|
||
e2e_test: | ||
name: Run E2E Tests | ||
needs: bff | ||
uses: iris-connect/iris-client/.github/workflows/fe-e2e-test.yml@chore/optimized_build | ||
|
||
container_scan: | ||
name: Container Scan | ||
needs: [bff, fe] | ||
uses: iris-connect/iris-client/.github/workflows/trivy-container-scan.yml@develop | ||
with: | ||
image-refs: "[ '${{needs.bff.outputs.image-ref}}', '${{needs.fe.outputs.image-ref}}' ]" |
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 |
---|---|---|
|
@@ -5,15 +5,32 @@ on: | |
branches: | ||
- main | ||
- release | ||
- develop | ||
- 1.** | ||
pull_request: | ||
branches: | ||
- develop | ||
workflow_call: | ||
|
||
jobs: | ||
pre_job: | ||
name: Determines job skipping | ||
# continue-on-error: true # Uncomment once integration is finished | ||
runs-on: ubuntu-latest | ||
# Map a step output to a job output | ||
outputs: | ||
should_skip: ${{ steps.skip_check.outputs.should_skip }} | ||
steps: | ||
- id: skip_check | ||
uses: fkirc/skip-duplicate-actions@master | ||
with: | ||
# All of these options are optional, so you can remove them if you are happy with the defaults | ||
skip_after_successful_duplicate: 'true' | ||
concurrent_skipping: 'never' | ||
cancel_others: 'true' | ||
paths_ignore: '["**/README.md", "**/docs/**", "**/postman/**", ".reuse/**", "infrastructure/**", "LICENSES/**", "iris-client-eps/**"]' | ||
|
||
cypress-run: | ||
runs-on: ubuntu-20.04 | ||
name: Run Cypress E2E Tests | ||
needs: pre_job | ||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
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