Skip to content

add Dockerifle to build dagger-cue - #4069

Merged
jlongtine merged 1 commit into
dagger:cue-sdkfrom
marcosnils:cue-sdk
Dec 6, 2022
Merged

jlongtine merged 1 commit into
dagger:cue-sdkfrom
marcosnils:cue-sdk

Conversation

@marcosnils

Copy link
Copy Markdown
Contributor

bringing this back since it's required by the dagger-for-github action

Signed-off-by: Marcos Lilljedahl [email protected]

bringing this back since it's required by the dagger-for-github action

Signed-off-by: Marcos Lilljedahl <[email protected]>

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

I don't have much context on this, but approving anyway to unblock, seems harmless

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

Sorry, forgot about this last week.

@fredleger

Copy link
Copy Markdown

Hello folks !
This is critical in the sense of :

  1. people were pushed to use the fabulous GitHub action from dagger to see how cool it is :-)
  2. dagger changed the cli to replace by another high level, and we must now use dagger-cue
  3. All the CI of cool people (first adopters) are broken until they change them
  4. Naive approach of upgrading the cli and replace dagger do by dagger run are not producing expected results: worst, it does something and output nothing and exit with 0 return code, letting the user think this is "OK"

So I guess the good move if you want to keep 1st adopters (actually I was at the point to organize a meetup about dagger to share my ❤️) is to prioritize this issue and write a documentation (excuse me if it's already exists) where you state clearly that the only way for now is to pin the version to 0.2.*

@shykes

shykes commented Dec 6, 2022

Copy link
Copy Markdown
Contributor

Hello folks ! This is critical in the sense of :

  1. people were pushed to use the fabulous GitHub action from dagger to see how cool it is :-)
  2. dagger changed the cli to replace by another high level, and we must now use dagger-cue
  3. All the CI of cool people (first adopters) are broken until they change them
  4. Naive approach of upgrading the cli and replace dagger do by dagger run are not producing expected results: worst, it does something and output nothing and exit with 0 return code, letting the user think this is "OK"

So I guess the good move if you want to keep 1st adopters (actually I was at the point to organize a meetup about dagger to share my ❤️) is to prioritize this issue and write a documentation (excuse me if it's already exists) where you state clearly that the only way for now is to pin the version to 0.2.*

Hi Fred, very sorry about this. What you describe (clearly informing early adopters + giving them an simple migration path) was/is the plan but we screwed up executing on it. We’ll prioritize fixing this.

@fredleger

Copy link
Copy Markdown

No worries ! Was just raising the point to avoid others to dig for this issue when their CI fail :-)
Thanks for the quick prioritization and nice rework ! Actually, using a 0.x branch is an acceptance for "things may break".

@gerhard

gerhard commented Dec 6, 2022

Copy link
Copy Markdown
Contributor

Hey @fredleger, did this fix it for you? dagger/dagger-for-github#80 (comment)

@fredleger

Copy link
Copy Markdown

I just roll backed my changes from this morning, and it's working like a charm 🎉

Now i'm just waiting for asdf plugin for dagger-cue to test the dropin replacement of previous dagger cli on my laptop :-)
Thanks for the follow up

@marcosnils
marcosnils deleted the cue-sdk branch December 7, 2022 15:00
@gerhard

gerhard commented Dec 7, 2022

Copy link
Copy Markdown
Contributor

Now that we have a fix for this, I would be inclined to remove this since we don't yet know what a dagger CLI v0.2 -> v0.3 migration path will look like. I expanded on my thinking in dagger/dagger-for-github#79 (comment)

@marcosnils

Copy link
Copy Markdown
Contributor Author

I guess we should revisit the dagger-for-github altogether. Since the action currently has a feature to build dagger from source and requires that Dockerfile to be present to work. I think it doesn't hurt to leave the Dockerfile in the repo until we decide what to do with the github action.

I there's a reason to remove it, I'm good for that as well.

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.

6 participants