Commit Graph

3021 Commits

Author SHA1 Message Date
satotake
f595e28533 docs: fix backend path
Signed-off-by: satotake <doublequotation@gmail.com>
2021-12-26 11:58:53 +09:00
Sam Alba
7e523c7c39
Merge pull request #1313 from aluzzardi/task-prerun
engine: Task PreRun Hook
2021-12-23 16:24:45 -08:00
Andrea Luzzardi
2982a0dda0 engine: Task PreRun Hook
Tasks now have a PreRun hook that gets called before buildkit kicks in.
Allows to support local access without special casing.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-24 00:59:49 +01:00
Sam Alba
06b05746b8
Merge pull request #1310 from aluzzardi/plan-rel-path
engine: Make paths relative to the CUE file they're defined in
2021-12-23 14:51:59 -08:00
Sam Alba
1bbc4777af tests: fixed secrets_sops.yml path
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-23 14:18:04 -08:00
Andrea Luzzardi
9c81a155c9 engine: Make paths relative to the CUE file they're defined in
Fixes #1309

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-23 13:48:47 -08:00
Sam Alba
ec69734c51
Merge pull request #1297 from grouville/dockerhub-sops
Move dockerhub envvar to sops store
2021-12-23 13:48:18 -08:00
guillaume
35498c439f Move dockerhub envvar to sops store
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-12-23 22:13:45 +01:00
Richard Jones
8cdf9d8e34
Merge pull request #1299 from aluzzardi/gitPull-gitpull
tests: gitPull -> gitpull
2021-12-23 13:02:15 -07:00
Andrea Luzzardi
e182440c8e tests: gitPull -> gitpull
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-23 20:35:38 +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
Richard Jones
4e56b280c4
Merge pull request #1306 from talentedmrjones/europa-trim-space
added trimSpace to inputs secrets
2021-12-23 10:28:02 -07: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
Andrea Luzzardi
716a05a231
Merge pull request #1301 from TomChv/europa/write-file-default-permission
Add default value to permissions to `#WriteFile`
2021-12-23 16:47:56 +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
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