Commit Graph

3080 Commits

Author SHA1 Message Date
Richard Jones
5016f4597d
Merge pull request #1435 from talentedmrjones/europa-move-transformsecret-secret
moved #TransformSecret to engine/secret.cue
2022-01-14 14:06:41 -07:00
Richard Jones
842a9bf6bb
moved #TransformSecret to engine/secret.cue
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-14 13:29:37 -07:00
Gerhard Lazu
fcdda0b072
Add GitHub Workflow that triggers a release at a regular time in the week
While talking with @aluzzardi, we thought that regular auto-releases
which happen with no intervention on our part would be a good idea. The
last Dagger release (0.1.0-alpha.31) was over 1 month ago, and there are
Europa-related changes which we want to make available in the Dagger
GitHub Action. We should never have more than 1 week of unreleased
changes. While more often is better, and we may need to tweak this later,
this is a decent starting point: release every Tuesday, 5pm UTC & 9am SFO.

We had to adjust the starting point slightly so that we do not start at
the top of the hour when there is high load on GitHub Actions (see the
inline comments for more details)

The workflow can also be triggered manually, and a custom tag can be
provided optionally. If no tag is provided, the last one will be
incremented as expected, e.g. v0.1.0-alpha.31 -> v0.1.0-alpha.32.
Before you get too carried away with custom tags, let's talk about the
unexpected side-effects which are not worth covering in this commit
message ("people over processes").

There is also a concurrency setting which will not prevent multiple
releases to be triggered, but at least these jobs will not run in
parallel. I looked into cancelling the current workflow if another one
of the same type is running, but I couldn't get it to work properly
within my 30 mins time-box so I stopped.

There is a lot to talk about our releases AFTER this gets merged, so
let's defer those conversations until we are happy with the first step
which I think is in the right direction.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-01-14 20:28:45 +00:00
Solomon Hykes
180beee9c7
Merge pull request #1433 from shykes/universe-fix-eval
Universe: fix "cue eval"
2022-01-14 11:07:24 -08:00
Solomon Hykes
91e71b1d58 Universe: fix "cue eval"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-01-14 18:58:56 +00:00
Solomon Hykes
5d4e03ff91
Merge pull request #1432 from shykes/universe-docker-fix
Universe: docker: remove leftover hack
2022-01-14 10:19:37 -08:00
Solomon Hykes
537f2e6cbb Universe: docker: remove leftover hack
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-01-14 18:13:16 +00:00
Andrea Luzzardi
7db1eed602
Merge pull request #1430 from aluzzardi/go-mod-tidy 2022-01-14 01:52:03 -08:00
Andrea Luzzardi
4c673aae52
Merge pull request #1312 from aluzzardi/embedding-poc 2022-01-14 01:51:20 -08:00
Andrea Luzzardi
f6d3f21dd8 fix: go mod tidy
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-14 01:39:50 -08:00
Andrea Luzzardi
6abe77729e europa: Code Embedding POC
WIP PoC for code embedding

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-14 01:34:47 -08:00
Jffarge
63d655d8f3
Merge pull request #1428 from slumbering/docs-404-gcpcloudrun
fix wrong gcpcloudrun package url
2022-01-14 09:30:47 +01:00
jffarge
2d8c296f39 docs: 🐛 fix wrong gcpcloudrun package url
Issues closed by this change: https://github.com/dagger/dagger/issues/1218

Signed-off-by: jffarge <jf@dagger.io>
2022-01-14 09:16:40 +01:00
Andrea Luzzardi
971346c6d5
Merge pull request #1302 from aluzzardi/up-target
Support for partially running a DAG
2022-01-13 23:58:26 -08:00
Andrea Luzzardi
6adc80ee61
Merge pull request #1420 from aluzzardi/gitignore-universe
vendoring: .gitignore universe.dagger.io
2022-01-13 16:20:32 -08:00
Andrea Luzzardi
283eb3a933 exec: mount: improve error reporting on non-concrete mounts
Because of the mount disjunction, passing a non-concrete #FS results in
CUE being confused as to what type of mount it is (Cache, FS, Secret,
...).

This adds an explicit error check.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-13 15:53:40 -08:00
Andrea Luzzardi
5d832a15e8 vendoring: .gitignore universe.dagger.io
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-13 15:53:25 -08:00
Andrea Luzzardi
2b30580217 Support for partially running a DAG
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-13 15:52:13 -08:00
Andrea Luzzardi
2f92d8db4e
Merge pull request #1421 from samalba/fix-mod-tests
mod: fix unit tests since dagger/universe is no more available
2022-01-13 15:51:23 -08:00
Sam Alba
42c4cd7c3e mod: fix unit tests since dagger/universe is no more available
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-13 15:46:34 -08:00
Andrea Luzzardi
44bf6353db
Merge pull request #1419 from dagger/dependabot/npm_and_yarn/website/sass-1.48.0
Bump sass from 1.47.0 to 1.48.0 in /website
2022-01-13 15:34:56 -08:00
Andrea Luzzardi
5e318f09c1
Merge pull request #1415 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.3.0
Bump go.opentelemetry.io/otel/exporters/jaeger from 1.2.0 to 1.3.0
2022-01-13 15:33:03 -08:00
Richard Jones
589fc6b674
Merge pull request #1404 from talentedmrjones/europa-rename-engine-build-dockerfile
rename engine.#Build to engine.#Dockerfile
2022-01-13 16:32:10 -07:00
Richard Jones
d62df71fd4
added heredoc test
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:58 -07:00
Richard Jones
e59ba48ec0
added dockerfile: field back to force evaluation of disjunction
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:55 -07:00
Richard Jones
2745e1ae2e
refactored
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:30 -07:00
Richard Jones
729013ae91
rename engine.#Build to engine.#Dockerfile
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:06 -07:00
Richard Jones
ecc45543a0
Merge pull request #1342 from talentedmrjones/europa-transform-secret
implements engine.#TransformSecret
2022-01-13 15:50:32 -07:00
Richard Jones
d7731fdc19
redacting with stars
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:21:30 -07:00
Richard Jones
63e092c3b1
commented out replace colons
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:06:09 -07:00
Richard Jones
05820f3a67
supports map of secrets; errors redact plaintext
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:06:08 -07:00
Richard Jones
86ae230261
refactored existing tests to use #TransformSecret
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:05:47 -07:00
Richard Jones
86bf3bad86
transform secret
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:04:35 -07:00
dependabot[bot]
567aa49273
Bump sass from 1.47.0 to 1.48.0 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.47.0 to 1.48.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.47.0...1.48.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-01-13 19:17:19 +00:00
dependabot[bot]
3ffd0ef118
Bump go.opentelemetry.io/otel/exporters/jaeger from 1.2.0 to 1.3.0
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.2.0 to 1.3.0.
- [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.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/jaeger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 19:09:08 +00:00
Joel Longtine
447307b3be
Merge pull request #1373 from dagger/dependabot/go_modules/github.com/containerd/containerd-1.5.9
Bump github.com/containerd/containerd from 1.5.8 to 1.5.9
2022-01-13 09:36:35 -07:00
dependabot[bot]
81c31773ea
Bump github.com/containerd/containerd from 1.5.8 to 1.5.9
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.8 to 1.5.9.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.8...v1.5.9)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 16:17:11 +00:00
Jffarge
4b763b291f
Merge pull request #1412 from dagger/dependabot/npm_and_yarn/website/follow-redirects-1.14.7
Bump follow-redirects from 1.14.6 to 1.14.7 in /website
2022-01-13 16:35:48 +01:00
Jffarge
cdc51741dc
Merge pull request #1375 from dagger/dependabot/npm_and_yarn/website/svgr/webpack-6.2.0
Bump @svgr/webpack from 5.5.0 to 6.2.0 in /website
2022-01-13 16:35:24 +01:00
dependabot[bot]
d1bd6c7dbc
Bump follow-redirects from 1.14.6 to 1.14.7 in /website
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 15:18:00 +00:00
dependabot[bot]
f2ad4667f5
Bump @svgr/webpack from 5.5.0 to 6.2.0 in /website
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 5.5.0 to 6.2.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v5.5.0...v6.2.0)

---
updated-dependencies:
- dependency-name: "@svgr/webpack"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 15:17:34 +00:00
Jffarge
5bfb27a98c
Merge pull request #1413 from slumbering/bump-docusaurus-beta.14
[Docs] Update docusaurus to beta-14
2022-01-13 16:15:27 +01:00
jffarge
6b301b274b docs: 🐛 fix editurl path
related to https://github.com/facebook/docusaurus/pull/6119

Signed-off-by: jffarge <jf@dagger.io>
2022-01-13 16:00:35 +01:00
jffarge
707a3f0a4c docs: 🐛 Fix Cypress test wrapper
Signed-off-by: jffarge <jf@dagger.io>
2022-01-13 15:42:13 +01:00
jffarge
b69866b7f9 docs: 📦 Update docusaurus to beta-14
Need to move gtag options from themeconfig to preset-classic configuration. Change introduce with docusaurus beta.10

https://github.com/facebook/docusaurus/pull/5832
Signed-off-by: jffarge <jf@dagger.io>
2022-01-13 15:25:49 +01:00
Gerhard Lazu
0d93df77d5
Merge pull request #1364 from dagger/dependabot/docker/golang-1.16.13-alpine
Bump golang from 1.16.10-alpine to 1.16.13-alpine
2022-01-13 12:41:40 +00:00
Gerhard Lazu
c9fd0cd0b5
Merge pull request #1381 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.3.0
Bump go.opentelemetry.io/otel/sdk from 1.2.0 to 1.3.0
2022-01-13 12:39:53 +00:00
Gerhard Lazu
05bdc7b414
Merge pull request #1365 from dagger/dependabot/npm_and_yarn/website/concurrently-7.0.0
Bump concurrently from 6.5.1 to 7.0.0 in /website
2022-01-13 12:28:44 +00:00
dependabot[bot]
0a44aecf55
Bump concurrently from 6.5.1 to 7.0.0 in /website
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.5.1 to 7.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.5.1...v7.0.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 12:09:41 +00:00
Gerhard Lazu
ffcc21a298
Merge pull request #1410 from helderco/port-copy
Port docker.#Copy to hidden fields
2022-01-13 08:43:55 +00:00