Skip to content

Start removing mage 🎉 - #7349

Merged
jedevc merged 8 commits into
dagger:mainfrom
jedevc:start-mage-removal
May 15, 2024
Merged

jedevc merged 8 commits into
dagger:mainfrom
jedevc:start-mage-removal

Conversation

@jedevc

@jedevc jedevc commented May 10, 2024 •

Copy link
Copy Markdown
Contributor

This PR takes the first step to removing mage from our CI - unfortunately, to do the whole thing is still a little tricky right now.

There are several parts:

  • The CI uses dagger call instead of hack/make.
  • hack/make is removed! All CI jobs that still use it, now directly call go run.
  • All unnecessary mage shim functions are removed. We keep:
    • engine:dev, used for ./hack/dev. Eventually, this should be replaced by ci: use nested dagger for testdev #7223.
    • engine:publish, used during github publishing. This connects the cli+engine publishing together, and ensures that the cli parts are all bumped. This is trickier to remove - we'd want to make our _hack_make.yml script an action, instead of a workflow - then, we can connect it through to other actions.

Note! This PR changes some workflows on main, which don't run in a PR - so there is a chance that these workflows might fail when merged.

@jedevc
jedevc requested a review from gerhard May 10, 2024 11:12
@jedevc
jedevc force-pushed the start-mage-removal branch 7 times, most recently from 12f4efd to de5412e Compare May 10, 2024 13:01
@jedevc
jedevc requested a review from matipan May 10, 2024 13:02
@jedevc
jedevc force-pushed the start-mage-removal branch from de5412e to a9720fa Compare May 10, 2024 13:46
@jedevc jedevc added the area/ci label May 10, 2024
@jedevc
jedevc marked this pull request as ready for review May 10, 2024 14:20
@jedevc
jedevc force-pushed the start-mage-removal branch 2 times, most recently from a7e8455 to 4209693 Compare May 10, 2024 14:26
@gerhard

gerhard commented May 14, 2024

Copy link
Copy Markdown
Contributor

Picking this up now since I have some related changes coming up and it would be best to have this merged before then.

jedevc added 5 commits May 14, 2024 12:55
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the start-mage-removal branch from 4209693 to 02731ab Compare May 14, 2024 11:57
@jedevc

jedevc commented May 14, 2024

Copy link
Copy Markdown
Contributor Author

Rebased, and also realized that we had missed bumping every runner in the last "improving release" PR - specifically the release job was still using v0.11.2.

@gerhard
gerhard force-pushed the start-mage-removal branch from cc8a581 to d1f46b9 Compare May 14, 2024 13:15
Gerhard Lazu added 2 commits May 14, 2024 20:07
Also, call the arguments what they are: functions, FTW!

Signed-off-by: Gerhard Lazu <[email protected]>
No, not even when running with race.

Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard
gerhard force-pushed the start-mage-removal branch from a27def3 to 28fd975 Compare May 14, 2024 19:07

@gerhard gerhard left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This now looks good to me!

If you agree with the changes @jedevc, it's OK to merge as soon as all checks pass. We can follow-up with improvements 💪


Related:

@jedevc
jedevc merged commit 3de7bc1 into dagger:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants