-
Notifications
You must be signed in to change notification settings - Fork 113
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 ko-related artifacts to ko-build #1112
Move ko-related artifacts to ko-build #1112
Conversation
@rolfedh fyi contains small doc fixes, just links though |
5437633
to
47eb183
Compare
@@ -110,7 +110,7 @@ spec: | |||
# Determine the ko version | |||
KO_VERSION="${PARAM_KO_VERSION}" | |||
if [ "${KO_VERSION}" == "latest" ]; then | |||
KO_VERSION=$(curl --silent "https://api.github.com/repos/google/ko/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') | |||
KO_VERSION=$(curl --silent "https://api.github.com/repos/ko-build/ko/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI you can add --location
here too to follow redirects in case it moves again, but we have no plans to move again. I might update setup-ko to do this in the future, but it's not a high priority.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought about it. But same thinking. I don't assume you will move again soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qu1queee 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 |
Changes
The ko project moved from the google to the ko-build organization. Adopting Shipwright.
The current ko build strategy is broken because
curl --silent "https://api.github.com/repos/google/ko/releases/latest"
now causes a redirect to happen and therefore usinglatest
does not work anymore with our build strategy. Specifying the release still worked because the download curl command always included-L
(follow redirects) because GitHub imo always redirects them.Submitter Checklist
Release Notes