Commit Graph

190 Commits

Author SHA1 Message Date
7c3654d276
chore(sdk): ran clippy 2023-02-22 22:38:33 +01:00
266ad32dff
feat(sdk): with clone 2023-02-22 22:38:15 +01:00
7179f8b598
Release dagger-core v0.2.6, dagger-codegen v0.2.7, dagger-sdk v0.2.12 2023-02-20 12:07:33 +01:00
1f77d90c0f
chore(sdk): ran clippy 2023-02-20 11:54:44 +01:00
8dfecf976c
fix(core): cli session keep session alive 2023-02-20 11:54:22 +01:00
085a998bc6
fix(ci): set path to local dagger sdk 2023-02-20 11:45:59 +01:00
1725c5188e
Release dagger-core v0.2.5, dagger-sdk v0.2.12, dagger-codegen v0.2.7 2023-02-20 11:42:14 +01:00
a13a2a9ecb
fix(all): race condition in process 2023-02-20 11:42:03 +01:00
b86710d71e
revert disable caching 2023-02-20 11:28:24 +01:00
08a2e30967
disable cache 2023-02-20 10:56:56 +01:00
b552dc5d75
chore(ci): with dagger v0.2.11 2023-02-20 10:50:48 +01:00
f869e574dd
Release dagger-core v0.2.4, dagger-codegen v0.2.6, dagger-sdk v0.2.11 2023-02-20 10:48:05 +01:00
921e61b5e2
fix(core): remove blocking 2023-02-20 10:47:58 +01:00
17ec62a5d5
Release dagger-core v0.2.4, dagger-codegen v0.2.6, dagger-sdk v0.2.11 2023-02-20 10:42:12 +01:00
803cfc4f8c
chore(sdk): ran clippy 2023-02-20 10:42:00 +01:00
8385aa8a15
fix(all): remove blocking 2023-02-20 10:40:53 +01:00
60f2cb2f2e
Release ci v0.1.0 2023-02-20 10:39:10 +01:00
30b7511e45
docs(ci): add changelog 2023-02-20 10:39:06 +01:00
06e2638e1f
chore(ci): with actual await on connect 2023-02-20 10:33:14 +01:00
48433cf368
chore(ci): with dagger v0.2.10 2023-02-20 10:30:33 +01:00
fc01755b99
Release dagger-rs v0.2.10 2023-02-20 10:29:00 +01:00
5cb97296b6
Release dagger-sdk v0.2.10 2023-02-20 10:28:24 +01:00
b100285312
fix(docs): changelog 2023-02-20 10:28:13 +01:00
8ed06476e5
Adjusting changelogs prior to release of dagger-sdk v0.2.10 2023-02-20 10:27:15 +01:00
09aa658b6f
update changelog 2023-02-20 10:27:09 +01:00
b436f27a53
Adjusting changelogs prior to release of dagger-sdk v0.2.10 2023-02-20 10:26:31 +01:00
577a293c67
Adjusting changelogs prior to release of dagger-sdk v0.2.10, dagger-rs v0.2.10 2023-02-20 10:26:05 +01:00
76bb1fcedd
Adjusting changelogs prior to release of dagger-sdk v0.2.10, dagger-rs v0.2.10 2023-02-20 10:25:45 +01:00
dc3487b840
Release dagger-rs v0.2.10 2023-02-20 10:25:15 +01:00
0c21d58c71
Release dagger-rs v0.2.10 2023-02-20 10:24:29 +01:00
e3fd23c64e
Release dagger-rs v0.2.10 2023-02-20 10:23:07 +01:00
82de43aa91
Release dagger-core v0.2.3, dagger-sdk v0.2.9, dagger-rs v0.2.10 2023-02-20 10:21:34 +01:00
f40ba9b403 fix(ci): with older version of dagger-sdk 2023-02-20 10:19:43 +01:00
75bc17e57d fix(core): Fix async panic on blocking #19
Replaced internal threads with tokio spawn functions
2023-02-20 10:19:43 +01:00
45d6462037
chore(ci): with async/await 2023-02-19 22:51:34 +01:00
04990247ba
Release dagger-sdk v0.2.8, dagger-codegen v0.2.5 2023-02-19 22:43:48 +01:00
978ede68ae feat(sdk): add documentation strings 2023-02-19 22:43:12 +01:00
a1887afc8b
Release dagger-sdk v0.2.7 2023-02-19 21:48:55 +01:00
d3faa996e6
docs: check async variant 2023-02-19 21:48:30 +01:00
93f40b356c docs(sdk): change to await syntax 2023-02-19 21:47:40 +01:00
9be6f435d9 feat(sdk,core): Use async runtime instead of blocking.
Default to using async runtime instead of blocking. I.e.

```rust
fn main() -> eyre::Result<()> {
  // ...

  client.container().from("rust").publish("somewhere")?;

  // ...
}

// to

async fn main() -> eyre::Result<()> {
  // ...

  client.container().from("rust").publish("somewhere").await?;

  // ...
}
```
2023-02-19 21:47:40 +01:00
c35c104b49
chore(ci): update ci to use dagger-sdk v0.2.6 2023-02-19 18:28:47 +01:00
c312bc57ad
Release dagger-sdk v0.2.6 2023-02-19 18:04:24 +01:00
04e70ce964
docs: fix readme 2023-02-19 18:04:10 +01:00
f72731807d
Release dagger-sdk v0.2.5, dagger-codegen v0.2.4 2023-02-19 18:00:27 +01:00
c627595fd2 fix: cargo clippy 2023-02-19 18:00:04 +01:00
3f13c40ab8 fix: roadmap item api stabilization 2023-02-19 18:00:04 +01:00
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