Skip to content

Commit

Permalink
CI: restore wait-for-image job (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Dec 18, 2023
1 parent 1db2a4c commit aaf3377
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,18 @@ jobs:
KOSLI_HOST: ${{ needs.variables.outputs.kosli_host }}
KOSLI_ORG: ${{ needs.variables.outputs.kosli_org }}

wait-for-image:
needs: [create-kosli-flow]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Wait for image to be built in main.yml
run:
./sh/wait_for_image.sh

test:
needs: [variables, create-kosli-flow]
needs: [variables, wait-for-image]
uses: ./.github/workflows/sub_test.yml
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/main_staging_trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,18 @@ jobs:
KOSLI_HOST: ${{ needs.variables.outputs.kosli_host }}
KOSLI_ORG: ${{ needs.variables.outputs.kosli_org }}

wait-for-image:
needs: [create-kosli-flow]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Wait for image to be built in main.yml
run:
./sh/wait_for_image.sh

test:
needs: [variables, create-kosli-flow]
needs: [variables, wait-for-image]
uses: ./.github/workflows/sub_test_trails.yml
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN_TRAILS }}
Expand Down

0 comments on commit aaf3377

Please sign in to comment.