Repository navigation
Conversation
Signed-off-by: Helder Correia <[email protected]>
helderco
force-pushed
the
cli-core-funcs-with-flag
branch
from
August 9, 2024 15:33
849c2c5 to
daf7f63
Compare
Contributor
|
Personally, I prefer this option over FYI, given we're aiming to release early this week, it would good to try and get some consensus as soon as feasible 🎉 Ofc, if there's more things to debate/discuss, we can delay the release. |
Contributor
|
From a consistency perspective, I also like the idea of With the upcoming
Any thoughts @dagger/maintainers ? |
Contributor
|
we already had a whole debate and got to (weak) consensus on dagger core. Let's give that a chance and close this. |
gerhard
added a commit
that referenced
this pull request
Sep 9, 2024
…8348) * breaking(helm): Remove appVersion - this is now the chart version Now that the chart version moves in lock-step with the app version, we want to remove the app version so that we minimize the change for incompatibilities, as was the case in #8301. The options are: A. You want a custom app image. You need to ensure that the chart is compatible with this image. B. You use the default image. We are responsible for ensuring compatibility with the chart. The third option is to use this YAML as inspiration, and manage your own raw manifests, which give you full control & responsibility. Fixes #8301 Signed-off-by: Gerhard Lazu <[email protected]> * Make the different values stand out more and be easier to configure Also added bunch of extra comments & fixed a link. Signed-off-by: Gerhard Lazu <[email protected]> * Lower the readiness timeout seconds to be less than the interval If we are checking readiness every 15 seconds, we should timeout after 14 seconds at most. Signed-off-by: Gerhard Lazu <[email protected]> * Use dagger core version Now that we have settled #8135, let's use it. Signed-off-by: Gerhard Lazu <[email protected]> * ci: remove appVersion from Helm.setVersion Signed-off-by: Justin Chadwell <[email protected]> * Clarify `engine.image.ref` setting & responsibility Signed-off-by: Gerhard Lazu <[email protected]> * Bump the golangci-lint timeout to 10m Our linting needs more than 5m. Signed-off-by: Gerhard Lazu <[email protected]> --------- Signed-off-by: Gerhard Lazu <[email protected]> Signed-off-by: Justin Chadwell <[email protected]> Co-authored-by: Justin Chadwell <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changes the way you call core functions in the CLI (currently
dagger core <function>):dagger call -c <function>→ Core functiondagger call -m <module> <function>→ Module functionWhy?
TL;DR: Consistency.
This relates to:
In that issue there was a lot of discussion on the DX to call core functions from the CLI. In the end, we were left with three main options:
dagger core <function>→ Merged in cli: allow calling core functions directly #7310dagger call -c <function>→ This PRdagger <function>→ There's interest in it, but not for nowThe first option had a few advantages:
dagger call)However, it has the disadvantage that it can feel inconsistent with
dagger call. As I mentioned in #7310 (comment), it’s very easy to preserve the refactor that simplified the code, while changing back to using a flag (--core).So we still get the stepping stone (implementation wise) to
dagger container, thus the only advantage at this time of keepingdagger coreis being slightly shorter to type, at the cost of feeling inconsistent withdagger call.Next
Since I’m going away on PTO, I leave this alternative implementation so the team has a little more time to consider the DX before the next release, without blocking the feature (which is already merged).
Feel free to close or merge this change.
\cc @samalba @shykes @aluzzardi @jedevc