Skip to content

Make source argument to our Dagger module optional - #8284

Closed
shykes wants to merge 6 commits into
dagger:mainfrom
shykes:ci-context-dir
Closed

shykes wants to merge 6 commits into
dagger:mainfrom
shykes:ci-context-dir

Conversation

@shykes

@shykes shykes commented Aug 30, 2024 •

Copy link
Copy Markdown
Contributor

This PR depends on #8241. Please review that first.

This uses the new "context directory" feature.

@vito vito 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.

cute-baby-cheering-enkl65ixwvswlna1

@shykes
shykes force-pushed the ci-context-dir branch 4 times, most recently from c85ccd9 to b32e42a Compare September 3, 2024 06:51
@shykes
shykes requested a review from a team as a code owner September 3, 2024 06:51
@shykes
shykes requested review from kpenfound and vito September 3, 2024 06:53

@jedevc jedevc 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.

One minor note, otherwise LGTM once we get #8241 in 🎉

if engineVersion == "dev" {
client = devEngineAndClient(source)
// returns a container with dev version of dagger engine and cli
client = dag.DaggerDev().Dev()

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.

Nifty 🎉

Comment thread .github/main.go Resolved
@shykes
shykes requested a review from helderco September 3, 2024 17:25
@shykes

shykes commented Sep 3, 2024

Copy link
Copy Markdown
Contributor Author

@helderco I also made the change for the python sdk dev module as well

@shykes
shykes force-pushed the ci-context-dir branch 6 times, most recently from 1c5eaf5 to 78f4a08 Compare September 4, 2024 07:28
This is a small first step towards eventually generating 100% of our Github Actions config.

- Docs lint
- SDK lint and test (on stable and dev engine)

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
shykes force-pushed the ci-context-dir branch 2 times, most recently from df3d305 to c222838 Compare September 4, 2024 22:19
This uses the new "context directory" feature in Dagger 0.12.6

Signed-off-by: Solomon Hykes <[email protected]>
@shykes

shykes commented Sep 5, 2024

Copy link
Copy Markdown
Contributor Author

It's too much work to maintain this + #8241 until it gets merged, so I'm combining them. Closing this, and moving the action to #8241

@jedevc

jedevc commented Sep 5, 2024 •

Copy link
Copy Markdown
Contributor

😢 wait why wasn't this just merged? It had two approvals.

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