Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save aaron-prindle/5b7f7e2a5168412baa76c832a6e0cd9d to your computer and use it in GitHub Desktop.

Select an option

Save aaron-prindle/5b7f7e2a5168412baa76c832a6e0cd9d to your computer and use it in GitHub Desktop.
Listing files to watch...
- test-image
- base
- sample-app-backend-dev
- sample-app-frontend-dev
Generating tags...
- test-image -> gcr.io/aprindle-billing-test/test-image:v0.0.1-alpha.1-51-g2859606-dirty
- base -> gcr.io/aprindle-billing-test/base:v0.0.1-alpha.1-51-g2859606
- sample-app-backend-dev -> gcr.io/aprindle-billing-test/sample-app-backend-dev:v0.0.1-alpha.1-51-g2859606-dirty
- sample-app-frontend-dev -> gcr.io/aprindle-billing-test/sample-app-frontend-dev:v0.0.1-alpha.1-51-g2859606-dirty
Checking cache...
- test-image: Not found. Building
- base: Found Locally
- sample-app-backend-dev: Not found. Building
- sample-app-frontend-dev: Found Locally
Starting build...
Found [minikube] context, using local docker daemon.
Found [minikube] context, using local docker daemon.
Building [sample-app-backend-dev]...
Sending build context to Docker daemon 524.8kB
Sending build context to Docker daemon 5.894MB
Sending build context to Docker daemon 9.294MB
Step 1/6 : ARG BASE
Step 2/6 : ARG SKAFFOLD_GO_GCFLAGS
Step 3/6 : FROM $BASE
---> 1d0366157c9f
Step 4/6 : COPY vendor/ ./vendor/
---> Using cache
---> 55d85037a629
Step 5/6 : COPY *.go go.* ./
---> Using cache
---> aa014fce2eea
Step 6/6 : RUN go build -o app
---> Running in 3ea067e0515b
---> 0e6825fd4ae9
Successfully built 0e6825fd4ae9
Successfully tagged gcr.io/aprindle-billing-test/sample-app-backend-dev:v0.0.1-alpha.1-51-g2859606-dirty
Building [test-image]...
Sending build context to Docker daemon 557.1kB
Sending build context to Docker daemon 8.275MB
Sending build context to Docker daemon 16.26MB
Sending build context to Docker daemon 24.34MB
Sending build context to Docker daemon 26.6MB
Step 1/5 : FROM gcr.io/google.com/cloudsdktool/cloud-sdk:latest
---> 4e45416710da
Step 2/5 : RUN apt-get update && apt-get install -y wget jq
---> Using cache
---> fb770d97c608
Step 3/5 : RUN wget https://github.com/open-policy-agent/conftest/releases/download/v0.23.0/conftest_0.23.0_Linux_x86_64.tar.gz && tar xzf conftest_0.23.0_Linux_x86_64.tar.gz && mv conftest /usr/local/bin
---> Using cache
---> b98322c12460
Step 4/5 : RUN wget https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv4.1.0/kustomize_v4.1.0_linux_amd64.tar.gz && tar xzf kustomize_v4.1.0_linux_amd64.tar.gz && mv kustomize /usr/local/bin
---> Using cache
---> 338dec3a79a8
Step 5/5 : COPY . .
---> 3f7c6d91c924
Successfully built 3f7c6d91c924
Successfully tagged gcr.io/aprindle-billing-test/test-image:v0.0.1-alpha.1-51-g2859606-dirty
Starting test...
Testing images...
Running custom test command: "docker run $IMAGE ./hack/validate.sh"
Unable to find image 'gcr.io/aprindle-billing-test/test-image:3f7c6d91c924ba7d80729de13732ccb3bc4e8d5fc01d5faf1994c260f550932d' locally
docker: Error response from daemon: manifest for gcr.io/aprindle-billing-test/test-image:3f7c6d91c924ba7d80729de13732ccb3bc4e8d5fc01d5faf1994c260f550932d not found: manifest unknown: Failed to fetch "3f7c6d91c924ba7d80729de13732ccb3bc4e8d5fc01d5faf1994c260f550932d" from request "/v2/aprindle-billing-test/test-image/manifests/3f7c6d91c924ba7d80729de13732ccb3bc4e8d5fc01d5faf1994c260f550932d".
See 'docker run --help'.
Command finished with non-0 exit code.
exiting dev mode because test failed after first build: running tests: command docker run $IMAGE ./hack/validate.sh finished with non-0 exit code: exit status 125. Check the custom command contents: "docker run $IMAGE ./hack/validate.sh".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment