Commit Graph

2482 Commits

Author SHA1 Message Date
Richard Jones
7ca84282be
ported op.#FetchGit to engine.#GitPull
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Sam Alba
c7759cb548 universe: skip sanity check (done twice)
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-22 14:17:24 -08:00
Sam Alba
2531d17ea6
Merge pull request #1293 from jlongtine/engine-scratch-clean-up
Clean up code for `engine.#Scratch`
2021-12-22 13:56:55 -08:00
Joel Longtine
d1fb5bc157 - Clean up plancontext/fs.go code
- remove `@dagger(notimplemented)` from `engine.#Scratch`

Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-22 14:42:10 -07:00
Sam Alba
47bed011e8
Merge pull request #1291 from aluzzardi/engine-pull-no-imageconfig
engine.#Pull: don't apply image config
2021-12-22 12:16:15 -08:00
Sam Alba
75711545ef
Merge pull request #1289 from aluzzardi/plan-output
engine: Support plan outputs
2021-12-22 10:47:52 -08:00
Sam Alba
2ea6140ab5
Merge pull request #1290 from aluzzardi/plan-cleanup
engine: task naming consistency
2021-12-22 10:41:32 -08:00
Andrea Luzzardi
bb93b9d875 engine.#Pull: don't apply image config
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 16:26:58 +01:00
Andrea Luzzardi
d82baa4c2d engine: task naming consistency
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 16:19:40 +01:00
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