Skip to content

Conversation

@hakman
Copy link
Member

@hakman hakman commented Dec 5, 2021

What type of PR is this?
/kind feature

What this PR does / why we need it:
Adds support for ARM64 builds.

Which issue(s) this PR fixes:
Fixes #219

Special notes for your reviewer:
Tested using kOps in kubernetes/kops#12895:
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kops/12895/pull-kops-e2e-arm64/1467542201067114496

Does this PR introduce a user-facing change?:

Adds support for ARM64

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 5, 2021
@hakman
Copy link
Member Author

hakman commented Dec 5, 2021

Sample build log using gcloud builds submit --config=cloudbuild.yaml .:

starting build "6208247d-69b0-4e6a-bc92-ae6be7a77f79"

FETCHSOURCE
Fetching storage object: gs://test-1-274907_cloudbuild/source/1638709888.975662-511e8f9891c045dca64f92d992d4a4d1.tgz#1638709897574146
Copying gs://test-1-274907_cloudbuild/source/1638709888.975662-511e8f9891c045dca64f92d992d4a4d1.tgz#1638709897574146...
/ [0 files][    0.0 B/ 14.3 MiB]                                                
/ [1 files][ 14.3 MiB/ 14.3 MiB]                                                
Operation completed over 1 objects/14.3 MiB.                                     
BUILD
Pulling image: gcr.io/k8s-testimages/gcb-docker-gcloud
Using default tag: latest
latest: Pulling from k8s-testimages/gcb-docker-gcloud
ca3cd42a7c95: Pulling fs layer
dbcca316e5c3: Pulling fs layer
b65b403d39c8: Pulling fs layer
0d70e27e35eb: Pulling fs layer
a8bdf7aa1b33: Pulling fs layer
eadebb725def: Pulling fs layer
d92d6f496d4f: Pulling fs layer
f0da15cf6519: Pulling fs layer
6f76853d0ac9: Pulling fs layer
8628247b7962: Pulling fs layer
eadebb725def: Waiting
1ec39da9c97d: Pulling fs layer
7045fbe28d35: Pulling fs layer
d92d6f496d4f: Waiting
ac352c3d689e: Pulling fs layer
d081af7ac9bc: Pulling fs layer
f0da15cf6519: Waiting
6f76853d0ac9: Waiting
1ec39da9c97d: Waiting
7045fbe28d35: Waiting
ac352c3d689e: Waiting
d081af7ac9bc: Waiting
0d70e27e35eb: Waiting
8628247b7962: Waiting
a8bdf7aa1b33: Waiting
b65b403d39c8: Verifying Checksum
b65b403d39c8: Download complete
dbcca316e5c3: Verifying Checksum
dbcca316e5c3: Download complete
ca3cd42a7c95: Verifying Checksum
ca3cd42a7c95: Download complete
a8bdf7aa1b33: Verifying Checksum
a8bdf7aa1b33: Download complete
eadebb725def: Download complete
ca3cd42a7c95: Pull complete
dbcca316e5c3: Pull complete
f0da15cf6519: Verifying Checksum
f0da15cf6519: Download complete
b65b403d39c8: Pull complete
0d70e27e35eb: Verifying Checksum
0d70e27e35eb: Download complete
8628247b7962: Verifying Checksum
8628247b7962: Download complete
1ec39da9c97d: Verifying Checksum
1ec39da9c97d: Download complete
6f76853d0ac9: Download complete
7045fbe28d35: Download complete
ac352c3d689e: Download complete
d081af7ac9bc: Download complete
d92d6f496d4f: Verifying Checksum
d92d6f496d4f: Download complete
0d70e27e35eb: Pull complete
a8bdf7aa1b33: Pull complete
eadebb725def: Pull complete
d92d6f496d4f: Pull complete
f0da15cf6519: Pull complete
6f76853d0ac9: Pull complete
8628247b7962: Pull complete
1ec39da9c97d: Pull complete
7045fbe28d35: Pull complete
ac352c3d689e: Pull complete
d081af7ac9bc: Pull complete
Digest: sha256:6c7ce6103373178244a67aba361571fae29ec2d1e8b67901d305538cbba8e506
Status: Downloaded newer image for gcr.io/k8s-testimages/gcb-docker-gcloud:latest
gcr.io/k8s-testimages/gcb-docker-gcloud:latest
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
sweet_perlman
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 1.8s done
#1 creating container buildx_buildkit_sweet_perlman0
#1 creating container buildx_buildkit_sweet_perlman0 1.7s done
#1 DONE 3.5s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 2.74kB done
#2 DONE 0.0s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [linux/arm64 internal] load metadata for gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25
#4 DONE 0.4s

