Skip to content

ci: use nested dagger for testdev (take 2) - #7771

Closed
jedevc wants to merge 6 commits into
dagger:mainfrom
jedevc:revive-nested-testdev
Closed

jedevc wants to merge 6 commits into
dagger:mainfrom
jedevc:revive-nested-testdev

Conversation

@jedevc

@jedevc jedevc commented Jun 27, 2024

Copy link
Copy Markdown
Contributor

Attempt to revive #7223, since we've had a lot of perf improvements (especially around otel 🎉)

Hopefully this workflow should run a bit faster now.

@jedevc jedevc changed the title chore: use separate ip range for test containers ci: use nested dagger for testdev Jun 27, 2024
@jedevc jedevc changed the title ci: use nested dagger for testdev ci: use nested dagger for testdev (take 2) Jun 27, 2024
@jedevc
jedevc force-pushed the revive-nested-testdev branch 6 times, most recently from c3d96f1 to f773e64 Compare June 27, 2024 14:10
@jedevc
jedevc marked this pull request as ready for review June 27, 2024 14:34
@jedevc

jedevc commented Jun 27, 2024

Copy link
Copy Markdown
Contributor Author

Hm, so - it looks like this is the same order of magnitude of speed as on main, and we remove the external docker dependency, and tidy up our custom call action.

@sipsma this should be a fairly reasonable first step to tidying up our test vs testdev worflows as we discussed I think? ./hack/dev is now entirely removed from our CI, and is only for local use.

@jedevc
jedevc requested review from gerhard and sipsma June 27, 2024 14:38
@jedevc
jedevc force-pushed the revive-nested-testdev branch 4 times, most recently from 38cef72 to fe6b0ac Compare July 2, 2024 11:33
Comment thread .github/actions/call/action.yml Outdated
Comment on lines 93 to 94

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.

Double-checking this is basically saying "start dev engine as service, run our dev module from a container with that service as a dep". I think it is but it's inherently a bit mild-melting (not new, using dagger to build+test dagger always has been).

That sounds perfect if so, IIRC the utility of testdev was partially just to ensure our CI still worked on dev engines as opposed to just stable engines, which is what this would result in.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes 🎉 If you have a better way to write this as code, then please shout loudly, it is mind melting as you say 😢

@jedevc
jedevc force-pushed the revive-nested-testdev branch from fe6b0ac to d4d55e1 Compare July 3, 2024 11:01

@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 looks really good! Doing away with the Docker dependency is such a huge improvement. There is so much infra code that we can remove after this gets merged cc @matipan

This cannot get merged soon enough 🚁

@gerhard

gerhard commented Jul 5, 2024

Copy link
Copy Markdown
Contributor

We were talking about this with @matipan in the context of:

How close are we to merging this @jedevc ? If we're not far off, we can simplify that PR today.

@jedevc
jedevc force-pushed the revive-nested-testdev branch from d4d55e1 to bb504b8 Compare July 5, 2024 11:54
@jedevc

jedevc commented Jul 5, 2024

Copy link
Copy Markdown
Contributor Author

Rebased and resolved conflicts, should be good to go after that.

@jedevc

jedevc commented Jul 5, 2024

Copy link
Copy Markdown
Contributor Author

Hm, yeah, something is messed up, failures are legitimate.

@jedevc
jedevc force-pushed the revive-nested-testdev branch from 2ef8ba0 to 9d1f52f Compare July 8, 2024 10:07
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants