Commit Graph

2263 Commits

Author SHA1 Message Date
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
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