#5 [linux/amd64 internal] load metadata for docker.io/library/golang:1.17.4
#5 DONE 0.7s

#6 [linux/amd64 internal] load metadata for gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25
#6 DONE 0.1s

#7 [linux/amd64 stage-1 1/2] FROM gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25
#7 resolve gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25 0.0s done
#7 ...

#10 [internal] load build context
#10 transferring context: 657.17kB 0.0s done
#10 DONE 0.1s

#8 [linux/amd64 builder 1/6] FROM docker.io/library/golang:1.17.4@sha256:a83ce262aae35c84eae5df3e4298e62ac224672280b8cb6254134745c62595c9
#8 resolve docker.io/library/golang:1.17.4@sha256:a83ce262aae35c84eae5df3e4298e62ac224672280b8cb6254134745c62595c9 0.0s done
#8 DONE 0.2s

#7 [linux/amd64 stage-1 1/2] FROM gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25
#7 sha256:e8614d09b7bebabd9d8a450f44e88a8807c98a438a2ddd63146865286b132d1b 803.81kB / 803.81kB 0.1s done
#7 extracting sha256:e8614d09b7bebabd9d8a450f44e88a8807c98a438a2ddd63146865286b132d1b
#7 extracting sha256:e8614d09b7bebabd9d8a450f44e88a8807c98a438a2ddd63146865286b132d1b 0.3s done
#7 DONE 0.4s

#16 [linux/arm64 stage-1 1/2] FROM gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25
#16 resolve gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25 0.0s done
#16 sha256:859e03b7461b2a512159493ef1504d2859ed37c05ed1ef781ff98394ea4799b5 803.81kB / 803.81kB 0.2s done
#16 extracting sha256:859e03b7461b2a512159493ef1504d2859ed37c05ed1ef781ff98394ea4799b5
#16 extracting sha256:859e03b7461b2a512159493ef1504d2859ed37c05ed1ef781ff98394ea4799b5 0.3s done
#16 DONE 0.4s

