Skip to content

Commit

Permalink
complexity-test-images: hardcode workflow to amd64
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy authored and kkourt committed Apr 5, 2024
1 parent 2290f20 commit f5e1d81
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/buildx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ jobs:
secrets: inherit
with:
name: kind-image-${{ matrix.kernel.ver }}-${{ matrix.runner.arch }}
runner: ${{ matrix.runner.name }}
build-file: dockerfiles/kind-images
build-tag: quay.io/lvh-images/kind-ci:${{ matrix.kernel.ver }}-${{ needs.conf.outputs.tag }}-${{ matrix.runner.arch }}
build-args: |
Expand All @@ -213,6 +214,7 @@ jobs:
mkdir -p versions/kind/${{ matrix.runner.arch }}
echo ${{ needs.conf.outputs.tag }}-${{ matrix.runner.arch }} > versions/kind/${{ matrix.runner.arch }}/${{ matrix.kernel.ver }}
# complexity-test-images is hardcoded amd64 only for now
complexity-test-images:
if: ${{ needs.conf.outputs.run == 'y' }}
needs: [conf, kernel-images, root-images]
Expand All @@ -222,21 +224,21 @@ jobs:
uses: ./.github/workflows/buildx-stage.yaml
secrets: inherit
with:
name: complexity-test-${{ matrix.kernel.ver }}
name: complexity-test-${{ matrix.kernel.ver }}-amd64
build-file: dockerfiles/complexity-test-images
build-tag: quay.io/lvh-images/complexity-test-ci:${{ matrix.kernel.ver }}-${{ needs.conf.outputs.tag }}
build-args: |
"KERNEL_VER=${{ matrix.kernel.ver }}"
"KERNEL_IMAGE_TAG=${{ matrix.kernel.ver }}-${{ needs.conf.outputs.tag }}"
"ROOT_IMAGES_TAG=$(cat versions/root-images)"
"ROOT_IMAGES_TAG=$(cat versions/root-images/amd64)"
check-files: '.'
base-ref: ${{ github.base_ref }}
dry-run: ${{ needs.conf.outputs.dry-run == 'y' }}
apply-patch: root-images.patch
apply-patch: root-images-amd64.patch
apply-patch-2: kernel-image-${{ matrix.kernel.ver }}.patch
patch-cmd: |
mkdir -p versions/complexity-test
echo ${{ needs.conf.outputs.tag}} > versions/complexity-test/${{ matrix.kernel.ver }}
echo ${{ needs.conf.outputs.tag}}-amd64 > versions/complexity-test/${{ matrix.kernel.ver }}-amd64
commit-changes:
if: ${{ needs.conf.outputs.run == 'y' }}
Expand Down

0 comments on commit f5e1d81

Please sign in to comment.