-
Notifications
You must be signed in to change notification settings - Fork 33
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
Moved to Github Actions from drone CI #41
Conversation
Codecov Report
@@ Coverage Diff @@
## master #41 +/- ##
=========================================
Coverage ? 23.95%
=========================================
Files ? 5
Lines ? 501
Branches ? 0
=========================================
Hits ? 120
Misses ? 359
Partials ? 22 Continue to review full report at Codecov.
|
.github/workflows/ci.yaml
Outdated
path: ./hegel | ||
docker-images: | ||
env: | ||
CGO_ENABLED: 0 |
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.
this should be done in the validation part right? This isn't really doing anything here.
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.
Yes, you are right. This will be removed.
ce8c92d
to
328b540
Compare
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 looks very good to me! Let's wait for @mmlb because he knows a bit better Hegel, but I can't see reasons to hold this further.
.github/workflows/ci.yaml
Outdated
with: | ||
go-version: '1.14.6' | ||
- name: go fmt | ||
run: go get golang.org/x/tools/cmd/goimports; goimports -d . | (! grep .) |
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.
this should be &&
. I think at one point there was a typo or something and the get failed but the command continued because of ;
and goimports failed but because there was no pipefail
it didn't error and ! grep
worked out fine. Not in this repo I think, maybe another one.
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.
Done
Signed-off-by: parauliya <[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.
Pretty sure we're going to remove the pull_request
bit pushing to quay since secrets aren't provided for PRs. But we can do that in a follow up PR.
Signed-off-by: parauliya [email protected]
Description
This chnage will move the CI from drone to Github Actions
Why is this needed
Fixes: #39
How Has This Been Tested?
All checks are being passed while raising a PR
How are existing users impacted? What migration steps/scripts do we need?
No impact.
Checklist:
I have: