Commit Graph

500 Commits

Author SHA1 Message Date
guillaume
8041714728 Temporary skip netlify test
Netlify-cli got a regression from one of its libraries: prettyjson.
Cf. https://github.com/rafeca/prettyjson/issues/58
This PR comments the test until netlify gets fixed. Shouldn't take that long
Cf. https://github.com/netlify/cli/issues/4011

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-11 11:43:35 +01:00
Andrea Luzzardi
c5126412b0
Merge pull request #1307 from aluzzardi/engine-loadsecret
engine.#NewSecret support
2022-01-10 12:09:21 -08:00
Joel Longtine
4d4fbb20b5 Actually unify with #FS
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-07 16:26:17 -07:00
Joel Longtine
3003b31be3 Make engine.#Scratch a specialization of #FS, rather than a task
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-07 15:43:58 -07:00
Andrea Luzzardi
5f840723e2 engine: LoadSecret->NewSecret
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-07 12:08:37 -08:00
Andrea Luzzardi
6a70271ff2 engine.#LoadSecret support
Fixes #1305

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-07 12:08:37 -08:00
guillaume
3cf443a337 Fix: #Subdir
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-06 00:45:29 +01:00
guillaume
7c137e7589 Fix trivy termcaps loop on error
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-04 23:36:45 +01:00
Sam Alba
2e072ea08a
Merge pull request #1331 from grouville/update/alpine-version
Update/alpine version to 3.15.0
2022-01-04 14:14:47 -08:00
guillaume
bd4916873b Port packages to latest versions + update netlify to latest CLI version + update aws to latest version
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-04 19:17:36 +01:00
Richard Jones
1d8834b9b1
implemented --with to fill inputs.params
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-04 10:23:21 -07:00
guillaume
7a398dcaf8 Port alpine version to 3.15.0
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-04 15:27:49 +01:00
guillaume
fb481444f5 Fix Kubernetes hello-world-example URL 404
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-03 22:55:48 +01:00
guillaume
e37f4c393e Fix: update github PAT key as last one was outdated
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-03 18:49:04 +01:00
Sam Alba
f0225274c2
Merge pull request #1308 from aluzzardi/semi-atomic-vendoring
semi-atomic vendoring to improve concurrency
2021-12-23 11:35:13 -08:00
Andrea Luzzardi
25ee7087bf semi-atomic vendoring to improve concurrency
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-23 18:09:54 +01:00
Richard Jones
2561f942c6
added trimSpace to inputs secrets
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-23 09:22:50 -07:00
Andrea Luzzardi
bbec566bb5
Merge pull request #1300 from TomChv/europa/plan-platform-configuration
Config platform in #Plan
2021-12-23 16:48:26 +01:00
Tom Chauveau
9927b8d94d
Refactor platform type to string to support any kind of platform
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 16:30:30 +01:00
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
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
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
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
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
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
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
75711545ef
Merge pull request #1289 from aluzzardi/plan-output
engine: Support plan outputs
2021-12-22 10:47:52 -08: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
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
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
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
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
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
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
a21bc46d67 use new dagger task name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:38:09 -07:00