Closed
Description
Expected behavior
Clear error message from status check about image access instead of user cancelled
Actual behavior
Received STATUSCHECK_USER_CANCELLED
Information
# To learn more about the skaffold.yaml schema visit
# https://skaffold.dev/docs/references/yaml/
apiVersion: skaffold/v2beta4
kind: Config
build:
tagPolicy:
sha256: {}
# defines where to find the code at build time and where to push the resulting image
artifacts:
- image: nodejs-guestbook-backend
context: src/backend
- image: nodejs-guestbook-frontend
context: src/frontend
# defines the Kubernetes manifests to deploy on each run
deploy:
kubectl:
manifests:
- ./kubernetes-manifests/*.service.yaml
- ./kubernetes-manifests/*.deployment.yaml
profiles:
# use the cloudbuild profile to build images using Google Cloud Build
- name: cloudbuild
build:
googleCloudBuild: {}
- name: buildpacks
build:
artifacts:
- image: nodejs-guestbook-backend
context: src/backend
buildpack:
builder: "gcr.io/buildpacks/builder:v1"
- image: nodejs-guestbook-frontend
context: src/frontend
buildpack:
builder: "gcr.io/buildpacks/builder:v1"
Launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Run on Kubernetes",
"type": "cloudcode.kubernetes",
"request": "launch",
"skaffoldConfig": "${workspaceFolder}/skaffold.yaml",
"watch": true,
"cleanUp": true,
"portForward": true,
"imageRegistry": "gcr.io/glouischandra-test",
"debug": [
{
"image": "nodejs-guestbook-frontend",
"sourceFileMap": {
"${workspaceFolder}/src/frontend": "/frontend"
}
},
{
"image": "nodejs-guestbook-backend",
"sourceFileMap": {
"${workspaceFolder}/src/backend": "/backend"
}
}
]
}
]
}
Steps to reproduce the behavior
I am using Cloud Code AutoGKE run/debug functionality and deploying the sample guestbook nodejs application.
Created auto-gke clusters and deploying there yields this error:
I can see the warning of image can't be pulled but the final error code seems confusing as it says user_cancelled.