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

Switch from Makefile to Earthly #698

Merged
merged 8 commits into from
May 30, 2024
Merged

Conversation

negz
Copy link
Member

@negz negz commented May 29, 2024

Description of your changes

We're trying out a new build tool for one release. See crossplane/crossplane#5711 for context.

I have:

  • Read and followed Crossplane's contribution process.
  • Run earthly +reviewable to ensure this PR is ready for review.

How has this code been tested

Just earthly +reviewable for now.

negz added 6 commits May 29, 2024 15:20
Signed-off-by: Nic Cope <nicc@rk0n.org>
Unmodified for now. I'll strip out everything this repo doesn't need in
a follow-up commit.

Signed-off-by: Nic Cope <nicc@rk0n.org>
Removes all jobs and targets that are specific to crossplane/crossplane.

Signed-off-by: Nic Cope <nicc@rk0n.org>
Signed-off-by: Nic Cope <nicc@rk0n.org>
This implies switching from the Renovate app to the Renovate action.

Signed-off-by: Nic Cope <nicc@rk0n.org>
This syncs with what we currently have in c/c. In practice we've dropped
reviewers because everything blocks on reviewers.

Signed-off-by: Nic Cope <nicc@rk0n.org>
@negz negz requested review from a team as code owners May 29, 2024 22:45
@negz negz requested review from bassam, jbw976, bobh66 and phisco May 29, 2024 22:45
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

negz added 2 commits May 29, 2024 16:00
Changing this package would be a breaking change.

Signed-off-by: Nic Cope <nicc@rk0n.org>
Signed-off-by: Nic Cope <nicc@rk0n.org>
@negz negz force-pushed the third-rock-from-the-sun branch from 1bd4996 to e977812 Compare May 29, 2024 23:00
Copy link
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

Took this for a quick test drive and all the commands I was running worked successfully! (+build, +reviewable, +test, +generate). Looks like we've incorporated a lot of the lessons from iterating on core crossplane too :)

Just a few questions, nothing blocking on my end!

@@ -1,48 +0,0 @@
name: Promote
Copy link
Member

Choose a reason for hiding this comment

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

this promote workflow was never used for crossplane-runtime, and therefore safe to delete?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, exactly. I can't think of what it would have done.

"regexManagers": [
// The branches renovate should target
// PLEASE UPDATE THIS WHEN RELEASING.
"baseBranches": [
Copy link
Member

Choose a reason for hiding this comment

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

oh interesting, we weren't specifying the set of baseBranches before now - consider making a small tweak to the instructions for updating baseBranches in https://github.com/crossplane/release/blob/main/.github/ISSUE_TEMPLATE/release.md, so we remember to update it here too in addition to core crossplane.

@@ -0,0 +1,57 @@
name: Renovate
Copy link
Member

Choose a reason for hiding this comment

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

wait, was Renovate not running on crossplane-runtime since switching to self hosted?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it was still using the Renovate app. See for example #695 which was opened last week.

I'm guessing we should switch to self hosted for the same reasons as c/c though.

@negz negz merged commit 6e15cd4 into crossplane:master May 30, 2024
10 checks passed
@negz negz deleted the third-rock-from-the-sun branch May 30, 2024 00:42
@negz negz mentioned this pull request May 30, 2024
5 tasks
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.

2 participants