Commit Graph

3256 Commits

Author SHA1 Message Date
Jffarge
6fe34c7693
Merge pull request #2074 from dagger/dependabot/npm_and_yarn/website/sass-1.50.0
build(deps): bump sass from 1.49.11 to 1.50.0 in /website
2022-04-08 13:58:30 +02:00
Gerhard Lazu
e8393394a4
Merge pull request #2088 from grouville/guides
New content to guide docs
2022-04-08 12:26:59 +01:00
guillaume
7a51c51e84 Docs: Add docs to sidebar
Add documentation to sidebar + fix missing previous ones

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-04-08 11:47:38 +02:00
guillaume
497b155355 Docs: guides/1225-pushing-plan-dependencies
Add documentation enforcing the best practice regarding dagger dependencies `cue.mod/pkg`

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-04-08 11:47:38 +02:00
guillaume
e48262a2fb Docs: 1224-self-signed-certificates
Add documentation on how to use Dagger with self-signed certs

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-04-08 11:47:38 +02:00
guillaume
1157561f1d Docs: 1223-custom-buildkit improvement
Add connection steps to remote buildkitd running in Docker

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-04-08 11:47:38 +02:00
Helder Correia
adc6c3b335
Merge pull request #2086 from yuyicai/fix/typo
chore: Fix typo
2022-04-08 09:38:07 +00:00
yuyicai
ee3777927e chore: Fix typo
Signed-off-by: yuyicai <yuyicai@hotmail.com>
2022-04-08 17:04:44 +08:00
Gerhard Lazu
656533d63a
Merge pull request #2072 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.6.2
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.6.1 to 1.6.2
2022-04-08 09:21:06 +01:00
Gerhard Lazu
8cb25fe047
Merge pull request #2076 from shykes/docs
Docs: various improvements
2022-04-08 09:20:26 +01:00
Solomon Hykes
bea61780d2 Docs: guides: customizing your buildkit installation
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-08 08:08:38 +00:00
Andrea Luzzardi
def93a2942
Merge pull request #2078 from sipsma/fix-client-deadlock 2022-04-07 20:03:49 -07:00
Erik Sipsma
efa24a44a0 client: fix deadlock when connect to buildkitd fails
Before this change, if BUILDKIT_HOST was set to an invalid value that
resulted in the connection of the grpc client to the server to fail,
then deadlock occured waiting for the `eventsCh` to be closed.

This happened because the call to the buildkit client's Build method
returned an error before the provided callback was executed, which is
where the `eventsCh` gets closed.

This change places the creation of `eventsCh` inside the Build callback,
which avoids the increment of the WaitGroup and thus the deadlock in
this error path.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-04-07 19:34:53 -07:00
Helder Correia
caf6e5896d
Merge pull request #2062 from teddylear/project-info-cmd
feat: Adding project info command to find where project is located
2022-04-08 01:01:18 +00:00
Solomon Hykes
bddb9b6543 Docs: move draft articles to "guides"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-08 01:00:32 +00:00
Solomon Hykes
f33133ffd9 Docs: move CLI telemetry to guides section
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-08 01:00:32 +00:00
Solomon Hykes
2d41b674a8 Docs: fix formatting in article 1221
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-08 01:00:32 +00:00
Andrea Luzzardi
419b8adec2
Merge pull request #2077 from aluzzardi/ci-fix-cue-lint
ci: cue linter: include all CUE files
2022-04-07 17:48:47 -07:00
Andrea Luzzardi
4c44543a3d ci: cue linter: include all CUE files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-07 17:35:51 -07:00
Andrea Luzzardi
882e0b4f45
Merge pull request #2070 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.10.1
build(deps): bump github.com/moby/buildkit from 0.10.0 to 0.10.1
2022-04-07 14:18:16 -07:00
Andrea Luzzardi
fb4b216e8c
Merge pull request #2075 from aluzzardi/docs-sidebar-codeowners
ci: Use default CODEOWNERS for docs sidebar
2022-04-07 14:17:54 -07:00
teddylear
7cf8c280af tests: Adding update to project info for negative test case
Signed-off-by: teddylear <teddylear@gmail.com>
2022-04-07 17:17:42 -04: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
Solomon Hykes
c60d7da4d6
Merge pull request #2071 from shykes/docs
Docs: core actions reference
2022-04-07 13:57:09 -07:00
teddylear
69ce99d020 Merge branch 'main' into project-info-cmd 2022-04-07 16:42:59 -04:00
Solomon Hykes
4862a399ff Docs: shorten title of article 1205
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-07 20:35:49 +00:00
dependabot[bot]
749e926295
build(deps): bump github.com/moby/buildkit from 0.10.0 to 0.10.1
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](https://github.com/moby/buildkit/compare/v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 19:53:30 +00:00
dependabot[bot]
b67d1c4411
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger
Bumps [go.opentelemetry.io/otel/exporters/jaeger](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/exporters/jaeger
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 19:52:57 +00:00
Andrea Luzzardi
e193034f58
Merge pull request #2073 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.6.2
build(deps): bump go.opentelemetry.io/otel/sdk from 1.6.1 to 1.6.2
2022-04-07 12:51:50 -07:00
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
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
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