Commit Graph

252 Commits

Author SHA1 Message Date
4c978f3e0b fix(deps): pin dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-26 14:32:09 +00:00
667352ba36 Fixed build 2022-04-20 17:52:26 +02:00
412574659d Adding rust 2022-04-20 16:23:53 +02:00
f496357522 Add rust 2022-04-20 16:23:53 +02:00
Sam Alba
4bef4829aa
Merge pull request #2236 from samalba/ci-gotest
ci: run go unit tests from the dagger plan
2022-04-19 16:55:27 -07:00
Sam Alba
bc17cef74a ci: run go unit tests from the dagger plan
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-04-19 15:41:40 -07:00
vgjm
fe5496b3ff feat: support helm
Signed-off-by: vgjm <vgjm456@qq.com>
2022-04-16 14:10:01 +08:00
Solomon Hykes
23af3ab20b
Merge pull request #2208 from helderco/docs-types
docs: Add types reference
2022-04-15 18:34:41 -05:00
Andrea Luzzardi
eea29d530a
Merge pull request #2181 from Stavrospanakakis/universe-netlify-replace-wrapper-with-cli
universe: netlify: replace curl-based wrapper with cli
2022-04-15 16:12:03 -07:00
Helder Correia
8aef583351
Merge pull request #2212 from aluzzardi/writefile-permissions
core.#WriteFile: default permissions to 0o644
2022-04-15 22:43:29 +00:00
Joel Longtine
dae0ee1d1e
dagger do action options flags
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-04-15 13:54:41 -06:00
Andrea Luzzardi
a05b5c0f83 core.#WriteFile: default permissions to 0o644
Defaulting to 0o600 makes the file inaccessible to `core.#Exec` actions
running with a `user` field.

Ideally `#WriteFile` should support user/group in addition to
permissions.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-15 12:50:32 -07:00
Stavros Panakakis
06eda50a16 universe: netlify: replace curl-based wrapper with cli
Signed-off-by: Stavros Panakakis <stavrospanakakis@gmail.com>
2022-04-15 11:34:22 -07:00
Helder Correia
89475e8618
docs: Add types reference
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-15 11:56:43 +00:00
Helder Correia
543d29bbb1
chore!: Make dagger.#Address private
BREAKING CHANGE: don’t use `dagger.#Address`.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-14 23:26:17 +00:00
Solomon Hykes
dac0e84794
Merge pull request #2011 from olljanat/support-dotnet
feat: support .NET
2022-04-13 11:49:38 -05:00
Andrea Luzzardi
2bb6445e56 ci: fix CUE linter
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-12 16:32:43 -07:00
Helder Correia
b2e87b8ec2
Merge pull request #2138 from teddylear/lua-package
Creating lua package for fmt
2022-04-12 22:29:37 +00:00
Helder Correia
a56a29c6d6
Merge pull request #2115 from NotTheEconomist/patch-2114
universe: python: allow custom path to python
2022-04-12 22:26:12 +00:00
teddylear
78ca8d66c4 feat: add lua universe package and stylua command to fmt check
Signed-off-by: teddylear <teddylear@protonmail.com>
2022-04-12 18:21:22 -04:00
Adam Smith
975413e793
universe: python: allow custom path to python
Closes #2114

Signed-off-by: Adam Smith <adamsmith@nottheeconomist.com>
2022-04-11 10:54:29 -07:00
Helder Correia
42fc1d14d2
docs: Package coding style
This is just to start. We’ll keep iterating on it.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-11 16:07:00 +00:00
yuyicai
ee3777927e chore: Fix typo
Signed-off-by: yuyicai <yuyicai@hotmail.com>
2022-04-08 17:04:44 +08:00
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
Olli Janatuinen
c77f3e6fa9 fix: include env insideo of container on .NET publish
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
2022-04-07 19:48:59 +02:00
Olli Janatuinen
65db7e9824 feat: support .NET
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
2022-04-06 23:10:38 +02:00
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
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