Skip to content

Commit

Permalink
chore(tests): use matched uid and gid in docker explain manifest test
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Sep 29, 2024
1 parent 9004731 commit 8210e88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/matrix-commitly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ build-images:
base-image: ubuntu:24.04
package: deb
artifact-from: ubuntu-24.04
check-manifest-suite: docker-image-ubuntu-24.04

smoke-tests:
- label: ubuntu
Expand Down
1 change: 0 additions & 1 deletion .github/matrix-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ build-images:
artifact-from: ubuntu-24.04
artifact-from-alt: ubuntu-24.04-arm64
docker-platforms: linux/amd64, linux/arm64
check-manifest-suite: docker-image-ubuntu-24.04

# Debian
- label: debian
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,19 +423,17 @@ jobs:
cache: 'pip' # caching pip dependencies

- name: Verify
env:
SUITE: ${{ matrix.check-manifest-suite || 'docker-image' }}
run: |
cd scripts/explain_manifest
# docker image verify requires sudo to set correct permissions, so we
# also install deps for root
sudo -H -E pip install -r requirements.txt
sudo -E pip install -r requirements.txt
IMAGE=${{ env.PRERELEASE_DOCKER_REPOSITORY }}:${{ needs.metadata.outputs.commit-sha }}-${{ matrix.label }}
sudo -H -E python ./main.py --image $IMAGE -f docker_image_filelist.txt -s "$SUITE"
sudo -E python ./main.py --image $IMAGE -f docker_image_filelist.txt -s docker-image
if [[ ! -z "${{ matrix.docker-platforms }}" ]]; then
DOCKER_DEFAULT_PLATFORM=linux/arm64 sudo -E python ./main.py --image $IMAGE -f docker_image_filelist.txt -s "$SUITE"
DOCKER_DEFAULT_PLATFORM=linux/arm64 sudo -E python ./main.py --image $IMAGE -f docker_image_filelist.txt -s docker-image
fi
scan-images:
Expand Down

1 comment on commit 8210e88

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:8210e880c603186eff8154c731bb392d1413f3fa
Artifacts available https://github.com/Kong/kong/actions/runs/11090402062

Please sign in to comment.