#8 [linux/amd64 builder 1/6] FROM docker.io/library/golang:1.17.4@sha256:a83ce262aae35c84eae5df3e4298e62ac224672280b8cb6254134745c62595c9
#8 sha256:0979aabbe4a4fe70ff426dccb723c59a012e1bbae6cc852eb8222240f0cd70c7 157B / 157B 0.1s done
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 25.17MB / 134.81MB 0.3s
#8 sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 7.90MB / 85.77MB 0.3s
#8 sha256:0598fa43a7e793a76c198e8d45d8810394e1cfc943b2673d7fcf5a6fdc4f45b3 18.87MB / 54.57MB 0.3s
#8 sha256:e8b8f2315954535f1e27cd13d777e73da4a787b0aebf4241d225beff3c91cbb1 6.29MB / 10.87MB 0.3s
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 50.33MB / 134.81MB 0.5s
#8 sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 16.78MB / 85.77MB 0.5s
#8 sha256:0598fa43a7e793a76c198e8d45d8810394e1cfc943b2673d7fcf5a6fdc4f45b3 46.14MB / 54.57MB 0.5s
#8 sha256:e8b8f2315954535f1e27cd13d777e73da4a787b0aebf4241d225beff3c91cbb1 10.87MB / 10.87MB 0.4s done
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 67.76MB / 134.81MB 0.6s
#8 sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 31.46MB / 85.77MB 0.6s
#8 sha256:0598fa43a7e793a76c198e8d45d8810394e1cfc943b2673d7fcf5a6fdc4f45b3 54.57MB / 54.57MB 0.6s done
#8 sha256:a84cfd68b5cea612a8343c346bfa5bd6c486769010d12f7ec86b23c74887feb2 5.15MB / 5.15MB 0.2s done
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 82.84MB / 134.81MB 0.8s
#8 sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 59.77MB / 85.77MB 0.8s
#8 sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b 5.24MB / 54.93MB 0.2s
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 93.32MB / 134.81MB 0.9s
#8 sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 85.77MB / 85.77MB 0.9s
#8 sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b 22.02MB / 54.93MB 0.3s
#8 sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 85.77MB / 85.77MB 1.2s done
#8 sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b 31.46MB / 54.93MB 0.5s
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 106.95MB / 134.81MB 1.2s
#8 sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b 54.93MB / 54.93MB 0.6s
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 134.36MB / 134.81MB 1.4s
#8 sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b 54.93MB / 54.93MB 0.7s done
#8 extracting sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b
#8 sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 134.81MB / 134.81MB 1.9s done
#8 extracting sha256:5e0b432e8ba9d9029a000e627840b98ffc1ed0c5172075b7d3e869be0df0fe9b 2.1s done
#8 extracting sha256:a84cfd68b5cea612a8343c346bfa5bd6c486769010d12f7ec86b23c74887feb2
#8 extracting sha256:a84cfd68b5cea612a8343c346bfa5bd6c486769010d12f7ec86b23c74887feb2 0.2s done
#8 extracting sha256:e8b8f2315954535f1e27cd13d777e73da4a787b0aebf4241d225beff3c91cbb1
#8 extracting sha256:e8b8f2315954535f1e27cd13d777e73da4a787b0aebf4241d225beff3c91cbb1 0.2s done
#8 extracting sha256:0598fa43a7e793a76c198e8d45d8810394e1cfc943b2673d7fcf5a6fdc4f45b3
#8 extracting sha256:0598fa43a7e793a76c198e8d45d8810394e1cfc943b2673d7fcf5a6fdc4f45b3 1.8s done
#8 extracting sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760
#8 extracting sha256:ae9442ff4ff8634f5d742369e4ad1d6fea20a21a71807d249f6b28954a515760 2.0s done
#8 extracting sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45
#8 extracting sha256:eddb789cbb234122e9f4d334f93ce8edf40e127daa64baa7329d6facb7724b45 4.7s done
#8 extracting sha256:0979aabbe4a4fe70ff426dccb723c59a012e1bbae6cc852eb8222240f0cd70c7
#8 extracting sha256:0979aabbe4a4fe70ff426dccb723c59a012e1bbae6cc852eb8222240f0cd70c7 0.4s done
#8 DONE 12.9s

#9 [linux/amd64 builder 2/6] WORKDIR /build
#9 DONE 1.6s

#11 [linux/amd64 builder 3/6] COPY go.mod go.sum ./
#11 DONE 0.0s

#12 [linux/amd64 builder 4/6] COPY cmd/ cmd/
#12 DONE 0.0s

#13 [linux/amd64 builder 5/6] COPY pkg/ pkg/
#13 DONE 0.0s

