Helder Correia
cf0fcdbe92
Make docker/cli image overrideable
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 14:34:15 +00:00
Helder Correia
05d79e8ba6
Add docker cli package
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 18:24:33 -01:00
Helder Correia
7a8153910c
Add export and load for dagger images
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00
Helder Correia
a1b2e03f29
Fix docker.#Dockerfile test
...
Entrypoint is no longer ignored.
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-21 22:45:15 -01:00
Solomon Hykes
323f01278a
Merge pull request #1808 from helderco/run-entrypoint
...
Add entrypoint field to `docker.#Run`
2022-03-21 10:18:18 -07:00
Tom Chauveau
c6da3eeb9e
Update dockerfile test to use client API
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 12:38:50 +01:00
Tom Chauveau
cc601a4e07
Apply Solomon comments
...
- Remove input field
- Fix auth consistency
- Cleanup test
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:59:11 +01:00
Vasek - Tom C
c90be8423e
Add tests on docker.#Dockerfile
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:58:34 +01:00
Vasek - Tom C
562678779e
Update docker.#Dockerfile
to be a 1:1 mirror to engine.#Dockerfile
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:58:34 +01:00
Helder Correia
a0bb201e45
Add entrypoint field to docker.#Run
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-15 18:44:44 -01:00
Richard Jones
6b81dc439d
removed dagger up in favor of dagger do
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-09 14:00:45 -07:00
Sam Alba
3421a8efce
pkg: docker: add the command exit code
...
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-02-24 17:48:18 -08:00
Vasek - Tom C
ce4c1f036f
Resolves #1559
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-18 15:17:33 +01:00
Vasek - Tom C
73829fd9a7
Fix docker.#Run
exportFile test.
...
This test was not calling `docker.#Run` so basically it wasn't doing anything.
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-18 15:15:32 +01:00
Solomon Hykes
c2766c265b
Merge dagger.io/dagger/engine into dagger.io/dagger
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-16 19:40:28 +00:00
Richard Jones
3c57630b0e
implemented ability to pass #Secret as env var
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-15 12:58:35 -07:00
Solomon Hykes
ce1a5659eb
docker.#Run: remove redundant image
field
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 19:59:22 +00:00
Solomon Hykes
20e1ac9d7f
docker: cleanup tests
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 01:41:36 +00:00
Solomon Hykes
298a119b09
Merge pull request #1569 from shykes/docker-run-tweak
...
Simplify docker.#Run
2022-02-08 09:58:22 -08:00
Guillaume Coguiec
bd0f276d30
typo: Fix some minor typos.
...
Signed-off-by: Guillaume Coguiec <guillaume@logical.work>
2022-02-07 21:10:25 -05:00
Solomon Hykes
354334a3dc
Simplify docker.#Run
...
* `cmd` is renamed to `command` for readability
* `script` is removed. Feature moves up the stack (bash.#Run,
python.#Run)
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-08 01:35:51 +00:00
Andrea Luzzardi
676a895a0f
Merge pull request #1535 from helderco/docker-set
...
Set image metadata
2022-01-31 16:09:22 -08:00
Helder Correia
9e33a09903
Add docker.#Set for updating image metadata
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-31 22:44:55 -01:00
guillaume
ac30274d96
Implement modifications for engine.#Pull, engine.#Push, docker.#Push, docker.#Pull
...
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-31 23:14:35 +01:00
Vasek - Tom C
32b48f7dce
Optimize tests with simpler workflow
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 22:04:16 +01:00
Tom Chauveau
26b2ef8697
Add tests on docker.#Build
definition
...
- Simple build test
- Multi step to build a go binary
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 21:17:33 +01:00
Joel Longtine
cc54aa6795
Clean up changes from #1505
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 11:15:44 -07:00
Joel Longtine
0de625e1c3
cue fmt
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:30 -07:00
Joel Longtine
6db42168e4
Tests!
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:30 -07:00
Joel Longtine
dcef2958cf
Use image.config in docker.#Run
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:25 -07:00
Richard Jones
da58dfa5a4
fixed shadowing
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-28 10:06:02 -07:00
Richard Jones
23b07215d8
fix universe packages
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-27 20:20:37 -07:00
Vasek - Tom C
4ab852347b
Add test on docker.#Run
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-22 13:33:23 +01:00
Andrea Luzzardi
5016cf5e30
netlify: Europa port
...
- Fix netlify.#Deploy (there's still FIXMEs)
- Externalize the `deploy.sh` script
- Add tests
- Misc engine fixes for more explicit error messages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-20 16:10:14 -08:00
Andrea Luzzardi
2ce9934f7c
docker.#Build: support for nested builds
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-20 15:45:41 -08:00
Helder Correia
17f0b8b1aa
Fix missing auth in docker.#Push
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-18 19:19:08 -01:00
Helder Correia
3956b8b59b
Fix docker.#Run compatibility with docker.#Build
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-15 20:01:06 -01:00
Solomon Hykes
537f2e6cbb
Universe: docker: remove leftover hack
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-01-14 18:13:16 +00:00
Gerhard Lazu
ffcc21a298
Merge pull request #1410 from helderco/port-copy
...
Port docker.#Copy to hidden fields
2022-01-13 08:43:55 +00:00
Helder Correia
a3f586c6ab
Port docker.#Copy to hidden fields
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-13 01:19:23 -01:00
Helder Correia
7592850c43
Fix issue with field in docker.#Push
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-13 01:16:55 -01:00
Andrea Luzzardi
f3dee47353
europa: vendor universe.dagger.io
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-11 18:09:09 -08:00