Commit Graph

3307 Commits

Author SHA1 Message Date
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
Andrea Luzzardi
1428c94679
Merge pull request #2028 from marcosnils/feat/detect_platform
Automatically detect target platform based on buildkit worker
2022-04-05 12:04:22 -07:00
Jffarge
9dd4376708
Merge pull request #2030 from dagger/dependabot/npm_and_yarn/website/sass-1.49.11
build(deps): bump sass from 1.49.10 to 1.49.11 in /website
2022-04-05 20:33:44 +02:00
Andrea Luzzardi
2139514760
Merge pull request #2045 from jangraefen/patch-1
Remove incorrect installer documentation
2022-04-05 11:31:59 -07:00
Andrea Luzzardi
18f1eae6e8
Merge pull request #2036 from samalba/docs-windows-symlink
docs: add tip for support symlink with git on Windows
2022-04-05 11:31:22 -07:00
Marcos Lilljedahl
34c7a2ff12 Automatically set target platform based on client architecture
Set the default platform based on the client's OS and architecture. This
function is the same one that buildkit uses (https://github.com/moby/buildkit/blob/master/frontend/dockerfile/builder/build.go#L100-L102) to set the default build target platform

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-05 15:30:11 -03:00
Andrea Luzzardi
715fd9225a
Merge pull request #2049 from gerhard/remove-release-workflow
ci: Remove release.yml workflow
2022-04-05 11:29:12 -07:00
Gerhard Lazu
374ac1800a
ci: Remove release.yml workflow
This has not been used in months, all releases run through
auto-release.yml now.

Follow-up to https://github.com/dagger/dagger/pull/2048

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-04-05 19:04:32 +01:00
Gerhard Lazu
328e6d1c46
Merge pull request #2048 from aluzzardi/ci-autorelease-fix-secrets
ci: fix auto-release secrets
2022-04-05 19:03:24 +01:00
Andrea Luzzardi
4be71eb578 ci: fix auto-release secrets
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-05 10:59:28 -07:00
Gerhard Lazu
ed90287612
Merge pull request #2047 from aluzzardi/fix-workflow-secrets
ci: fix workflow secret names
2022-04-05 18:52:11 +01:00
Andrea Luzzardi
d1d993a79f ci: fix workflow secret names
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-05 10:47:12 -07:00
Tanguy ⧓ Herrmann
9258cbf02e
fix: wrap the error
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
2022-04-05 13:32:36 +02: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
Jan Gräfen
f53660772f Remove incorrect installer documentation
In the installer instruction for Windows it is claimed that the dagger binary is placed inside the System32 folder if permissions allow it, which seems to be no longer part of the install.ps1 script (and seems like a bad idea anyways).

Signed-off-by: Jan Gräfen <223234+jangraefen@users.noreply.github.com>
2022-04-05 08:46:11 +02:00
Andrea Luzzardi
a717ec0734
Merge pull request #1984 from aluzzardi/ci-improvement
CI dogfood improvements
2022-04-04 18:13:15 -07:00
Andrea Luzzardi
93d2224073 ci: move ci infra top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 18:06:54 -07:00
Helder Correia
890638c215
Merge pull request #2017 from helderco/goreleaser-chore
ci: Add changelog exclusion for chores
2022-04-04 23:36:14 +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
517262dfde ci: lint shell
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:34:02 -07:00
Andrea Luzzardi
31daeb05ed ci: improve dogfood configuration
- Use official Go package
- Use golangci-lint package
- Fix node_modules exclusion for local source
- Improve CUE performance by optimizing cache hits

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:34:02 -07:00
Andrea Luzzardi
8fe29cdc76 ci: use dagger from source
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
cf3993a235 task: source: fix vertex name
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:33:33 -07:00
Andrea Luzzardi
0a6fa03c16 client filesystem: remove .dagger from default exclusion
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
Sam Alba
1cd8207b3d docs: add tip for support symlink with git on Windows
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-04-04 15:16:29 -07:00
Helder Correia
fa2ca105aa
Merge pull request #2022 from helderco/goreleaser-full-changelog
ci: Add full changelog to release notes
2022-04-04 20:39:20 +00:00
Marcos Nils
e0533bf4df
docs: fix Europa wording on migration docs (#2032)
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-04 16:40:54 -03:00
dependabot[bot]
9fe4b45139
build(deps): bump sass from 1.49.10 to 1.49.11 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.10 to 1.49.11.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.49.10...1.49.11)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 19:16:43 +00: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
Gerhard Lazu
7dbe4e9aa5
Merge pull request #2002 from jpluscplusm/patch-1
Update 1211-go-docker-swarm.md: tiny typo
2022-04-04 14:35:44 +01:00
Helder Correia
e5c2a3848e
ci: Add full changelog to release notes
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 13:00:37 +00:00
Gerhard Lazu
cc79934c18
Merge pull request #2015 from helderco/goreleaser-github
ci: Use github for the changelog
2022-04-04 12:48:34 +01:00
Tanguy ⧓ Herrmann
f18a2ce03a
fix: add full error handling after os.Stat
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
2022-04-04 13:36:35 +02:00
Helder Correia
a2bf6484dd
ci: Group changelog entries
This gives visibility into breaking changes so that one can look to the changelog to know how to adapt.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 11:36:29 +00:00
Helder Correia
13c4d6d85a
ci: Add changelog exclusion for chores
For tasks that souldn’t be in the changelog but don’t match the other stuff.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 11:30:36 +00:00
Helder Correia
18c7947fb8
ci: Use github for the changelog
This hooks into the PRs and their authors.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 11:16:06 +00:00
Gerhard Lazu
05e9943ff9
Merge pull request #2010 from marcosnils/fix/armv7_arch
Adds support for 32bit armv7 devices.
2022-04-04 11:55:57 +01:00
Jffarge
67bcb7ca20
Merge pull request #2012 from issyl0/correctly-capitalize-github-and-gitlab
docs: Correctly capitalize GitHub and GitLab
2022-04-04 11:56:59 +02:00
Ekin Barut
12c7a410d1
Merge branch 'main' into main 2022-04-04 11:55:16 +03:00
Jffarge
cd948f3749
Merge pull request #1995 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.18.0
build(deps): bump amplitude-js from 8.17.0 to 8.18.0 in /website
2022-04-04 10:04:38 +02:00
Issy Long
ae52ad6011
docs: Correctly capitalize GitLab
Signed-off-by: Issy Long <me@issyl0.co.uk>
2022-04-03 23:56:54 +01:00
Issy Long
13d6a8370f
docs: Correctly capitalize GitHub
Signed-off-by: Issy Long <me@issyl0.co.uk>
2022-04-03 23:56:53 +01: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
Marcos Lilljedahl
feaa1feb9e Adds support for 32bit armv7 devices.
This allows running Dagger in armv7 32 bit architectures.

Fixes #2007

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-03 18:08:03 -03:00