Commit Graph

2354 Commits

Author SHA1 Message Date
Vasek - Tom C
513638a40b
Add default value to permissions to #WriteFile
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 16:22:50 +01:00
Vasek - Tom C
01414f80c9
Add tests on plan platform configuration
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 15:47:11 +01:00
Tom Chauveau
c08f262ef5
Add platform configuration in plan.go to set platform in context.
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 15:29:25 +01:00
Vasek - Tom C
3af9ba147e
Add #Platform field to #Plan
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 15:29:25 +01:00
Andrea Luzzardi
0e5fb4ec29
Merge pull request #1288 from TomChv/fix/fs-naming 2021-12-23 15:03:39 +01:00
Sam Alba
f0c678be07
Merge pull request #1296 from talentedmrjones/europ-http-fetch
ported FetchHTTP to HTTPFetch
2021-12-22 16:33:49 -08:00
Richard Jones
40e1c9d4fa
fmt.Sprint
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 17:10:33 -07:00
Richard Jones
643d93c35d
ported FetchHTTP to HTTPFetch
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 17:10:33 -07:00
Sam Alba
deee606f4e
Merge pull request #1295 from samalba/ci-faster-universe
universe: skip sanity check (done twice)
2021-12-22 16:06:16 -08:00
Sam Alba
087bd2d4eb
Merge pull request #1272 from talentedmrjones/europa-git-pull
ported op.#FetchGit to engine.#GitPull
2021-12-22 15:03:38 -08:00
Richard Jones
bd005aeb43
improved test case
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
044c464289
added debug message
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
2b95bf1536
renamed files to avoid camelCase; moved token to common secrets file
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
455ccc460f
removed URL from docs
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
b3118628b0
docs
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
c3d3ca47ff
fixed indentation
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
feb685cf81
fixed issue with disjunction that wouldnt resolve
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
0295dc6340
added support for username:password
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
a49d794409
added private repo test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
1384b025b7
more tests
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
6848755a42
added gitdir test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
ee938111c6
conforming to llb api
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
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