Commit Graph

3045 Commits

Author SHA1 Message Date
Richard Jones
f3a75f8d74
improved handling of p []cue.Selector in for loop
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-05 10:01:06 -07:00
Richard Jones
3ce41fedf1
improved handling of p []cue.Selector
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-05 09:54:38 -07:00
Richard Jones
a087161fbb implemented #DecodeSecret as engine task
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-04 14:03:55 -07:00
Andrea Luzzardi
5dfdf5149f
Merge pull request #1514 from gerhard/tests-lints-ignore-unrelated-paths
Do not run lint & tests on unrelated file changes
2022-02-04 11:35:07 -08:00
Andrea Luzzardi
d7c43fadc8
Merge pull request #1554 from aluzzardi/tty-log-collapse-hidden-fields
logger: collapse logs for hidden fields
2022-02-04 10:41:48 -08:00
Andrea Luzzardi
55a9c9100d logger: collapse logs for hidden fields
This change "collapses" together log "groups" containing hidden fields
for the TTY logger.

e.g. `actions.foo._a` and `actions.foo_b` will show up as a combined `actions.foo`.

Caveats: Since we don't know in advance how many tasks are in a group, the state will change back and forth.
For each task in a group, the state will transition from computing to complete (e.g. blue to green), then back to computing and so on.
The transition is fast enough not to be visibile.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-02-04 10:03:14 -08:00
Jffarge
bc56b2da31
Merge pull request #1547 from dagger/dependabot/npm_and_yarn/website/sass-1.49.7
build(deps): bump sass from 1.49.4 to 1.49.7 in /website
2022-02-04 14:34:38 +01:00
Gerhard Lazu
5c79824774
Merge pull request #1552 from gerhard/fix-dagger-version-on-make-install
Set the version when installing via make install
2022-02-04 12:27:57 +00:00
Gerhard Lazu
bcd175e5eb
Use paths instead of paths-ignore for trigerring actions
Andrea made some great suggestions, thanks!

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-04 12:18:21 +00:00
Gerhard Lazu
1b17d3b9e2
Do not run lint & tests on unrelated file changes
These paths shouldn't trigger lint or test runs.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-04 12:00:54 +00:00
Gerhard Lazu
c9a8159f28
Set the version when installing via make install
Before:
    dagger devel () darwin/amd64

After:
    dagger devel (1d1b9083) darwin/amd64

