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

feat(ci): wait for all images to be ready in E2E #1250

Merged
merged 1 commit into from
Mar 5, 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
51 changes: 51 additions & 0 deletions .github/workflows/e2e-k3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,57 @@ jobs:
with:
exec: ./deploy.py --verbose helm --branch ${{ github.ref_name }} --sha ${{ github.sha }} --dockerconfigjson ${{ secrets.GHCR_DOCKER_CONFIG }}

# Waits are identical to the update-argocd-metadata.yml file
# Mirror changes to that file
- name: Wait for Prepro Dummy Docker Image
uses: lewagon/[email protected]
with:
ref: ${{ github.sha }}
check-name: Preprocessing dummy docker image build
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 2

- 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 Prepro Nextclade Docker Image
uses: lewagon/[email protected]
with:
ref: ${{ github.sha }}
check-name: Build preprocessing-nextclade 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
- name: Sleep for 20 secs
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-argocd-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
run: |
echo "sha=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_OUTPUT

# Waits are identical to the e2e-k3d.yml workflow file
# Mirror changes to that file
- name: Wait for Prepro Dummy Docker Image
uses: lewagon/[email protected]
with:
Expand Down Expand Up @@ -75,6 +77,7 @@ jobs:
check-name: Build keycloakify Docker Image
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 2
# End of wait block

- name: Checkout External Repository
uses: actions/checkout@v4
Expand Down
Loading