#14 [linux/amd64 builder 6/6] RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOPROXY=https://goproxy.io,direct     go build     -trimpath 		-ldflags="-w -s -X 'main.version=12345'" 		-o=aws-cloud-controller-manager 		cmd/aws-cloud-controller-manager/main.go
#14 4.288 go: downloading k8s.io/component-base v0.22.1
#14 4.288 go: downloading k8s.io/cloud-provider v0.22.1
#14 4.288 go: downloading k8s.io/apimachinery v0.22.1
#14 4.881 go: downloading k8s.io/klog/v2 v2.9.0
#14 4.885 go: downloading github.com/aws/aws-sdk-go v1.38.49
#14 4.966 go: downloading k8s.io/api v0.22.1
#14 5.077 go: downloading sigs.k8s.io/yaml v1.2.0
#14 7.995 go: downloading gopkg.in/gcfg.v1 v1.2.0
#14 7.996 go: downloading k8s.io/client-go v0.22.1
#14 8.614 go: downloading k8s.io/csi-translation-lib v0.22.1
#14 8.614 go: downloading k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9
#14 8.616 go: downloading github.com/spf13/cobra v1.1.3
#14 8.618 go: downloading k8s.io/apiserver v0.22.1
#14 8.620 go: downloading k8s.io/controller-manager v0.22.1
#14 8.786 go: downloading github.com/spf13/pflag v1.0.5
#14 8.799 go: downloading github.com/go-logr/logr v0.4.0
#14 8.809 go: downloading gopkg.in/yaml.v2 v2.4.0
#14 8.811 go: downloading github.com/gogo/protobuf v1.3.2
#14 8.884 go: downloading gopkg.in/inf.v0 v0.9.1
#14 8.887 go: downloading github.com/google/gofuzz v1.1.0
#14 8.940 go: downloading gopkg.in/warnings.v0 v0.1.1
#14 8.993 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
#14 9.034 go: downloading github.com/prometheus/client_golang v1.11.0
#14 9.079 go: downloading github.com/blang/semver v3.5.1+incompatible
#14 9.079 go: downloading github.com/prometheus/client_model v0.2.0
#14 9.080 go: downloading github.com/prometheus/procfs v0.6.0
#14 9.086 go: downloading github.com/google/uuid v1.1.2
#14 9.127 go: downloading github.com/moby/term v0.0.0-20210610120745-9d4ed1856297
#14 9.136 go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
#14 9.149 go: downloading golang.org/x/net v0.0.0-20210520170846-37e1c6afe023
#14 9.153 go: downloading github.com/imdario/mergo v0.3.5
#14 9.160 go: downloading golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
#14 9.185 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.1.2
#14 9.197 go: downloading github.com/jmespath/go-jmespath v0.4.0
#14 9.212 go: downloading github.com/google/go-cmp v0.5.5
#14 9.236 go: downloading github.com/golang/protobuf v1.5.2
#14 9.245 go: downloading github.com/googleapis/gnostic v0.5.5
#14 9.313 go: downloading k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e
#14 9.331 go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
#14 9.343 go: downloading github.com/coreos/go-systemd/v22 v22.3.2
#14 9.407 go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
#14 9.414 go: downloading github.com/evanphx/json-patch v4.11.0+incompatible
#14 9.416 go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
#14 9.451 go: downloading go.opentelemetry.io/otel/trace v0.20.0
#14 9.532 go: downloading go.opentelemetry.io/otel v0.20.0
#14 9.577 go: downloading go.opentelemetry.io/otel/exporters/otlp v0.20.0
#14 9.598 go: downloading go.opentelemetry.io/otel/sdk v0.20.0
#14 9.598 go: downloading golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
#14 9.598 go: downloading google.golang.org/grpc v1.38.0
#14 9.599 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
#14 9.695 go: downloading github.com/davecgh/go-spew v1.1.1
#14 9.699 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0
#14 9.701 go: downloading github.com/prometheus/common v0.26.0
#14 9.709 go: downloading github.com/beorn7/perks v1.0.1
#14 9.709 go: downloading github.com/cespare/xxhash/v2 v2.1.1
#14 9.762 go: downloading github.com/cespare/xxhash v1.1.0
#14 9.766 go: downloading github.com/json-iterator/go v1.1.11
#14 9.766 go: downloading github.com/modern-go/reflect2 v1.0.1
#14 9.834 go: downloading go.opentelemetry.io/contrib v0.20.0
#14 9.840 go: downloading google.golang.org/protobuf v1.26.0
#14 ...

