-
Notifications
You must be signed in to change notification settings - Fork 137
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 to GitHub action from Drone #235
Conversation
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.
It would be nice to separate the lint fixes out of this PR and into a different one.
.github/workflows/ci.yaml
Outdated
- run: make | ||
name: Build binaries |
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.
- name: Build binaries
run: make
to match the order of all the other actions
repository: tinkerbell/tink-server | ||
path: ./cmd/tink-server/ | ||
push: ${{ startsWith(github.ref, 'refs/heads/master') }} | ||
tags: latest |
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.
Please add
tag_with_ref: true
tag_with_sha: true
too
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.
Those options will push:
Successfully tagged quay.io/tinkerbell/tink:latest
Successfully tagged quay.io/tinkerbell/tink:pr-235-merge
Successfully tagged quay.io/tinkerbell/tink:sha-f009303
I don't think we want that
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.
I do. Maybe not tag_wit_ref
for pushes, but definitely for tags. But I do want the sha so we can have point-in-time refs to images, and not just latest that keeps getting pushed up.
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.
Ok I will leave this tag_with_sha: true
.
About tags, that's a separate discussion btw. It is not covered here and I will add it as soon as we get closer to a release lifecycle plan.
it does not look we are close to it
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.
Agree.
When a new PR gets open: 1. fmt 2. vet 3. test 4. golint-ci 5. ci-check with nixos 6. build docker images 7. push docker images to quay only for master Signed-off-by: Gianluca Arbezzano <[email protected]>
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
Description
Move from Drone to Github Action
Why is this needed
Fixes: #233
How Has This Been Tested?
I am using
act
to run GitHub Action locally.How are existing users impacted? What migration steps/scripts do we need?
none
When merged to master: