-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to go 1.22 * fix: Add missing test deps * chore: Move tool installation to its own make target * chore: Update `goformation` go version to `1.22` and run `make build`
- Loading branch information
1 parent
947e96f
commit ccdd44c
Showing
24 changed files
with
194 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
* | ||
!.git | ||
!.goreleaser* | ||
!.golangci* | ||
!.mockery.yaml | ||
!build/scripts | ||
!cmd | ||
!examples | ||
!go.* | ||
!integration | ||
!LICENSE | ||
!Makefile* | ||
!pkg | ||
!tools.go | ||
.editorconfig | ||
.dockerignore | ||
.github | ||
.gitignore | ||
*.md | ||
*.toml | ||
docs | ||
eksctl | ||
examples | ||
logo | ||
userdocs | ||
CNAME | ||
DCO | ||
LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
ARG BUILD_IMAGE=public.ecr.aws/eksctl/eksctl-build:833f4464e865a6398788bf6cbc5447967b8974b7 | ||
FROM $BUILD_IMAGE as build | ||
# syntax=docker/dockerfile:1 | ||
FROM public.ecr.aws/docker/library/golang:1.22.10 AS builder | ||
|
||
WORKDIR /src | ||
COPY . . | ||
|
||
COPY . /src | ||
RUN --mount=type=cache,target=/go/pkg/mod <<EOT | ||
go mod download | ||
EOT | ||
|
||
RUN make test | ||
RUN make build \ | ||
&& cp ./eksctl /out/usr/local/bin/eksctl | ||
RUN make build-integration-test \ | ||
&& mkdir -p /out/usr/local/share/eksctl \ | ||
&& cp -r integration/data/*.yaml integration/scripts /out/usr/local/share/eksctl \ | ||
&& cp ./eksctl-integration-test /out/usr/local/bin/eksctl-integration-test | ||
RUN <<EOT | ||
make build | ||
chown 65532 eksctl | ||
EOT | ||
|
||
FROM scratch | ||
COPY --from=build /out / | ||
ENTRYPOINT ["eksctl"] | ||
FROM public.ecr.aws/eks-distro/kubernetes/go-runner:v0.16.4-eks-1-31-11 AS go-runner | ||
COPY --from=builder /src/eksctl /eksctl | ||
ENTRYPOINT ["/eksctl"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.