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

Release #95

Merged
merged 1 commit into from
Jul 23, 2019
Merged

Release #95

merged 1 commit into from
Jul 23, 2019

Conversation

chuckha
Copy link
Contributor

@chuckha chuckha commented Jul 22, 2019

What this PR does / why we need it:
This PR simplifies the version since we don't need anything but the actual tag.

It implements go releaser and uses goreleaser's strategy for building container images.

This removes using GitHub packages since those don't work for our use case.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #67

Special notes for your reviewer:
I added a service account to my own gcloud project and added the token as a secret to this project which is how this will have the correct permissions to push

NONE

@chuckha chuckha requested a review from ashish-amarnath July 22, 2019 23:07
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 22, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chuckha

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 22, 2019
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 22, 2019
.goreleaser.yml Outdated Show resolved Hide resolved
.goreleaser.yml Outdated Show resolved Hide resolved
@chuckha
Copy link
Contributor Author

chuckha commented Jul 23, 2019

all updated! ptal @ashish-amarnath

@chuckha
Copy link
Contributor Author

chuckha commented Jul 23, 2019

cc @detiber

without bazel goreleaser is really nice.

hack/verify-all.sh Outdated Show resolved Hide resolved
@chuckha chuckha force-pushed the release branch 4 times, most recently from eba883c to 02eaf68 Compare July 23, 2019 18:40
* Keep version information very short
* Build docker images with goreleaser
* Adds github workflow

Signed-off-by: Chuck Ha <[email protected]>
@chuckha
Copy link
Contributor Author

chuckha commented Jul 23, 2019

@ashish-amarnath any thoughts on this one? I think once it merges I'm probably going to have to fix a bunch of little things in the release pipeline

@ashish-amarnath
Copy link
Contributor

/lgtm
/hold
for @detiber

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Jul 23, 2019
@chuckha
Copy link
Contributor Author

chuckha commented Jul 23, 2019

/hold cancel

lmk if you have any qs @detiber. I think outside of bazel this is super good. Might even be worth it with bazel.

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 23, 2019
@k8s-ci-robot k8s-ci-robot merged commit 2d75357 into kubernetes-retired:master Jul 23, 2019
@chuckha chuckha deleted the release branch July 23, 2019 21:42
ADD third_party third_party

RUN go install -v ./cmd/capd-manager
FROM golang:1.12.7
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this isn't building anything, any reason not to use distroless here?

- goos: linux
goarch: amd64
binaries:
- capd-manager
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this just use the top level Dockerfile?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Figure out release strategy
4 participants