-
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.
feat(backend): backend arm builds, create dockerfile (#1831)
- Make workflow names systematic (-test/-image) - Create workflow that builds all arm images for a ref (for local testing)
- Loading branch information
1 parent
2d73e4c
commit 1c814c3
Showing
14 changed files
with
268 additions
and
98 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,45 @@ | ||
# Trigger a build of all docker images including ARM images | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
checks: read | ||
|
||
jobs: | ||
trigger-backend: | ||
uses: ./.github/workflows/backend.yml | ||
with: | ||
build_arm: true | ||
|
||
trigger-config-preprocessor: | ||
uses: ./.github/workflows/config-preprocessor-build.yml | ||
with: | ||
build_arm: true | ||
|
||
trigger-dummy-preprocessing: | ||
uses: ./.github/workflows/dummyPreprocessing.yml | ||
with: | ||
build_arm: true | ||
|
||
trigger-ingest: | ||
uses: ./.github/workflows/ingest.yml | ||
with: | ||
build_arm: true | ||
|
||
trigger-keycloakify: | ||
uses: ./.github/workflows/keycloakify-build.yml | ||
with: | ||
build_arm: true | ||
|
||
trigger-preprocessing-nextclade: | ||
uses: ./.github/workflows/preprocessing-nextclade.yml | ||
with: | ||
build_arm: true | ||
|
||
trigger-website: | ||
uses: ./.github/workflows/website.yml | ||
with: | ||
build_arm: true |
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
6 changes: 5 additions & 1 deletion
6
.github/workflows/docs-build.yml → .github/workflows/docs-test.yml
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: E2E test (on kubernetes) | |
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
paths: | ||
- "backend/**" | ||
- "keycloak/**" | ||
|
@@ -11,6 +11,9 @@ on: | |
- "deploy.py" | ||
- ".github/scripts/**" | ||
- ".github/workflows/**" | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-e2e-k3d | ||
|
@@ -93,40 +96,41 @@ jobs: | |
run: cd website && npx playwright install-deps | ||
if: steps.playwright-cache.outputs.cache-hit == 'true' | ||
|
||
# Waits are identical to the update-argocd-metadata.yml file | ||
# Mirror changes to that file | ||
- name: Wait for Config Processor Docker Image | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.sha }} | ||
check-name: Build config-processor Docker Image | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 2 | ||
|
||
- name: Wait for Backend Docker Image | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.sha }} | ||
check-name: Build Backend Docker Image | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 2 | ||
|
||
- name: Wait for Website Docker Image | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.sha }} | ||
check-name: Build Website Docker Image | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 2 | ||
|
||
- name: Wait for Keycloakify Docker Image | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.sha }} | ||
check-name: Build keycloakify Docker Image | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 2 | ||
# End of wait block | ||
# Action misbehaved | ||
# # Waits are identical to the update-argocd-metadata.yml file | ||
# # Mirror changes to that file | ||
# - name: Wait for Config Processor Docker Image | ||
# uses: lewagon/[email protected] | ||
# with: | ||
# ref: ${{ github.sha }} | ||
# check-name: Build config-processor Docker Image | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# wait-interval: 2 | ||
|
||
# - name: Wait for Backend Docker Image | ||
# uses: lewagon/[email protected] | ||
# with: | ||
# ref: ${{ github.sha }} | ||
# check-name: Build Backend Docker Image | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# wait-interval: 2 | ||
|
||
# - name: Wait for Website Docker Image | ||
# uses: lewagon/[email protected] | ||
# with: | ||
# ref: ${{ github.sha }} | ||
# check-name: Build Website Docker Image | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# wait-interval: 2 | ||
|
||
# - name: Wait for Keycloakify Docker Image | ||
# uses: lewagon/[email protected] | ||
# with: | ||
# ref: ${{ github.sha }} | ||
# check-name: Build keycloakify Docker Image | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# wait-interval: 2 | ||
# # End of wait block | ||
|
||
- name: Wait for the pods to be ready (timeout 480s) | ||
run: ./.github/scripts/wait_for_pods_to_be_ready.py | ||
|
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
Oops, something went wrong.