Also removed the dependency on the dagger target, since go install is
very similar to go build, the only difference in this context is that it
places the binary in $GOPATH/bin.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-04 11:59:50 +00:00
Andrea Luzzardi
1d1b9083b3
Merge pull request #1548 from samalba/alpine-pinning
universe: add note about package pinning for later
2022-02-03 16:06:06 -08:00
Sam Alba
1d1ce2ba28 universe: add note about package pinning for later
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-02-02 14:59:47 -08:00
dependabot[bot]
ca2902fc23
build(deps): bump sass from 1.49.4 to 1.49.7 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.4 to 1.49.7.
- [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.4...1.49.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 19:13:44 +00:00
Jffarge
c1b1cdb062
Merge pull request #1541 from dagger/dependabot/npm_and_yarn/website/cypress-9.4.1
build(deps-dev): bump cypress from 9.3.1 to 9.4.1 in /website
2022-02-02 13:19:17 +01:00
Jffarge
b58edfe104
Merge pull request #1542 from dagger/dependabot/npm_and_yarn/website/mdx-js/react-2.0.0
build(deps): bump @mdx-js/react from 1.6.22 to 2.0.0 in /website
2022-02-02 11:14:48 +01:00
Andrea Luzzardi
4b03e94ad3
Merge pull request #1543 from dagger/dependabot/npm_and_yarn/website/sass-1.49.4
build(deps): bump sass from 1.49.0 to 1.49.4 in /website
2022-02-01 15:02:39 -08:00
dependabot[bot]
2800040957
build(deps): bump sass from 1.49.0 to 1.49.4 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.0 to 1.49.4.
- [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.0...1.49.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 19:14:31 +00:00
dependabot[bot]
d1103b1a14
build(deps): bump @mdx-js/react from 1.6.22 to 2.0.0 in /website
Bumps [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react) from 1.6.22 to 2.0.0.
- [Release notes](https://github.com/mdx-js/mdx/releases)
- [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md)
- [Commits](https://github.com/mdx-js/mdx/commits/2.0.0/packages/react)

---
updated-dependencies:
- dependency-name: "@mdx-js/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 19:14:16 +00:00
dependabot[bot]
adea6b87f9
build(deps-dev): bump cypress from 9.3.1 to 9.4.1 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.3.1 to 9.4.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.3.1...v9.4.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 19:13:57 +00:00
Gerhard Lazu
3f5f4af402
Restore auto-release time to the original value
This was set temporarily 4h later than originally intended so that it
would go through the day that we expected it to. Now that we know it
worked, let's restore it back to the time that matches morning in SFO &
early evening in Europe.

I see no reason to create extra PR work, shipping it straight into main.
FTR, this changes a single value, 21 -> 17, and a few comments.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-01 16:18:17 +00:00
Andrea Luzzardi
7425c0e60f
Merge pull request #1538 from talentedmrjones/europa-engine-decode-secret
Fix data race with TransformSecret
2022-01-31 18:33:40 -08:00
Richard Jones
9d899a6282
fixed lint issue
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-31 18:46:10 -07:00
Richard Jones
d2472c57c7
using map[string]string and moved Secrets.New outside of Walk
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-31 18:37:31 -07:00
Andrea Luzzardi
a24d9d7eeb
Merge pull request #1537 from aluzzardi/fix-double-vendoring
Fix nested vendoring
2022-01-31 17:30:51 -08:00
Andrea Luzzardi
1f97da4eb9 Fix nested vendoring
For code embedding (e.g. deploy.sh), we've changed vendor embedding to
include all contents instead of just CUE files #1526.

The problem is we're vendoring the package's `cue.mod/pkg`.

This fixes it.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-31 17:06:00 -08:00
Andrea Luzzardi
676a895a0f
Merge pull request #1535 from helderco/docker-set
Set image metadata
2022-01-31 16:09:22 -08:00
Andrea Luzzardi
946629d1fa
Merge pull request #1534 from grouville/reconcile-auth
Reconcile docker.#Push.auth and engine.#Push.auth
2022-01-31 16:08:53 -08:00
Helder Correia
9e33a09903
Add docker.#Set for updating image metadata
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-31 22:44:55 -01:00
Andrea Luzzardi
15bb3d9c3b
Merge pull request #1528 from helderco/outputs-files
Add output files
2022-01-31 15:43:35 -08:00
Andrea Luzzardi
0f9c4d1884
Merge pull request #1530 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.16.1
build(deps): bump amplitude-js from 8.16.0 to 8.16.1 in /website
2022-01-31 15:41:35 -08:00
guillaume
d3dca120f7 Implement modifications for engine.#Dockerfile tests, and fix lint errors
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-02-01 00:35:02 +01:00
guillaume
7778389de9 Modify #Push, #Pull tests
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-31 23:14:35 +01:00
guillaume
ac30274d96 Implement modifications for engine.#Pull, engine.#Push, docker.#Push, docker.#Pull
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-31 23:14:35 +01:00
guillaume
1a98c572b8 Make ParseAuthHost public
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-31 23:14:35 +01:00
Helder Correia
813a476e06
Add outputs.files task to plan
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-31 20:53:54 -01:00
dependabot[bot]
6bb87863cb
build(deps): bump amplitude-js from 8.16.0 to 8.16.1 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.16.0 to 8.16.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.16.0...v8.16.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-01-31 19:46:26 +00:00
Andrea Luzzardi
f6a71b95cf
Merge pull request #1531 from dagger/dependabot/npm_and_yarn/website/svgr/webpack-6.2.1
build(deps): bump @svgr/webpack from 6.2.0 to 6.2.1 in /website
2022-01-31 11:44:51 -08:00
dependabot[bot]
b838e09ef4
build(deps): bump @svgr/webpack from 6.2.0 to 6.2.1 in /website
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 6.2.0 to 6.2.1.
- [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/v6.2.0...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 19:18:08 +00:00
Andrea Luzzardi
025ce14ed3
Merge pull request #1526 from TomChv/fix/embed-sh-script
Embed shell script into universe
2022-01-28 15:22:26 -08:00
Andrea Luzzardi
a850f54533
Merge pull request #1527 from aluzzardi/source-relpath
engine.#Source: Fix relative path support
2022-01-28 15:21:14 -08:00
Andrea Luzzardi
3a90542446 engine.#Source: Fix relative path support
Fixes #1492

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-28 15:00:52 -08:00
Andrea Luzzardi
a0c89a335f
Merge pull request #1511 from slumbering/fix/check-docker-version
log error while removing buildkit instead of returning one
2022-01-28 14:23:51 -08:00
Vasek - Tom C
6f5095ec19
Fix permissions issue and doc generation issue
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 23:17:52 +01:00
Andrea Luzzardi
49e7f2860f
Merge pull request #1524 from TomChv/test/docker-build
Add tests on `docker.#Build` definition
2022-01-28 13:33:17 -08:00
Vasek - Tom C
32b48f7dce
Optimize tests with simpler workflow
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 22:04:16 +01:00
Vasek - Tom C
5de86cb1ee
Embed all files instead of just cue file
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 22:02:21 +01:00
Tom Chauveau
26b2ef8697
Add tests on docker.#Build definition
- Simple build test
- Multi step to build a go binary

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 21:17:33 +01:00
Richard Jones
c2a7766293
Merge pull request #1509 from talentedmrjones/europa-secrets-wrappers
Implements #DecodeSecret as a wrapper to #TransformSecret
2022-01-28 12:52:53 -07:00
Richard Jones
4f2c6e55e4
added DecodeSecret as a wrapper to TransformSecret; supports yaml and json secrets
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-28 12:26:22 -07:00