Skip to content
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

Migrate from Drone to GHA #218

Merged
merged 4 commits into from
May 28, 2024
Merged

Migrate from Drone to GHA #218

merged 4 commits into from
May 28, 2024

Conversation

nflynt
Copy link
Contributor

@nflynt nflynt commented May 24, 2024

This is a lightweight port of the CI logic from Drone into Github Actions, addressing rancher/rancher#45230

Two things to call out here:

This is using the golangci-lint action, which performs linting validation as its own step. Later, the validate.sh script does its own call togolangci-lint run. For the lightest possible touch I've left this logic alone, in case anyone is relying on the local Makefile for linting during development. For CI purposes this feels redundant; should we perhaps remove the extra call from validate.sh?

Secondly, this removes FOSSA scanning, as we are currently stalled on API key provisioning upstream. This will be re-added at a future date, pending rancher/rancher#45495

nflynt added 3 commits May 24, 2024 12:35
Note: this also removes the FOSSA step! Be sure we create an issue
to re-add this at a later date, if we decide to do that.
@nflynt nflynt requested a review from a team as a code owner May 24, 2024 17:16
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
Co-authored-by: Tom Lebreux <me@tomlebreux.com>
Copy link
Contributor

@tomleb tomleb left a comment

Choose a reason for hiding this comment

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

LGTM

@nflynt nflynt merged commit 4cf4e6b into rancher:master May 28, 2024
1 check passed
@nflynt
Copy link
Contributor Author

nflynt commented May 28, 2024

mockgen dependency moved to this issue for tracking rancher/rancher#45611

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants