Skip to content

Commit

Permalink
[PR BOT] Update golang in builder-base and eks-distro-base
Browse files Browse the repository at this point in the history
  • Loading branch information
eks-distro-pr-bot committed Aug 14, 2024
1 parent 6138340 commit da33247
Show file tree
Hide file tree
Showing 27 changed files with 533 additions and 0 deletions.
6 changes: 6 additions & 0 deletions EKS_DISTRO_TAG_FILE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ al2:
eks-distro-minimal-base-python-compiler-3.11-base: null
eks-distro-minimal-base-python-compiler-3.11-yum: null
eks-distro-minimal-base-python-compiler-3.11-gcc: null
eks-distro-minimal-base-golang-compiler-1.23-base: null
eks-distro-minimal-base-golang-compiler-1.23-yum: null
eks-distro-minimal-base-golang-compiler-1.23-gcc: null
al2023:
eks-distro-base: 2024-08-07-1723043238.2023
eks-distro-minimal-base: 2024-08-07-1723043238.2023
Expand Down Expand Up @@ -94,6 +97,9 @@ al2023:
eks-distro-minimal-base-python-compiler-3.11-base: 3.11-2024-08-07-1723043238.2023
eks-distro-minimal-base-python-compiler-3.11-yum: 3.11-yum-2024-08-07-1723043238.2023
eks-distro-minimal-base-python-compiler-3.11-gcc: 3.11-gcc-2024-08-07-1723043238.2023
eks-distro-minimal-base-golang-compiler-1.23-base: null
eks-distro-minimal-base-golang-compiler-1.23-yum: null
eks-distro-minimal-base-golang-compiler-1.23-gcc: null
windows:
eks-distro-windows-base-1809: 1809-2023-12-12-1702407739.2
eks-distro-windows-base-20H2: 20H2-2022-12-19-1671485888.2
Expand Down
1 change: 1 addition & 0 deletions builder-base/checksums/go-go1.23-amd64-checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e3 /home/prow/go/src/github.com/aws/eks-distro-build-tooling/builder-base/tmp/golang-downloads/linux/amd64/go1.23.0.linux-amd64.tar.gz
1 change: 1 addition & 0 deletions builder-base/checksums/go-go1.23-arm64-checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
62788056693009bcf7020eedc778cdd1781941c6145eab7688bd087bce0f8659 /home/prow/go/src/github.com/aws/eks-distro-build-tooling/builder-base/tmp/golang-downloads/linux/arm64/go1.23.0.linux-arm64.tar.gz
1 change: 1 addition & 0 deletions builder-base/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ SKOPEO_VERSION: v1.5.2
SKOPEO_VERSION_AL23: v1.13.3
UPX_VERSION: 4.2.0
YQ_VERSION: v4.30.6
GOLANG_VERSION_123: 1.23.0-0
2 changes: 2 additions & 0 deletions eks-distro-base/golang_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ golang:
- 1.20
- 1.21
- 1.22
- 1.23
versions:
GOLANG_1.18_FULL_VERSION: 1.18.10-8
GOLANG_1.19_FULL_VERSION: 1.19.13-14
GOLANG_1.20_FULL_VERSION: 1.20.14-16
GOLANG_1.21_FULL_VERSION: 1.21.13-0
GOLANG_1.22_FULL_VERSION: 1.22.6-0
GOLANG_1.23_FULL_VERSION: 1.23.0-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

# This file was generated by running `make run-make-tests` and `make update-make-tests-expected`. DO NOT EDIT

checking pushed file: /override/root/eks-distro-minimal-base-golang-compiler-1.23-base-pushed - false
echo eks-distro-minimal-base-golang-compiler-1.23-base not built
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

# This file was generated by running `make run-make-tests` and `make update-make-tests-expected`. DO NOT EDIT