#17 [linux/amd64 builder 6/6] RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GOPROXY=https://goproxy.io,direct     go build     -trimpath 		-ldflags="-w -s -X 'main.version=12345'" 		-o=aws-cloud-controller-manager 		cmd/aws-cloud-controller-manager/main.go
#17 4.124 go: downloading k8s.io/component-base v0.22.1
#17 4.124 go: downloading k8s.io/cloud-provider v0.22.1
#17 4.124 go: downloading k8s.io/apimachinery v0.22.1
#17 5.038 go: downloading k8s.io/klog/v2 v2.9.0
#17 5.041 go: downloading github.com/aws/aws-sdk-go v1.38.49
#17 5.148 go: downloading k8s.io/api v0.22.1
#17 5.276 go: downloading sigs.k8s.io/yaml v1.2.0
#17 8.494 go: downloading gopkg.in/gcfg.v1 v1.2.0
#17 8.495 go: downloading k8s.io/client-go v0.22.1
#17 9.060 go: downloading k8s.io/csi-translation-lib v0.22.1
#17 9.061 go: downloading k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9
#17 9.064 go: downloading k8s.io/apiserver v0.22.1
#17 9.065 go: downloading github.com/spf13/cobra v1.1.3
#17 9.069 go: downloading k8s.io/controller-manager v0.22.1
#17 9.260 go: downloading github.com/spf13/pflag v1.0.5
#17 9.267 go: downloading github.com/go-logr/logr v0.4.0
#17 9.276 go: downloading gopkg.in/yaml.v2 v2.4.0
#17 9.278 go: downloading github.com/gogo/protobuf v1.3.2
#17 9.369 go: downloading gopkg.in/inf.v0 v0.9.1
#17 9.383 go: downloading github.com/google/gofuzz v1.1.0
#17 9.474 go: downloading gopkg.in/warnings.v0 v0.1.1
#17 9.590 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
#17 9.610 go: downloading github.com/prometheus/client_golang v1.11.0
#17 9.620 go: downloading github.com/blang/semver v3.5.1+incompatible
#17 9.625 go: downloading github.com/prometheus/client_model v0.2.0
#17 9.643 go: downloading github.com/prometheus/procfs v0.6.0
#17 9.672 go: downloading github.com/google/uuid v1.1.2
#17 9.703 go: downloading golang.org/x/net v0.0.0-20210520170846-37e1c6afe023
#17 9.728 go: downloading github.com/moby/term v0.0.0-20210610120745-9d4ed1856297
#17 9.749 go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
#17 9.766 go: downloading github.com/imdario/mergo v0.3.5
#17 9.845 go: downloading golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
#17 9.874 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.1.2
#17 9.876 go: downloading github.com/jmespath/go-jmespath v0.4.0
#17 9.898 go: downloading github.com/google/go-cmp v0.5.5
#17 9.902 go: downloading k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e
#17 9.916 go: downloading github.com/coreos/go-systemd/v22 v22.3.2
#17 9.917 go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
#17 9.954 go: downloading github.com/evanphx/json-patch v4.11.0+incompatible
#17 9.963 go: downloading go.opentelemetry.io/otel/trace v0.20.0
#17 9.982 go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
#17 10.02 go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
#17 ...

#14 [linux/amd64 builder 6/6] RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOPROXY=https://goproxy.io,direct     go build     -trimpath 		-ldflags="-w -s -X 'main.version=12345'" 		-o=aws-cloud-controller-manager 		cmd/aws-cloud-controller-manager/main.go
#14 10.11 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
#14 10.11 go: downloading sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22
#14 10.12 go: downloading github.com/pkg/errors v0.9.1
#14 10.12 go: downloading github.com/NYTimes/gziphandler v1.1.1
#14 10.12 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
#14 10.12 go: downloading github.com/go-openapi/jsonreference v0.19.5
#14 10.12 go: downloading github.com/go-openapi/swag v0.19.14
#14 10.12 go: downloading go.opentelemetry.io/otel/sdk/export/metric v0.20.0
#14 10.16 go: downloading go.opentelemetry.io/proto/otlp v0.7.0
#14 10.24 go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
#14 10.24 go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.0
#14 10.27 go: downloading go.etcd.io/etcd/client/v3 v3.5.0
#14 10.28 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0
#14 10.29 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
#14 10.31 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
#14 10.31 go: downloading github.com/felixge/httpsnoop v1.0.1
#14 10.31 go: downloading go.opentelemetry.io/otel/metric v0.20.0
#14 10.34 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
#14 10.34 go: downloading golang.org/x/text v0.3.6
#14 10.38 go: downloading go.opentelemetry.io/otel/sdk/metric v0.20.0
#14 10.40 go: downloading github.com/PuerkitoBio/purell v1.1.1
#14 10.43 go: downloading github.com/go-openapi/jsonpointer v0.19.5
#14 10.48 go: downloading golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
#14 10.48 go: downloading go.etcd.io/etcd/api/v3 v3.5.0
#14 10.53 go: downloading github.com/mailru/easyjson v0.7.6
#14 10.58 go: downloading google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
#14 10.66 go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
#14 10.81 go: downloading go.uber.org/zap v1.17.0
#14 10.87 go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
#14 10.97 go: downloading github.com/josharian/intern v1.0.0
#14 10.97 go: downloading github.com/coreos/go-semver v0.3.0
#14 11.37 go: downloading go.uber.org/atomic v1.7.0
#14 11.37 go: downloading go.uber.org/multierr v1.6.0
#14 ...

