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 Feb 12, 2025
1 parent 03287f9 commit af6b367
Show file tree
Hide file tree
Showing 31 changed files with 573 additions and 1 deletion.
6 changes: 6 additions & 0 deletions EKS_DISTRO_TAG_FILE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ al2:
eks-distro-minimal-base-golang-compiler-1.23-base: 1.23-2025-02-08-1738976457.2
eks-distro-minimal-base-golang-compiler-1.23-yum: 1.23-yum-2025-02-08-1738976457.2
eks-distro-minimal-base-golang-compiler-1.23-gcc: 1.23-gcc-2025-02-08-1738976457.2
eks-distro-minimal-base-golang-compiler-1.24-base: null
eks-distro-minimal-base-golang-compiler-1.24-yum: null
eks-distro-minimal-base-golang-compiler-1.24-gcc: null
al2023:
eks-distro-base: 2025-01-10-1736535671.2023
eks-distro-minimal-base: 2025-01-01-1735689705.2023
Expand Down Expand Up @@ -100,6 +103,9 @@ al2023:
eks-distro-minimal-base-golang-compiler-1.23-base: 1.23-2025-02-05-1738782081.2023
eks-distro-minimal-base-golang-compiler-1.23-yum: 1.23-yum-2025-02-05-1738782081.2023
eks-distro-minimal-base-golang-compiler-1.23-gcc: 1.23-gcc-2025-02-08-1738976469.2023
eks-distro-minimal-base-golang-compiler-1.24-base: null
eks-distro-minimal-base-golang-compiler-1.24-yum: null
eks-distro-minimal-base-golang-compiler-1.24-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.24-amd64-checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858 go1.24.0.linux-amd64.tar.gz
1 change: 1 addition & 0 deletions builder-base/checksums/go-go1.24-arm64-checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c3fa6d16ffa261091a5617145553c71d21435ce547e44cc6dfb7470865527cc7 go1.24.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 @@ -9,6 +9,7 @@ GOLANG_VERSION_120: 1.20.14-16
GOLANG_VERSION_121: 1.21.13-0
GOLANG_VERSION_122: 1.22.12-0
GOLANG_VERSION_123: 1.23.6-0
GOLANG_VERSION_124: 1.24.0-0
GOSS_VERSION: 3.1.4
GOVC_VERSION: 0.34.2
GO_LICENSES_VERSION: v1.6.0
Expand Down
2 changes: 2 additions & 0 deletions eks-distro-base/golang_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ golang:
- 1.21
- 1.22
- 1.23
- 1.24
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.12-0
GOLANG_1.23_FULL_VERSION: 1.23.6-0
GOLANG_1.24_FULL_VERSION: 1.24.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.24-base-pushed - false
echo eks-distro-minimal-base-golang-compiler-1.24-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.24-base-pushed - true
update_base_image.sh 1.24-test-tag eks-distro-minimal-base-golang-compiler-1.24-base 2 image-tag-update-al2
echo Updated base image tag file for eks-distro-minimal-base-golang-compiler-1.24-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.24-base-pushed - false
tag from file for eks-distro-minimal-base-golang-compiler-1.24-base: some-previous-tag
printf "\n\nBuilding base-golang-compiler-1.24-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.24 --opt build-arg:AL_TAG=2 --opt build-arg:COMPILER_VERSION=1.24 --opt build-arg:COMPILER_FULL_VERSION=1.24-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.24-test-tag,localhost:5000/golang-builder:1.24,localhost:5000/golang-builder:1.24-mock,localhost:5000/golang-builder:1.24,localhost:5000/golang-builder:1.24,localhost:5000/golang-builder:1.24-al2,localhost:5000/golang-builder:1.24-mock-al2,localhost:5000/golang-builder:1.24-al2,localhost:5000/golang-builder:1.24-al2\",push=true
printf "\n\nBuilding base-golang-compiler-1.24-base final stage\n\n"
./check_update.sh golang 2 eks-distro-minimal-base-golang-compiler-1.24-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.24-test-tag --opt build-arg:VERSIONED_VARIANT=1.24 --opt build-arg:AL_TAG=2 --opt build-arg:COMPILER_VERSION=1.24 --opt build-arg:COMPILER_FULL_VERSION=1.24-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.24-test-tag,localhost:5000/golang:1.24,localhost:5000/golang:1.24-mock,localhost:5000/golang:1.24,localhost:5000/golang:1.24,localhost:5000/golang:1.24-al2,localhost:5000/golang:1.24-mock-al2,localhost:5000/golang:1.24-al2,localhost:5000/golang:1.24-al2\",push=true
printf "\n\nExporting packages and files from base-golang-compiler-1.24-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.24-test-tag --opt build-arg:EXPORT_NAME=golang-compiler-1.24-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.24-base ]; then \
mv /override/root/../eks-distro-base-minimal-packages/2/golang-compiler-1.24-base* /override/root/../eks-distro-base-minimal-packages/2/linux_amd64/; \
fi
printf "\n\nValidating libraries and symlinks in base-golang-compiler-1.24-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.24-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.24-test-tag 2 linux/amd64 check_base-golang-compiler-1.24-base localhost:5000; \
fi
printf "Building base-golang-compiler-1.24-base complete!\n\n"
echo true > /override/root/eks-distro-minimal-base-golang-compiler-1.24-base-pushed
Loading

0 comments on commit af6b367

Please sign in to comment.