Skip to content

Remove API deprecations - #5512

Merged
helderco merged 5 commits into
dagger:mainfrom
helderco:gh-5479-remove-deprecations
Jul 27, 2023
Merged

helderco merged 5 commits into
dagger:mainfrom
helderco:gh-5479-remove-deprecations

Conversation

@helderco

Copy link
Copy Markdown
Contributor

Closes #5479

@helderco helderco added the kind/breaking Breaking Change label Jul 27, 2023
@helderco
helderco requested a review from vito July 27, 2023 11:45
@helderco
helderco force-pushed the gh-5479-remove-deprecations branch from c5638a5 to dd51326 Compare July 27, 2023 11:48
@helderco
helderco marked this pull request as draft July 27, 2023 12:47
@helderco
helderco force-pushed the gh-5479-remove-deprecations branch from dd51326 to 6a790e9 Compare July 27, 2023 17:30
@helderco
helderco marked this pull request as ready for review July 27, 2023 17:37
@helderco
helderco requested a review from sipsma July 27, 2023 17:37
Comment thread core/integration/services_test.go Resolved
helderco added 3 commits July 27, 2023 18:08
Signed-off-by: Helder Correia <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
@helderco
helderco force-pushed the gh-5479-remove-deprecations branch from 6a790e9 to bdb486b Compare July 27, 2023 18:10
helderco added 2 commits July 27, 2023 18:31
Signed-off-by: Helder Correia <[email protected]>
Signed-off-by: Helder Correia <[email protected]>

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

Screenshot 2023-07-27 at 12 50 33 PM

Beautiful!

actually need to run the command _again_ since we'd need some way to tell
the shim what to do.

Hmm...

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.

Nice to see an end to this saga. 🥲

@helderco
helderco merged commit e001147 into dagger:main Jul 27, 2023
@helderco
helderco deleted the gh-5479-remove-deprecations branch July 27, 2023 21:59
@helderco helderco mentioned this pull request Jul 27, 2023
wingyplus added a commit to wingyplus/dagger that referenced this pull request Aug 1, 2023
Since add support for local cli, the tests failure because of the use of
deleted apis, introduced in PR
dagger#5512. Fixes by switch to the api
that still available, such as `fs().file(..,..)` to just `file(..,..)`,
`exit_code()` to `sync()`.

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
sipsma pushed a commit that referenced this pull request Aug 2, 2023
* feat: add support _EXPERIMENTAL_DAGGER_CLI_BIN to rust

From the root of the rust sdk, run:

    $ env _EXPERIMENTAL_DAGGER_CLI_BIN=../../bin/dagger cargo run --example first-pipeline

The sdk will use dagger binary defined in `_EXPERIMENTAL_DAGGER_CLI_BIN`
to run the pipeline. And modify the engine to try running on local cli
when session port & token doesn't set, if this configuration is not set,
it will fallback to download cli method.

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>

* fix: fix tests that use deleted apis

Since add support for local cli, the tests failure because of the use of
deleted apis, introduced in PR
#5512. Fixes by switch to the api
that still available, such as `fs().file(..,..)` to just `file(..,..)`,
`exit_code()` to `sync()`.

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>

* fix: fix lint failure

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>

* fix: fix lint because of codegen not up-to-date

Re-run codegen to generate up-to-date sdk to make lint happy.

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>

* chore: use ok() to convert into Option<T>

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>

* feat: bump engine version to 0.6.4

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>

---------

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/breaking Breaking Change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove API deprecations

4 participants