#17 [linux/amd64 builder 6/6] RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GOPROXY=https://goproxy.io,direct     go build     -trimpath 		-ldflags="-w -s -X 'main.version=12345'" 		-o=aws-cloud-controller-manager 		cmd/aws-cloud-controller-manager/main.go
#17 10.24 go: downloading go.opentelemetry.io/otel v0.20.0
#17 10.26 go: downloading go.opentelemetry.io/otel/exporters/otlp v0.20.0
#17 10.26 go: downloading golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
#17 10.26 go: downloading google.golang.org/grpc v1.38.0
#17 10.26 go: downloading go.opentelemetry.io/otel/sdk v0.20.0
#17 10.28 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
#17 10.38 go: downloading github.com/golang/protobuf v1.5.2
#17 10.38 go: downloading github.com/googleapis/gnostic v0.5.5
#17 10.46 go: downloading github.com/davecgh/go-spew v1.1.1
#17 10.46 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0
#17 10.53 go: downloading github.com/prometheus/common v0.26.0
#17 10.53 go: downloading github.com/beorn7/perks v1.0.1
#17 10.57 go: downloading github.com/cespare/xxhash/v2 v2.1.1
#17 10.58 go: downloading github.com/json-iterator/go v1.1.11
#17 10.62 go: downloading sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22
#17 10.65 go: downloading github.com/cespare/xxhash v1.1.0
#17 10.65 go: downloading go.opentelemetry.io/contrib v0.20.0
#17 10.67 go: downloading github.com/pkg/errors v0.9.1
#17 10.72 go: downloading github.com/NYTimes/gziphandler v1.1.1
#17 10.72 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
#17 10.73 go: downloading github.com/go-openapi/jsonreference v0.19.5
#17 10.73 go: downloading github.com/go-openapi/swag v0.19.14
#17 10.74 go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
#17 10.75 go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.0
#17 10.82 go: downloading go.etcd.io/etcd/client/v3 v3.5.0
#17 10.83 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0
#17 10.89 go: downloading go.opentelemetry.io/otel/sdk/export/metric v0.20.0
#17 10.96 go: downloading go.opentelemetry.io/proto/otlp v0.7.0
#17 11.08 go: downloading google.golang.org/protobuf v1.26.0
#17 11.33 go: downloading github.com/modern-go/reflect2 v1.0.1
#17 11.33 go: downloading golang.org/x/text v0.3.6
#17 11.33 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
#17 11.33 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
#17 11.33 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
#17 11.34 go: downloading go.etcd.io/etcd/api/v3 v3.5.0
#17 11.38 go: downloading golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
#17 11.39 go: downloading github.com/felixge/httpsnoop v1.0.1
#17 11.55 go: downloading go.opentelemetry.io/otel/metric v0.20.0
#17 11.56 go: downloading google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
#17 11.70 go: downloading go.opentelemetry.io/otel/sdk/metric v0.20.0
#17 11.94 go: downloading github.com/PuerkitoBio/purell v1.1.1
#17 11.94 go: downloading github.com/go-openapi/jsonpointer v0.19.5
#17 11.99 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
#17 12.04 go: downloading github.com/mailru/easyjson v0.7.6
#17 12.05 go: downloading go.uber.org/zap v1.17.0
#17 12.24 go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
#17 12.42 go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
#17 12.43 go: downloading github.com/coreos/go-semver v0.3.0
#17 12.44 go: downloading github.com/josharian/intern v1.0.0
#17 12.44 go: downloading go.uber.org/atomic v1.7.0
#17 12.47 go: downloading go.uber.org/multierr v1.6.0
#17 DONE 115.1s

