-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move cloudbuild.yaml to repo root #8505
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rifelpet The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/retest |
/retest Hopefully fixed by #8506? |
I think you might need to rebase to pick up the netlify fix? |
This file is used by the push-to-staging postsubmit job that builds images and pushes them to a staging repo. When it was originally added, my theory for why the job was failing [0] is that we were only uploading the ci/postsubmit/push-to-staging directory to GCS for use in cloudbuild, when in reality we need to push the entire kops repo so it can run `make kops-controller-push`. A while back I had updated the job to use the repo root but hadnt created the cloudbuild.yaml file there yet, so instead we've been getting a cloudbuild.yaml not found error [1]. This moves the cloudbuild.yaml into the repo root so that the current job configuration will recognize it and hopefully be able to run `make kops-controller-push` in GCB. [0] https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kops-postsubmit-push-to-staging/1209130004504383489 [1] https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kops-postsubmit-push-to-staging/1213230826582446081
done :) |
/lgtm |
@justinsb the postsubmit job now takes 3 minutes but still fails without any output: I'm guessing GCB is outputting an error but it is not making its way back into the prow job. Any chance you can take a look at the GCB error? |
ah nevermind it turns out the logs are public.
|
This file is used by the push-to-staging postsubmit job that builds images and pushes them to a staging repo.
When it was originally added, my theory for why the job was failing is that we were only uploading the ci/postsubmit/push-to-staging directory to GCS for use in cloudbuild, when in reality we need to upload the entire kops repo so it can run
make kops-controller-push
.A while back I had updated the job to use the repo root but hadn't created the cloudbuild.yaml file there yet, so instead we've been getting a cloudbuild.yaml not found error.
This PR moves the cloudbuild.yaml into the repo root so that the current job configuration will recognize it and hopefully be able to run
make kops-controller-push
in GCB.