Helder Correia
768c3c51dc
Merge pull request #2043 from NotTheEconomist/patch-1
...
Fix broken API references in universe/python
2022-04-07 21:17:26 +00:00
Adam Smith
80d73bc5cb
universe: python: Update to 0.2
...
Update some API references that had fallen out of use.
Notably this no longer ran, since docker.#Run now asks for an "input" not an "image," alpine.#Image became alpine.#Build and you have to reference its output.
Remove a FIXME -- now copies the inline script to the container as a file rather than executing it with python -c.
Add tests
Signed-off-by: Adam Smith <adamsmith@nottheeconomist.com>
2022-04-07 11:42:03 -07:00
Helder Correia
1577ea4adf
Merge pull request #2027 from helderco/core-move
...
Move image definitions to `dagger/core`
2022-04-05 09:58:39 +00:00
Helder Correia
85072c500a
Merge pull request #2025 from helderco/clirun-mounts
...
Fix mounts in `cli.#Run`
2022-04-05 09:58:03 +00:00
Andrea Luzzardi
50b36a50aa
ci: lint markdown files
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:34:02 -07:00
Andrea Luzzardi
b989c5d661
universe: go: add golangci-lint support
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:33:33 -07:00
Andrea Luzzardi
3e8c9379b5
universe: go: improve cache management
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:33:33 -07:00
Andrea Luzzardi
f90b1ad079
universe: go: do not hardcode default platform
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:33:33 -07:00
Andrea Luzzardi
d79de11fa8
Merge pull request #1971 from vdemeester/universe-go-fix
...
universe: go: add git by default in go.#Image
2022-04-04 15:31:42 -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
Helder Correia
b9c428cf7e
Fix mounts in cli.#Run
...
Moving the `if`s inside the fields avoids some issues.
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 14:04:46 +00:00
Vincent Demeester
2f2a4e0a31
universe: go: add git by default in go.#Image
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2022-04-04 00:44:33 +02:00
Oliver Mannion
7b59db09c5
docs: fix broken link in universe README.md
...
Signed-off-by: Oliver Mannion <125105+tekumara@users.noreply.github.com>
2022-04-03 16:54:51 +10:00
Helder Correia
fb3eafb6fa
Merge pull request #1991 from rawkode/feat/pulumi
...
feat: add Pulumi up action
2022-04-01 20:28:39 +00:00
David Flanagan
574e9ccf16
fix: tidy up a little
...
Signed-off-by: David Flanagan <david@rawkode.dev>
2022-04-01 21:09:59 +01:00
David Flanagan
88748d3563
fix: appease the linter
...
Signed-off-by: David Flanagan <david@rawkode.dev>
2022-04-01 21:03:51 +01:00
David Flanagan
4074b5d264
feat: add Pulumi support
...
Signed-off-by: David Flanagan <david@rawkode.com>
2022-04-01 17:11:30 +01: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
Tom Chauveau
19c0f999f4
Fix export cache issue
...
Resolve #1551 and #1020 .
We are never returning the result of solved operations so Buildkit could not
cache the layer.
This commit implements a simple system to forward operations' result to the
main build to cache it.
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-31 20:36:50 +02:00
Kelton Bassingthwaite
755c1b4962
Changed underscore position in hidden definition.
...
Signed-off-by: Kelton Bassingthwaite <KeltonBassingthwaite@gmail.com>
2022-03-30 15:38:10 -07:00
Kelton Bassingthwaite
ef87a79588
Hid DefaultVersion definition.
...
Also updated to default version to go 1.18.
Signed-off-by: Kelton Bassingthwaite <KeltonBassingthwaite@gmail.com>
2022-03-30 15:38:10 -07:00
Kelton Bassingthwaite
876d478caa
Changed test name due to conflict with bash tests.
...
Signed-off-by: Kelton Bassingthwaite <KeltonBassingthwaite@gmail.com>
2022-03-30 15:38:10 -07:00
Marcos Lilljedahl
e47148ba64
ci: Unify keys and add private key for testing purposes
...
This commit enables PR's to run inegration tests by relying on keys with
only the necessary permissions to run on CI workloads
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-30 19:18:32 -03:00
Andrea Luzzardi
b93c7fa4f1
examples: set as vendored to not count in repository stats
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-29 15:56:56 -07:00
Andrea Luzzardi
9dc30eac9c
Merge pull request #1925 from marcosnils/fix/netlify_action
...
Change prod flag to avoid erros on new projects
2022-03-29 11:46:59 -07:00
Marcos Lilljedahl
5e150c8cfc
Change prod flag to avoid erros on new projects
...
All new projects are created as "locked" by default so this allow their
deployment. Additionally, a moreh helpful error message is added when
NETLIFY_ACCOUNT cannot be found
Fixes #1918
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-29 15:37:29 -03:00
Gerhard Lazu
9920272ce2
Fix helloworld post dagger core package rename
...
Follow-up to https://github.com/dagger/dagger/pull/1866
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-29 19:29:17 +01:00
Gerhard Lazu
04e703e542
Merge pull request #1817 from gerhard/add-helloworld-example
...
Add helloworld example
2022-03-29 00:45:30 +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
75a3ae4204
Merge pull request #1888 from helderco/cli-certs
...
Don’t rely on default docker/cli entrypoint for setting up https
2022-03-28 18:09:21 +00:00
Helder Correia
ebab8e5698
Merge pull request #1887 from helderco/cli-image
...
Make docker/cli image overrideable
2022-03-28 18:09:03 +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
3a2982cd21
Don’t rely on default docker/cli entrypoint for setting up https
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 14:44:51 +00:00
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
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
Solomon Hykes
9f042800da
Merge pull request #1860 from gerhard/europa-docs-plan-tanguy-fresh-pair-of-eyes
2022-03-26 12:45:13 -07: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
Andrea Luzzardi
4f440bc67a
Merge pull request #1842 from helderco/docker-load
...
Add export and load for dagger images
2022-03-25 12:22:40 -07:00
Gerhard Lazu
f322327945
Switch build → _build in .gitignore
...
It is much easier to spot this build dir when it gets prefixed with _
Inspired by Elixir:
https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:37:56 +00:00
Gerhard Lazu
a3cd60d140
Cyclic task dependency error fix (workaround?) for #1857
...
universe.dagger.io/examples/todoapp on europa-docs-plan-tanguy-fresh-pair-of-eyes [$!] via v17.4.0 took 3s
❯ bin/dagger do build
[✔] actions.build.run.script 0.0s
[✔] actions.deps 4.2s
[✔] client.filesystem."./".read 3.0s
[✔] actions.test.script 0.0s
[✔] actions.test 0.8s
[✔] actions.build.run 3.1s
[✔] actions.build.contents 0.0s
[✔] client.filesystem."./_build".write 0.1s
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:35:29 +00:00
Gerhard Lazu
dc5d3340bb
Capture cyclic task dependency error for #1857
...
universe.dagger.io/examples/todoapp on europa-docs-plan-tanguy-fresh-pair-of-eyes [$!?] via v17.4.0
❯ bin/dagger do build
4:32PM FTL failed to execute plan: cyclic task dependency:
task client.filesystem."./_build".write refers to
task actions.build.contents._copy refers to
task actions.build.run._exec refers to
task actions.test._exec refers to
task actions.deps._dag."2"._exec refers to
task actions.deps._dag."1"._copy refers to
task client.filesystem."./_build".write:
/Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/cue.mod/pkg/dagger.io/dagger/fs.cue:114:2
/Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/docker/build.cue:49:2
/Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/docker/run.cue:162:2
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:34:37 +00:00
Gerhard Lazu
5fe04d22e9
Revise Europa Docs - Core Concepts - It all starts with a plan
...
Thank you Tanguy for the "fresh pair of eyes" perspective.
Thank you Tom for the link suggestions.
Supersedes https://github.com/dagger/dagger/pull/1847
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:25:24 +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
Chris Hunt
2018ac99f0
Add PowerShell package ( #1783 )
...
Signed-off-by: Chris Hunt <114173+cdhunt@users.noreply.github.com>
2022-03-24 23:42:27 -01:00
Solomon Hykes
c800cb5a3a
Merge pull request #1833 from marcosnils/fix/todoapp_cache
...
WIP: Add node_modules mount to improve caching times
2022-03-24 11:53:19 -07:00
Andrea Luzzardi
fd2ccc0048
ci: disable telemetry
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-23 19:01:09 -07:00
Marcos Lilljedahl
2da7056ebe
Fix nodeModules scope to avoid polluting TL namespace
...
Ref: https://github.com/dagger/dagger/issues/1711
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-23 11:52:49 -03:00
Marcos Lilljedahl
6344bb020b
Add node_modules mount to improve caching times
...
This commit adds `node_modules` to dagger run commands so cached builds have
similar speed times as running commands locally directly through yarn
<script>
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-22 16:03:15 -03:00
jffarge
9f2b571433
update netlify cli deploy command
...
Signed-off-by: jffarge <jf@dagger.io>
2022-03-22 17:12:13 +01:00