Commit Graph

3023 Commits

Author SHA1 Message Date
Andrea Luzzardi
2f1f055141 engine: Support plan outputs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 15:03:54 +01:00
Vasek - Tom C
fd6d1b55fe
Rename mode to permissions in fs.cue
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-22 14:59:55 +01:00
Tom Chauveau
8819a859a1
Remove output from #Readfile
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-22 14:16:16 +01:00
Sam Alba
3e5ce6df26
Merge pull request #1285 from samalba/fix-lock
state: moved stdlib lock to upper function to fix race condition
2021-12-21 16:33:23 -08:00
Sam Alba
fdb4b94276 state: moved stdlib lock to upper function to fix race condition
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-21 16:11:07 -08:00
Joel Longtine
fc106e9a91
Merge pull request #1281 from jlongtine/engine-scratch
engine.#Scratch
2021-12-21 13:51:58 -07:00
Joel Longtine
a90ff8ab94 Allow for nil buildkit References
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-21 12:10:48 -07:00
Joel Longtine
75d5ab8f01 Initial pass at engine.#Scratch - failing
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-21 12:10:45 -07:00
Sam Alba
262020d709
Merge pull request #1276 from aluzzardi/engine-build
engine.#Build support
2021-12-21 10:47:32 -08:00
Andrea Luzzardi
c86fd92d38 engine.#Build: fix optional fields in spec
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 10:33:55 -08:00
Andrea Luzzardi
7d40e79366 engine.#Build: support auth
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 10:33:55 -08:00
Andrea Luzzardi
2467fb1920 engine.#Build support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 10:33:50 -08:00
Sam Alba
13e7236c8b
Merge pull request #1270 from dagger/dependabot/npm_and_yarn/website/concurrently-6.5.1
Bump concurrently from 6.4.0 to 6.5.1 in /website
2021-12-21 10:02:18 -08:00
Sam Alba
f3caa342e8
Merge pull request #1279 from aluzzardi/europa-output
europa: up: support --output
2021-12-21 09:48:04 -08:00
Sam Alba
cbd141d019
Merge pull request #1278 from aluzzardi/exec-mount-cache-fix-test
engine.#Exec: fix mount cache flaky test
2021-12-21 09:37:13 -08:00
Andrea Luzzardi
bbc938ddd6
Merge pull request #1196 from TomChv/feat/check-universe-version
Add universe check version in europa up
2021-12-21 17:58:17 +01:00
Andrea Luzzardi
9b2746b2cb
Merge pull request #1259 from TomChv/engine/mkdir
Europa: engine.#Mkdir
2021-12-21 17:53:34 +01:00
Vasek - Tom C
e11cb1b6fd
Add mkdir docs
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 16:33:53 +01:00
Andrea Luzzardi
4feb2c7048 europa: up: support --output
Support `dagger up --output <file.json>` or `-` for stdout. This will
write the computed layer.

Can be used for tests, e.g.

```
run dagger up --output -
assert_output --partial foobar
```

Fixes #1220

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 15:17:51 +01:00
Andrea Luzzardi
ffd7065a74 engine.#Exec: fix mount cache flaky test
Fixes #1274

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 14:33:25 +01:00
dependabot[bot]
cf5ce85682
Bump concurrently from 6.4.0 to 6.5.1 in /website
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.4.0 to 6.5.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.4.0...v6.5.1)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 13:02:41 +00:00
Andrea Luzzardi
074dfcbdf2
Merge pull request #1275 from samalba/engine-push
Support for engine.#Push
2021-12-21 13:49:11 +01:00
Sam Alba
13dafb7341 tests: implemented tasks tests for engine.#Push
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-20 17:31:42 -08:00
Sam Alba
9d3cd180a2 stdlib: implemented engine.#Push
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-20 17:16:40 -08:00
Vasek - Tom C
d2580f4a73
Add mkdir task tests
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 01:14:39 +01:00
Vasek - Tom C
09c427f1cf
Add mkdir task
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 01:14:21 +01:00
Tom Chauveau
15fa9b0aac
Add #Mkdir to engine fs definition
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 01:14:18 +01:00
Joel Longtine
7c46e62f49
Merge pull request #1273 from jlongtine/cleanup-copy-code
Clean up `engine.#Copy` code a bit more
2021-12-20 13:29:12 -07:00
Joel Longtine
6c5d7e5da5 remove empty lines
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 13:13:35 -07:00
Joel Longtine
4a42513ca2
Merge pull request #1263 from jlongtine/engine-copy
engine.#Copy
2021-12-20 13:09:32 -07:00
Joel Longtine
a429e0cbaf Clean up old code
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
31925afa05 Remove comment
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
6427c9be37 Pull #CopyInfo back into #Copy
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
1f28ce518d Finalize switch to dagger: task: _name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
1ea035ff16 engine.#Copy
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
1508f4cb7a
Merge pull request #1271 from jlongtine/cleanup-main
use new dagger task name for SecretExec
2021-12-20 12:54:46 -07:00
Joel Longtine
a21bc46d67 use new dagger task name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:38:09 -07:00
Richard Jones
c826794643
Merge pull request #1261 from talentedmrjones/europa-secret-exec
Europa: secret exec
2021-12-20 12:12:07 -07:00
Joel Longtine
fb91b27ec0
Merge pull request #1269 from jlongtine/new-task-structure
Complete move to `$dagger: task: _name`
2021-12-20 11:18:45 -07:00
Joel Longtine
a7864a41b4 Complete move to $dagger: task: _name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 11:00:43 -07:00
Richard Jones
a5568775ae
fixed linting issue
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 10:19:21 -07:00
Richard Jones
e6207b45af
fixed gosec issue
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:58:26 -07:00
Richard Jones
1f99e427c5
reconciling command formats
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:51:38 -07:00
Richard Jones
5ef138fe84 secret exec
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:20:19 -07:00
Solomon Hykes
7b7ee5455f Resolve spec merge conflicts
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-19 02:55:20 -08:00
Solomon Hykes
087b36b2a6 Europa: remove dagger.#Stream
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-19 02:55:20 -08:00
Sam Alba
697645e950
Merge pull request #1260 from samalba/ci-move-website
CI split website deploy
2021-12-17 16:41:21 -08:00
Solomon Hykes
e264d501ad Europa: move TODOLIST to issues
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-17 16:24:48 -08:00
Solomon Hykes
5933620bb1 Europa: remove implemented engine definitions from spec mock
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-17 16:24:48 -08:00
Sam Alba
01d4706338 ci: fix bats tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 16:02:48 -08:00