Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Publish nightly knative/build releases to knative-nightly #479

Merged
merged 2 commits into from
Nov 28, 2018

Conversation

adrcunha
Copy link
Contributor

Part of knative/serving#2555.

Bonus: updates test-infra to include the latest fixes and features, while also updating the Gopkg files so the cleanup workaround in update-deps.sh is not necessary anymore.

Part of knative/serving#2555.

Bonus: updates `test-infra` to include the latest fixes and features, while also updating the Gopkg files so the cleanup workaround in `update-deps.sh` is not necessary anymore.
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@@ -1,3 +1,3 @@
baseImageOverrides:
github.com/knative/build/cmd/creds-init: gcr.io/knative-releases/github.com/knative/build/build-base:latest
github.com/knative/build/cmd/git-init: gcr.io/knative-releases/github.com/knative/build/build-base:latest
github.com/knative/build/cmd/creds-init: gcr.io/knative-nightly/github.com/knative/build/build-base:latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this make real releases base these images on the nightly base images? Is that a problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it would, but that's how it is now. Nightlies are supposed to be stable because we run tests before publishing. We can base these images on the latest versioned release if thats better.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh that's not what I understood 🤔 😓 Shouldn't/couldn't ko be able to rewrite those knative-nightly when releasing ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does rewrite then when building a new nightly release.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have a separate .ko.yaml.release which we use when doing a real release, with KO_CONFIG_PATH=.ko.yaml.release ko resolve ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, PTAL.

Copy link
Member

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrcunha, ImJasonH, vdemeester

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit 428b2ea into master Nov 28, 2018
@adrcunha adrcunha deleted the nightly-gcs branch December 4, 2018 21:49
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
* Publish nightly knative/build releases to knative-nightly

Part of knative/serving#2555.

Bonus: updates `test-infra` to include the latest fixes and features, while also updating the Gopkg files so the cleanup workaround in `update-deps.sh` is not necessary anymore.

* Use .ko.yaml.release for image overrides for versioned releases
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
* Publish nightly knative/build releases to knative-nightly

Part of knative/serving#2555.

Bonus: updates `test-infra` to include the latest fixes and features, while also updating the Gopkg files so the cleanup workaround in `update-deps.sh` is not necessary anymore.

* Use .ko.yaml.release for image overrides for versioned releases
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants