Commit Graph

193 Commits

Author SHA1 Message Date
f29ff836cf feat(sdk): without Some in _opts functions
Option has been removed as a wrapper around opts. This makes it much
more convenient to use

```rust
client.container_opts(Some(ContainerOpts{}))
// ->
client.container_opts(ContainerOpts{})
```

The same options are still available, either an empty object can be
passed, or a non _opts function can be used
2023-02-19 18:00:04 +01:00
9762da895a feat(sdk): with _opts methods
Now all opt values enter into a _opts function instead of the original.
This avoids a lot of verbosity for both None in the case opts are
unwanted, and Some() if they actually are.

They are used like so:

```rust
client.container().from("...");
client.container_opts(Some(ContainerOpts{ ... }))
```

Some from opts will be removed in a future commit/pr
2023-02-19 18:00:04 +01:00
02006d40fc fix(sdk): without phantom data 2023-02-19 18:00:04 +01:00
94336d0637 feat(sdk): move to &str instead of String and introduce builder.
This will make the api much easier to use, as we can now rely on ""
instead of "".into() for normal string values.

Introduced builder as well, which makes it much easier to use *Opts, as
it can handle the building of that, and get the benefits from String ->
&str, as that is currently not allowed for optional values
2023-02-19 18:00:04 +01:00
6e2292cf11
fix(sdk): dependencies 2023-02-19 15:39:10 +01:00
cc81124f89
Release dagger-sdk v0.2.4 2023-02-19 15:34:07 +01:00
7d04ab1240
fix(sdk): readme dagger-rs -> dagger-sdk 2023-02-19 15:33:48 +01:00
92350306b3
Release dagger-sdk v0.2.3, dagger-codegen v0.2.3, dagger-rs v0.2.9 2023-02-19 15:30:08 +01:00
19ed6c267f feat(sdk): re-export through lib.rs
this means that you can now use dagger_sdk::connect() instead of
dagger_sdk::client::connect();
2023-02-19 15:29:03 +01:00
de063eae85 feat(sdk): with return result instead of unwrap 2023-02-19 15:29:03 +01:00
5d66736990 feat(core,sdk): remove unnecessary option returns 2023-02-19 15:29:03 +01:00
9ada74960a feat(ci): add gha caching 2023-02-19 14:41:23 +01:00
90ab2e2b7d feat: clear release-cycle roadmap item 2023-02-19 14:37:23 +01:00
818ef6f74d feat(ci): lint pr 2023-02-19 12:57:32 +01:00
691ecfbf52 feat(ci): ci with dagger v0.2.2 2023-02-19 12:44:03 +01:00
e921ba1363
Release dagger-sdk v0.2.2 2023-02-19 12:30:59 +01:00
1638f15fba
Release dagger-core v0.2.2, dagger-codegen v0.2.2, dagger-rs v0.2.8 2023-02-19 12:27:28 +01:00
10bc6f3846 fix(sdk): fixed fmt errors 2023-02-19 12:23:20 +01:00
6e5f407432 feat(sdk): update to dagger v0.3.12 2023-02-19 12:23:20 +01:00
3cb83bb79c
with bin cache 2023-02-19 11:47:55 +01:00
Renovate Bot
199fe16dbf fix(deps): update rust crate dagger-sdk to 0.2.1 2023-02-18 17:34:50 +01:00
3cfd032a85
add cache 2023-02-18 17:13:41 +01:00
83ae5b476a
fix(ci): fix github secret naming 2023-02-18 17:05:40 +01:00
60dfad0aaa
run everywhere 2023-02-18 17:04:40 +01:00
25fb9d4f24
fix(ci): with secret 2023-02-18 17:03:37 +01:00
f42da8416a
feat(ci): with sccache 2023-02-18 16:57:35 +01:00
98781f2496
test change 2023-02-18 16:06:34 +01:00
aa0c397b15
Release dagger-sdk v0.2.1 2023-02-18 16:05:10 +01:00
11a5247933
add dagger-sdk changelog 2023-02-18 16:04:39 +01:00
20c71189f6
Release dagger-rs v0.2.7, dagger-sdk v0.2.1 2023-02-18 16:03:59 +01:00
d72313051b
fix: with test changes 2023-02-18 15:57:16 +01:00
a2036838de
Release dagger-rs v0.2.6 2023-02-18 15:19:42 +01:00
4ebe0d12b5
fix: cleanup 2023-02-18 15:19:38 +01:00
084ffafa3e
Release dagger-rs v0.2.5 2023-02-18 15:18:47 +01:00
5c9ab3756b
Release dagger-rs v0.2.4 2023-02-18 15:16:56 +01:00
4ac89b6457
fix: trying agian 2023-02-18 15:16:51 +01:00
4b9f1e4320
Release dagger-rs v0.2.3 2023-02-18 15:11:38 +01:00
3a45202a21
feat: some test 2023-02-18 15:11:29 +01:00
7c8d8a3e9c
Release dagger-rs v0.2.2 2023-02-18 15:09:24 +01:00
0470093912
with test commit 2023-02-18 15:09:08 +01:00
4d60d25a1f
feature: trying smart-release 2023-02-18 15:08:28 +01:00
1332bc842c
Release dagger-core v0.2.1, dagger-codegen v0.2.1, dagger-rs v0.2.1 2023-02-18 15:05:46 +01:00
a064684fcf
add changelogs 2023-02-18 15:05:42 +01:00
922ad3a794
Release dagger-core v0.2.1, dagger-codegen v0.2.1, dagger-rs v0.2.1 2023-02-18 15:05:24 +01:00
a7d97c2342
update changelog 2023-02-18 15:05:18 +01:00
f4a20fda79
Adjusting changelogs prior to release of dagger-core v0.2.1, dagger-codegen v0.2.1, dagger-rs v0.2.1 2023-02-18 15:04:11 +01:00
32665d8fa0
add color eyre 2023-02-18 15:03:57 +01:00
03e022fcac
feature with workspace (#8)
* add ci

* with description

* fix warnings

* with actual test

* leave out tests for now as they rely on dind

* with workspace
2023-02-18 00:48:59 +00:00
4ce58a418c
add ci (#7)
* add ci

* with description

* fix warnings

* with actual test

* leave out tests for now as they rely on dind
2023-02-18 00:34:04 +00:00
468bca4a69
add ci 2023-02-17 23:10:52 +01:00