checking pushed file: /override/root/eks-distro-minimal-base-golang-compiler-1.23-base-pushed - true
update_base_image.sh 1.23-test-tag eks-distro-minimal-base-golang-compiler-1.23-base 2 image-tag-update-al2
echo Updated base image tag file for eks-distro-minimal-base-golang-compiler-1.23-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@

# This file was generated by running `make run-make-tests` and `make update-make-tests-expected`. DO NOT EDIT

/override/root/../scripts/buildkit_check.sh
printf "Building standard eks-distro-base\n\n"
./check_update.sh eks-distro-base 2 eks-distro-base --security
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.base --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=public.ecr.aws/amazonlinux/amazonlinux:2 --progress plain --local dockerfile=./ --local context=. --opt target=final --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/eks-distro-base:test-tag,localhost:5000/eks-distro-base:latest,localhost:5000/eks-distro-base:latest.2,localhost:5000/eks-distro-base:latest-al2\",push=true
echo true > /override/root/eks-distro-base-pushed
checking pushed file: /override/root/eks-distro-base-pushed - true
printf "\n\nBuilding base builder stage\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=scratch --opt build-arg:BUILDER_IMAGE=localhost:5000/eks-distro-base:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=builder --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/eks-distro-minimal-base-builder:test-tag,localhost:5000/eks-distro-minimal-base-builder:latest,localhost:5000/eks-distro-minimal-base-builder:latest.2,localhost:5000/eks-distro-minimal-base-builder:latest-al2\",push=true
printf "\n\nBuilding base final stage\n\n"
./check_update.sh eks-distro-minimal-base 2 eks-distro-minimal-base --security
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=scratch --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=final --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/eks-distro-minimal-base:test-tag,localhost:5000/eks-distro-minimal-base:latest,localhost:5000/eks-distro-minimal-base:latest.2,localhost:5000/eks-distro-minimal-base:latest-al2\",push=true
printf "\n\nExporting packages and files from base final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-builder:test-tag --opt build-arg:EXPORT_NAME=base --progress plain --local dockerfile=./ --local context=. --opt target=export --output type=local,dest=/override/root/../eks-distro-base-minimal-packages/2
if [ -f /override/root/../eks-distro-base-minimal-packages/2/base ]; then \
mv /override/root/../eks-distro-base-minimal-packages/2/base* /override/root/../eks-distro-base-minimal-packages/2/linux_amd64/; \
fi
printf "\n\nValidating libraries and symlinks in base final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=validate --output type=local,dest=/tmp
if command -v docker &> /dev/null && docker info > /dev/null 2>&1 ; then \
/override/root/tests/run_tests.sh localhost:5000 test-tag 2 linux/amd64 check_base localhost:5000; \
fi
printf "Building base complete!\n\n"
echo true > /override/root/eks-distro-minimal-base-pushed
checking pushed file: /override/root/eks-distro-minimal-base-pushed - true
printf "\n\nBuilding base-glibc builder stage\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base-glibc --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=localhost:5000/eks-distro-minimal-base:test-tag --opt build-arg:BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=builder --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/eks-distro-minimal-base-glibc-builder:test-tag,localhost:5000/eks-distro-minimal-base-glibc-builder:latest,localhost:5000/eks-distro-minimal-base-glibc-builder:latest.2,localhost:5000/eks-distro-minimal-base-glibc-builder:latest-al2\",push=true
printf "\n\nBuilding base-glibc final stage\n\n"
./check_update.sh eks-distro-minimal-base-glibc 2 eks-distro-minimal-base-glibc --security
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=localhost:5000/eks-distro-minimal-base:test-tag --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-glibc-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=final --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/eks-distro-minimal-base-glibc:test-tag,localhost:5000/eks-distro-minimal-base-glibc:latest,localhost:5000/eks-distro-minimal-base-glibc:latest.2,localhost:5000/eks-distro-minimal-base-glibc:latest-al2\",push=true
printf "\n\nExporting packages and files from base-glibc final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-glibc-builder:test-tag --opt build-arg:EXPORT_NAME=glibc --progress plain --local dockerfile=./ --local context=. --opt target=export --output type=local,dest=/override/root/../eks-distro-base-minimal-packages/2
if [ -f /override/root/../eks-distro-base-minimal-packages/2/glibc ]; then \
mv /override/root/../eks-distro-base-minimal-packages/2/glibc* /override/root/../eks-distro-base-minimal-packages/2/linux_amd64/; \
fi
printf "\n\nValidating libraries and symlinks in base-glibc final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-glibc-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=validate --output type=local,dest=/tmp
if command -v docker &> /dev/null && docker info > /dev/null 2>&1 ; then \
/override/root/tests/run_tests.sh localhost:5000 test-tag 2 linux/amd64 check_base-glibc localhost:5000; \
fi
printf "Building base-glibc complete!\n\n"
echo true > /override/root/eks-distro-minimal-base-glibc-pushed
checking pushed file: /override/root/eks-distro-minimal-base-glibc-pushed - true
printf "\n\nBuilding base-compiler-base builder stage\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base-compiler --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=localhost:5000/eks-distro-minimal-base-glibc:test-tag --opt build-arg:BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-glibc-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=builder --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/compiler-base-builder:test-tag,localhost:5000/compiler-base-builder:latest,localhost:5000/compiler-base-builder:latest.2,localhost:5000/compiler-base-builder:latest-al2\",push=true
printf "\n\nBuilding base-compiler-base final stage\n\n"
./check_update.sh compiler-base 2 eks-distro-minimal-base-compiler-base --security
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base-compiler --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=localhost:5000/eks-distro-minimal-base-glibc:test-tag --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/compiler-base-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=final --export-cache type=inline --output type=image,oci-mediatypes=true,\"name=localhost:5000/compiler-base:test-tag,localhost:5000/compiler-base:latest,localhost:5000/compiler-base:latest.2,localhost:5000/compiler-base:latest-al2\",push=true
printf "\n\nExporting packages and files from base-compiler-base final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/compiler-base-builder:test-tag --opt build-arg:EXPORT_NAME=compiler-base --progress plain --local dockerfile=./ --local context=. --opt target=export --output type=local,dest=/override/root/../eks-distro-base-minimal-packages/2
if [ -f /override/root/../eks-distro-base-minimal-packages/2/compiler-base ]; then \
mv /override/root/../eks-distro-base-minimal-packages/2/compiler-base* /override/root/../eks-distro-base-minimal-packages/2/linux_amd64/; \
fi
printf "\n\nValidating libraries and symlinks in base-compiler-base final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/compiler-base-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=validate --output type=local,dest=/tmp
if command -v docker &> /dev/null && docker info > /dev/null 2>&1 ; then \
/override/root/tests/run_tests.sh localhost:5000 test-tag 2 linux/amd64 check_base-compiler-base localhost:5000; \
fi
printf "Building base-compiler-base complete!\n\n"
echo true > /override/root/eks-distro-minimal-base-compiler-base-pushed
checking pushed file: /override/root/eks-distro-minimal-base-compiler-base-pushed - true
checking pushed file: /override/root/eks-distro-minimal-base-golang-compiler-1.23-base-pushed - false
tag from file for eks-distro-minimal-base-golang-compiler-1.23-base: some-previous-tag
printf "\n\nBuilding base-golang-compiler-1.23-base builder stage\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base-golang --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=localhost:5000/compiler-base:test-tag --opt build-arg:BUILDER_IMAGE=localhost:5000/compiler-base-builder:test-tag --opt build-arg:VERSIONED_VARIANT=1.23 --opt build-arg:AL_TAG=2 --opt build-arg:COMPILER_VERSION=1.23 --opt build-arg:COMPILER_FULL_VERSION=1.23-mock --opt build-arg:IS_COMPILER=true --opt build-arg:MINIMAL_BASE_BUILDER_IMAGE=localhost:5000/eks-distro-minimal-base-builder:test-tag --progress plain --local dockerfile=./ --local context=. --opt target=builder --export-cache type=inline --import-cache type=registry,ref=public.ecr.aws/eks-distro-build-tooling/golang-builder:some-previous-tag --opt no-cache=builder-golang-base --output type=image,oci-mediatypes=true,\"name=localhost:5000/golang-builder:1.23-test-tag,localhost:5000/golang-builder:1.23,localhost:5000/golang-builder:1.23-mock,localhost:5000/golang-builder:1.23,localhost:5000/golang-builder:1.23,localhost:5000/golang-builder:1.23-al2,localhost:5000/golang-builder:1.23-mock-al2,localhost:5000/golang-builder:1.23-al2,localhost:5000/golang-builder:1.23-al2\",push=true
printf "\n\nBuilding base-golang-compiler-1.23-base final stage\n\n"
./check_update.sh golang 2 eks-distro-minimal-base-golang-compiler-1.23-base --security
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-base-golang --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BASE_IMAGE=localhost:5000/compiler-base:test-tag --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/golang-builder:1.23-test-tag --opt build-arg:VERSIONED_VARIANT=1.23 --opt build-arg:AL_TAG=2 --opt build-arg:COMPILER_VERSION=1.23 --opt build-arg:COMPILER_FULL_VERSION=1.23-mock --opt build-arg:IS_COMPILER=true --progress plain --local dockerfile=./ --local context=. --opt target=final --export-cache type=inline --import-cache type=registry,ref=public.ecr.aws/eks-distro-build-tooling/golang-builder:some-previous-tag --opt no-cache=builder-golang-base --output type=image,oci-mediatypes=true,\"name=localhost:5000/golang:1.23-test-tag,localhost:5000/golang:1.23,localhost:5000/golang:1.23-mock,localhost:5000/golang:1.23,localhost:5000/golang:1.23,localhost:5000/golang:1.23-al2,localhost:5000/golang:1.23-mock-al2,localhost:5000/golang:1.23-al2,localhost:5000/golang:1.23-al2\",push=true
printf "\n\nExporting packages and files from base-golang-compiler-1.23-base final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/golang-builder:1.23-test-tag --opt build-arg:EXPORT_NAME=golang-compiler-1.23-base --progress plain --local dockerfile=./ --local context=. --opt target=export --output type=local,dest=/override/root/../eks-distro-base-minimal-packages/2
if [ -f /override/root/../eks-distro-base-minimal-packages/2/golang-compiler-1.23-base ]; then \
mv /override/root/../eks-distro-base-minimal-packages/2/golang-compiler-1.23-base* /override/root/../eks-distro-base-minimal-packages/2/linux_amd64/; \
fi
printf "\n\nValidating libraries and symlinks in base-golang-compiler-1.23-base final image\n\n"
/override/root/../scripts/buildkit.sh build --frontend dockerfile.v0 --opt filename=Dockerfile.minimal-helpers --opt platform=linux/amd64 --opt build-arg:OUTPUT_DEBUG_LOG= --opt build-arg:BUILT_BUILDER_IMAGE=localhost:5000/golang-builder:1.23-test-tag --progress plain --local dockerfile=./ --local context=. --opt target=validate --output type=local,dest=/tmp
if command -v docker &> /dev/null && docker info > /dev/null 2>&1 ; then \
/override/root/tests/run_tests.sh localhost:5000 1.23-test-tag 2 linux/amd64 check_base-golang-compiler-1.23-base localhost:5000; \
fi
printf "Building base-golang-compiler-1.23-base complete!\n\n"
echo true > /override/root/eks-distro-minimal-base-golang-compiler-1.23-base-pushed
Loading

0 comments on commit da33247

Please sign in to comment.