Skip to content

Commit

Permalink
🌱 build base images in sequence (#258)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zager <david.j.zager@gmail.com>
  • Loading branch information
djzager authored Aug 11, 2023
1 parent e40b59d commit 38b0718
Showing 1 changed file with 39 additions and 14 deletions.
53 changes: 39 additions & 14 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,56 @@ jobs:
release-bases:
runs-on: ubuntu-20.04
strategy:
matrix:
max-parallel: 1
projects:
- repo: konveyor/java-analyzer-bundle
image: konveyor/jdtls-server-base
- repo: konveyor/analyzer-lsp
image: konveyor/analyzer-lsp
- repo: konveyor/windup-shim
image: konveyor/windup-shim
- repo: konveyor/tackle2-addon-analyzer
image: konveyor/tackle2-addon-analyzer
fail-fast: true
steps:
- uses: konveyor/release-tools/create-release@main
with:
version: ${{ inputs.version }}
repository: ${{ matrix.projects.repo }}
repository: konveyor/java-analyzer-bundle
ref: ${{ inputs.branch }}
github_token: ${{ secrets.GH_TOKEN }}
- run: |
#!/bin/bash
while ! docker pull quay.io/${{ matrix.projects.image }}:${{ inputs.version }} &> /dev/null; do
while ! docker pull quay.io/konveyor/jdtls-server-base:${{ inputs.version }} &> /dev/null; do
sleep 3m
done
docker image inspect quay.io/${{ matrix.projects.image }}:${{ inputs.version }}
docker image inspect quay.io/konveyor/jdtls-server-base:${{ inputs.version }}
- uses: konveyor/release-tools/create-release@main
with:
version: ${{ inputs.version }}
repository: konveyor/analyzer-lsp
ref: ${{ inputs.branch }}
github_token: ${{ secrets.GH_TOKEN }}
- run: |
#!/bin/bash
while ! docker pull quay.io/konveyor/analyzer-lsp:${{ inputs.version }} &> /dev/null; do
sleep 3m
done
docker image inspect quay.io/konveyor/analyzer-lsp:${{ inputs.version }}
- uses: konveyor/release-tools/create-release@main
with:
version: ${{ inputs.version }}
repository: konveyor/windup-shim
ref: ${{ inputs.branch }}
github_token: ${{ secrets.GH_TOKEN }}
- run: |
#!/bin/bash
while ! docker pull quay.io/konveyor/windup-shim:${{ inputs.version }} &> /dev/null; do
sleep 3m
done
docker image inspect quay.io/konveyor/windup-shim:${{ inputs.version }}
- uses: konveyor/release-tools/create-release@main
with:
version: ${{ inputs.version }}
repository: konveyor/tackle2-addon-analyzer
ref: ${{ inputs.branch }}
github_token: ${{ secrets.GH_TOKEN }}
- run: |
#!/bin/bash
while ! docker pull quay.io/konveyor/tackle2-addon-analyzer:${{ inputs.version }} &> /dev/null; do
sleep 3m
done
docker image inspect quay.io/konveyor/tackle2-addon-analyzer:${{ inputs.version }}
release-components:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 38b0718

Please sign in to comment.