GoogleCloudPlatform / continuous-deployment-on-kubernetes

Get up and running with Jenkins on Google Kubernetes Engine
Apache License 2.0
1.6k stars 890 forks source link

Bug: Fix apiVersion for backend-dev.yaml #164

Closed BlackDark closed 4 years ago

BlackDark commented 4 years ago

Throws an error in jenkins while deploying. Happens in qwiklabs lab: google.qwiklabs.com/focuses/1104

java.io.IOException: Failed to launch command args: [kubectl, --kubeconfig, /home/jenkins/agent/workspace/sample-app_new-feature@tmp/.kube3020155600159179657config, apply, --namespace, new-feature, -f, /home/jenkins/agent/workspace/sample-app_new-feature/k8s/dev], status: 1. Logs: resourcequota/default created
deployment.apps/gceme-frontend-dev created
error: unable to recognize "/home/jenkins/agent/workspace/sample-app_new-feature/k8s/dev/backend-dev.yaml": no matches for kind "Deployment" in version "app/v1"
googlebot commented 4 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

BlackDark commented 4 years ago

@googlebot I signed it!

googlebot commented 4 years ago

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

viglesiasce commented 4 years ago

Thanks @BlackDark