Andrea Luzzardi
8d7d808024
temporarily disable the platform
field.
...
Need some more time to figure out the correct API.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-05 12:13:33 -07:00
Helder Correia
d55088c612
refactor!: Move image definitions to dagger/core
...
BREAKING CHANGE: Adjust imports for for `#Ref`, `#ImageConfig` and `#HealthCheck`.
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 17:02:53 +00:00
Andrea Luzzardi
57770d347f
copy: support for include/exclude
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-31 18:13:49 -07:00
Gerhard Lazu
ad53d41755
Replace HTTPS endpoint with npipe in #Socket description
...
This was mixing layer 4 & 7 concerns. It's clearer now.
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-28 22:31:44 +01:00
Helder Correia
d771699df9
Move connecting socket to client: network
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 18:16:07 +00:00
Helder Correia
6a2bbc62e0
Rename dagger.#Service
to dagger.#Socket
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 17:56:25 +00:00
Helder Correia
5abd77f4f2
Move types and plan back to main dagger package
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 12:18:33 +00:00
Helder Correia
b3bdd347e7
Move core actions to a subpackage
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-27 17:33:47 +00: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
Andrea Luzzardi
8b7e591851
Merge pull request #1790 from shykes/nop
...
dagger.#Nop: work around bugs in the DAG resolver
2022-03-16 13:40:26 -07:00
Solomon Hykes
9d1e7e2acc
dagger.#Nop: work around bugs in the DAG resolver
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-03-12 07:05:34 +00:00
Erik Sipsma
b67d2d44ad
Add support for Merge and Diff fs operations.
...
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-03-10 20:22:14 -08:00
Helder Correia
34b6c289dd
Remove path based task lookup
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-09 11:29:26 -01:00
Andrea Luzzardi
f72dde1d0d
Merge pull request #1704 from helderco/inputs-outputs-cleanup
...
Inputs/outputs cleanup
2022-03-08 16:16:15 -08:00
Andrea Luzzardi
64e8afb3f3
Merge pull request #1681 from helderco/trim-secret
...
Add #TrimSecret task
2022-03-08 15:51:32 -08:00
Helder Correia
24d3f82fc7
Cleanup inputs, outputs and proxy
...
Superceded by Client API.
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 20:45:28 -01:00
Helder Correia
da90baa087
Add new Client API
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00
Helder Correia
5ca5f8a729
Add #TrimSecret task
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-03 14:58:30 -01:00
Helder Correia
9385a6346a
Rename image config field for consistency
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-02-17 11:14:57 -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
Andrea Luzzardi
bf6d463833
Merge pull request #1557 from talentedmrjones/europa-engine-exec-secret-env
...
implemented ability to pass #Secret as env var
2022-02-15 16:30:13 -07:00
Solomon Hykes
3d56513895
Rename dagger.#DAG to dagger.#Plan
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-15 22:45:47 +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
3231d69d06
Merge pull request #1550 from talentedmrjones/europa-decode-secret-task
...
implemented #DecodeSecret as engine task
2022-02-08 11:48:14 -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
Richard Jones
a087161fbb
implemented #DecodeSecret as engine task
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-04 14:03:55 -07:00
Andrea Luzzardi
676a895a0f
Merge pull request #1535 from helderco/docker-set
...
Set image metadata
2022-01-31 16:09:22 -08:00
Andrea Luzzardi
946629d1fa
Merge pull request #1534 from grouville/reconcile-auth
...
Reconcile docker.#Push.auth and engine.#Push.auth
2022-01-31 16:08:53 -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
d3dca120f7
Implement modifications for engine.#Dockerfile tests, and fix lint errors
...
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-02-01 00:35:02 +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
Helder Correia
813a476e06
Add outputs.files task to plan
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-31 20:53:54 -01:00
Richard Jones
4f2c6e55e4
added DecodeSecret as a wrapper to TransformSecret; supports yaml and json secrets
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-28 12:26:22 -07: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
b0b84db5e8
Close #ImageConfig
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:59:09 -07:00
Joel Longtine
7788b9f2f3
Merge pull request #1505 from helderco/image-config
...
Make env in ImageConfig a map
2022-01-28 10:48:31 -07:00
Richard Jones
7eb10f96fb
engine.#Copy matches docker.#Copy
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-27 20:09:12 -07:00
Helder Correia
c276a8b8ba
Make env in ImageConfig a map
...
Fields in CUE were renamed to the lowercase version of Dockerfile instructions.
There's now opportunity to make other fields simpler to use (e.g., healthcheck), this commit is focused on env.
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-26 17:12:08 -01:00
Andrea Luzzardi
8ff72a5fa3
test: clean up yarn test
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-21 12:45:59 -08:00
Andrea Luzzardi
5e950b6fe9
stdlib: expose dagger.#Source
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-20 16:50:53 -08:00
Sam Alba
4576b24f24
engine/types: revert change based from @aluzzardi feedback
...
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:19:09 -08:00
Andrea Luzzardi
c7ffdf788f
WIP: Fix Europa yarn
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-19 11:17:05 -08:00
Richard Jones
842a9bf6bb
moved #TransformSecret to engine/secret.cue
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-14 13:29:37 -07:00
Andrea Luzzardi
6abe77729e
europa: Code Embedding POC
...
WIP PoC for code embedding
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-14 01:34:47 -08:00
Richard Jones
e59ba48ec0
added dockerfile: field back to force evaluation of disjunction
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:55 -07:00
Richard Jones
2745e1ae2e
refactored
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:30 -07:00
Richard Jones
729013ae91
rename engine.#Build to engine.#Dockerfile
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:06 -07:00
Richard Jones
05820f3a67
supports map of secrets; errors redact plaintext
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:06:08 -07:00
Richard Jones
86bf3bad86
transform secret
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:04:35 -07:00
guillaume
db54a43a91
Port #Subdir to hidden fields
...
@jlongtine just implemented the possibility to use hidden fields.
This PR uses this new implementation
Pair: @jlongtine
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-13 00:42:22 +01:00