#14 [linux/amd64 builder 6/6] RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOPROXY=https://goproxy.io,direct     go build     -trimpath 		-ldflags="-w -s -X 'main.version=12345'" 		-o=aws-cloud-controller-manager 		cmd/aws-cloud-controller-manager/main.go
#14 DONE 115.1s

#15 [linux/amd64 stage-1 2/2] COPY --from=builder /build/aws-cloud-controller-manager /bin/aws-cloud-controller-manager
#15 DONE 0.5s

#18 [linux/arm64 stage-1 2/2] COPY --from=builder /build/aws-cloud-controller-manager /bin/aws-cloud-controller-manager
#18 DONE 0.5s

#19 exporting to image
#19 exporting layers
#19 exporting layers 3.2s done
#19 exporting manifest sha256:387df1833cdfd7c79b266cac2853d3255fe594f69207418ed1f4fcd4476e58ab 0.0s done
#19 exporting config sha256:037f0bf1f39c4e6d50ffc938a120bf6bdbc63245698de1976ab8aeff0960678f
#19 exporting config sha256:037f0bf1f39c4e6d50ffc938a120bf6bdbc63245698de1976ab8aeff0960678f 0.0s done
#19 exporting manifest sha256:213b094cfd9982134ef21c37a8b77c5deed45e7e07e2048868982b7eb83da76c 0.0s done
#19 exporting config sha256:b62fae12b5ce1caebe62428173556b7ba0d1a9ddbd336cea2eb82a9e9abcd89a done
#19 exporting manifest list sha256:97d9444a289f0b2b0061eb412678dec562b8e146be9a37b9ce3f6e4828617be7 0.0s done
#19 pushing layers
#19 ...

#20 [auth] test-1-274907/cloud-controller-manager:pull,push token for gcr.io
#20 DONE 0.0s

#21 [auth] test-1-274907/cloud-controller-manager:pull,push token for gcr.io
#21 DONE 0.0s

#19 exporting to image
#19 pushing layers 1.0s done
#19 pushing manifest for gcr.io/test-1-274907/cloud-controller-manager:12345@sha256:97d9444a289f0b2b0061eb412678dec562b8e146be9a37b9ce3f6e4828617be7
#19 pushing manifest for gcr.io/test-1-274907/cloud-controller-manager:12345@sha256:97d9444a289f0b2b0061eb412678dec562b8e146be9a37b9ce3f6e4828617be7 0.7s done
#19 pushing layers 0.1s done
#19 pushing manifest for gcr.io/test-1-274907/cloud-controller-manager:latest@sha256:97d9444a289f0b2b0061eb412678dec562b8e146be9a37b9ce3f6e4828617be7
#19 pushing manifest for gcr.io/test-1-274907/cloud-controller-manager:latest@sha256:97d9444a289f0b2b0061eb412678dec562b8e146be9a37b9ce3f6e4828617be7 0.3s done
#19 DONE 5.4s
PUSH
DONE

@hakman
Copy link
Member Author

hakman commented Dec 5, 2021

/cc @nckturner
/assign @nckturner

@nckturner
Copy link
Contributor

This is great, thanks.
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 7, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, nckturner

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 7, 2021
@k8s-ci-robot k8s-ci-robot merged commit 7a1bba4 into kubernetes:master Dec 7, 2021
@hakman hakman deleted the add_arm64 branch December 7, 2021 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cloud-controller-manager image should support arm64

3 participants