Skip to content

Instantly share code, notes, and snippets.

@aaron-prindle
Last active January 9, 2023 18:26
Show Gist options
  • Save aaron-prindle/ccc9190ca2dcf9f7bc67f2e22a1c4372 to your computer and use it in GitHub Desktop.
Save aaron-prindle/ccc9190ca2dcf9f7bc67f2e22a1c4372 to your computer and use it in GitHub Desktop.
aprindle@aprindle-ssd ~/skaffold/examples/helm-deployment [(HEAD detached at v2.0.4)]$ skaffold dev --default-repo=gcr.io/aprindle-test-cluster
Listing files to watch...
- skaffold-helm
- skaffold-helm-2
Generating tags...
- skaffold-helm -> gcr.io/aprindle-test-cluster/skaffold-helm:v2.0.4-dirty
- skaffold-helm-2 -> gcr.io/aprindle-test-cluster/skaffold-helm-2:v2.0.4-dirty
Checking cache...
- skaffold-helm: Found Remotely
- skaffold-helm-2: Not found. Building
Starting build...
Building [skaffold-helm-2]...
Target platforms: [linux/amd64]
#1 [internal] load build definition from Dockerfile
#1 sha256:ba3e63e062f4c2ecaf7f9f24950fa4afa8a32f7a1a608e1d3417b32754f1a867
#1 transferring dockerfile: 521B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:10bfc9b327a5dac5a0038d5794d1f5f0118331f2a6cd8c77cdf0df9942463950
#2 transferring context: 2B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/alpine:3.10
#3 sha256:ac8c9d4b8fc421ddf809bac2b79af6ebec0aa591815b5d2abf229ccdfba18d01
#3 DONE 0.0s
#4 [internal] load metadata for docker.io/library/golang:1.18
#4 sha256:f4e19f57653cc0a228a51c5d1fec5bdbe88100edb970ccdd95e88e0dfac945b1
#4 DONE 0.0s
#5 [stage-1 1/2] FROM docker.io/library/alpine:3.10
#5 sha256:8bd0cf470e7c45de50c2497941e1361904b6a53670796fb87e087a90d964f48f
#5 DONE 0.0s
#6 [builder 1/5] FROM docker.io/library/golang:1.18
#6 sha256:7a2f779f43b458c4b4ddb1439a8ea533701bca8c585d19174dd8781b5c893a1e
#6 DONE 0.0s
#8 [internal] load build context
#8 sha256:8ea55edbde1b105884fccdeae389e0a7e7be9c94c1edc6bb84f0798322537759
#8 transferring context: 329B done
#8 DONE 0.0s
#11 [builder 5/5] RUN go build -gcflags="${SKAFFOLD_GO_GCFLAGS}" -trimpath -o /app main.go
#11 sha256:fd10dc961b571024d5e494130c92e73e8bacb00c960dfadf255d6f960afb6eb2
#11 CACHED
#7 [builder 2/5] WORKDIR /code
#7 sha256:751215b3cec6d26c124060484c73214b262948ebeb84b36ab77da4992066f13c
#7 CACHED
#9 [builder 3/5] COPY main.go .
#9 sha256:87cce210451f3cef89d4ae502fe67a6836e24c48b8644efc2a31c5f938be5948
#9 CACHED
#10 [builder 4/5] COPY go.mod .
#10 sha256:66bf62a20bcf00eddc7d95efa5f241de844d3446e82a0f3281cafbdcf5353339
#10 CACHED
#12 [stage-1 2/2] COPY --from=builder /app .
#12 sha256:0b40fea4cf21517721eda3ddd9ff17b81691c9a4856ac02987d1a6d309dbfa55
#12 CACHED
#13 exporting to image
#13 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#13 exporting layers done
#13 writing image sha256:32934a20495ea62a41bd73c9687e10fae23ddbbe1fe4c32933670cfda229ccaa done
#13 naming to gcr.io/aprindle-test-cluster/skaffold-helm-2:v2.0.4-dirty done
#13 DONE 0.0s
The push refers to repository [gcr.io/aprindle-test-cluster/skaffold-helm-2]
299c25fd09e6: Preparing
9fb3aa2f8b80: Preparing
299c25fd09e6: Layer already exists
9fb3aa2f8b80: Layer already exists
v2.0.4-dirty: digest: sha256:2b436e660b7e634653c0b492a40d87c14263460ccf61526ded9cbe36f2090ce1 size: 739
Build [skaffold-helm-2] succeeded
Tags used in deployment:
- skaffold-helm -> gcr.io/aprindle-test-cluster/skaffold-helm:v2.0.4-dirty@sha256:2b436e660b7e634653c0b492a40d87c14263460ccf61526ded9cbe36f2090ce1
- skaffold-helm-2 -> gcr.io/aprindle-test-cluster/skaffold-helm-2:v2.0.4-dirty@sha256:2b436e660b7e634653c0b492a40d87c14263460ccf61526ded9cbe36f2090ce1
Starting deploy...
Helm release skaffold-helm not installed. Installing...
NAME: skaffold-helm
LAST DEPLOYED: Mon Jan 9 18:24:50 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
Waiting for deployments to stabilize...
Deployments stabilized in 142.070125ms
Press Ctrl+C to exit
Watching for changes...
[skaffold-helm] Hello world! 0
[skaffold-helm] Hello world! 0
[skaffold-helm] Hello world! 1
[skaffold-helm] Hello world! 1
[skaffold-helm] Hello world! 2
[skaffold-helm] Hello world! 2
[skaffold-helm] Hello world! 3
[skaffold-helm] Hello world! 3
[skaffold-helm] Hello world! 4
[skaffold-helm] Hello world! 4
[skaffold-helm] Hello world! 5
[skaffold-helm] Hello world! 5
[skaffold-helm] Hello world! 6
[skaffold-helm] Hello world! 6
[skaffold-helm] Hello world! 7
[skaffold-helm] Hello world! 7
^CCleaning up...
release "skaffold-helm" uninstalled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment