Commit Graph

3433 Commits

Author SHA1 Message Date
Andrea Luzzardi
9547d495b9 ci: Use default CODEOWNERS for docs sidebar
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-07 12:34:27 -07:00
dependabot[bot]
5742114767
build(deps): bump sass from 1.49.11 to 1.50.0 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.11 to 1.50.0.
- [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.11...1.50.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 19:14:48 +00:00
Solomon Hykes
938658eeff Docs: core actions reference
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-07 19:08:21 +00:00
dependabot[bot]
1e120719b8
build(deps): bump go.opentelemetry.io/otel/sdk from 1.6.1 to 1.6.2
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.1...v1.6.2)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 19:07:40 +00:00
Solomon Hykes
ef5c1de662
Merge pull request #2064 from shykes/docs
Docs: various improvements
2022-04-07 11:58:59 -07: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
Solomon Hykes
7f38a6c3e4 Docs: core concepts: actions
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-07 17:58:10 +00:00
Solomon Hykes
0962114557 Docs: new category "guides"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-07 17:52:29 +00: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
Andrea Luzzardi
b48c5ab96e
Merge pull request #2041 from aluzzardi/dagger-linter
ci: lint dagger using dagger
2022-04-07 10:21:17 -07:00
Kenneth Lear
abe1e36032 test: Update project info test to fix issue
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 22:56:56 -04:00
Kenneth Lear
ed236d4934 test: Fixing project info integration test
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 21:47:46 -04:00
Andrea Luzzardi
162949d87d ci: lint dagger using dagger
- `Makefile` now uses `dagger do lint` to lint
- GHA uses dagger to lint

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-06 18:42:18 -07:00
Kenneth Lear
5759071bd7 test: Update project info command to pass lint and test to make sure TEMPDIR is there
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 21:26:46 -04:00
Solomon Hykes
be781daa8a
Merge pull request #2040 from dagger/shykes-docs
Docs: add content to 1205: "building container images"
2022-04-06 17:03:16 -07:00
Solomon Hykes
26cbc7dc68 Docs: add content to 1205: "building container images"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-06 22:49:03 +00:00
Kenneth Lear
90d3724d6a feat: Adding project info command to find where project is located
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 17:52:50 -04:00
Olli Janatuinen
65db7e9824 feat: support .NET
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
2022-04-06 23:10:38 +02:00
dependabot[bot]
d564297886
build(deps): bump amplitude-js from 8.18.0 to 8.18.1 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.18.0 to 8.18.1.
- [Release notes](https://github.com/amplitude/amplitude-javascript/releases)
- [Changelog](https://github.com/amplitude/Amplitude-JavaScript/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amplitude/amplitude-javascript/compare/v8.18.0...v8.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 19:30:34 +00:00
Andrea Luzzardi
f3ac279f73
Merge pull request #2051 from marcosnils/feat/platform_flag
Add experimental way to set a target platform when building
2022-04-06 11:33:23 -07:00
Marcos Lilljedahl
2ec6a398c2 docs: improve comment wording
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-06 14:29:36 -03:00
Marcos Lilljedahl
8969507db6 Add global --experimental flag to gatekeep some features
This commit adds a global --experiemntal flag so we can start
gatekeeping some features where we know beforehand that the UX will very
likely change. It also refactors the current --platform flag to be
avaiable under this experimental flag for the moment

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-06 13:53:21 -03:00
Andrea Luzzardi
893b8dad30
Merge pull request #2018 from dolanor/fix-missing-err-check
fix: add full error handling after os.Stat
2022-04-05 17:00:03 -07:00
Andrea Luzzardi
bfdbc9b6b1
Merge pull request #2019 from helderco/goreleaser-break
ci: Group changelog entries for breaking changes
2022-04-05 16:51:14 -07:00
Marcos Lilljedahl
d80acf805b Add experimental way to set a target platform when building
Add an --experimental-platform flag to the do command to allow
overriding the default auto-detected build platform until we find the
time to think about the definitive multi-platform builds UX

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-05 18:24:14 -03:00
Andrea Luzzardi
7d2f279c59
Merge pull request #2050 from aluzzardi/disable-platform-field
temporarily disable the `platform` field.
2022-04-05 12:20:14 -07: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
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