Commit Graph

3173 Commits

Author SHA1 Message Date
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
Joel Longtine
afb64e926f
Merge pull request #1517 from jlongtine/docker-run-image-config
Use image.config in `docker.#Run`
2022-01-28 11:31:16 -07:00
Joel Longtine
cc54aa6795 Clean up changes from #1505
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 11:15:44 -07:00
Joel Longtine
b0b84db5e8 Close #ImageConfig
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:59:09 -07:00
Joel Longtine
0de625e1c3 cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:30 -07:00
Joel Longtine
6db42168e4 Tests!
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:30 -07:00
Joel Longtine
dcef2958cf Use image.config in docker.#Run
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:25 -07:00
Joel Longtine
7788b9f2f3
Merge pull request #1505 from helderco/image-config
Make env in ImageConfig a map
2022-01-28 10:48:31 -07:00
Joel Longtine
7b8a637bea
Merge pull request #1519 from jlongtine/mod-get-europa
Remove dependence on project, use cue.mod path.
2022-01-28 10:39:25 -07:00
Richard Jones
f47d44da79
Merge pull request #1521 from talentedmrjones/europa-engine-copy-docker-copy
engine.#Copy matches docker.#Copy
2022-01-28 10:25:47 -07:00
Joel Longtine
938444a084 Remove project + Project telemetry
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:09:38 -07:00
Richard Jones
da58dfa5a4
fixed shadowing
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-28 10:06:02 -07:00
Vasek - Tom C
fcd90fa78a
Solves #1512
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-28 15:27:32 +01:00
Jffarge
cb3a6ed0c3
Merge pull request #1523 from Breigner01/fix/install-doc
Fix Build from source instructions
2022-01-28 14:52:12 +01:00
Benjamin Reigner
900f23215e
fix: Build from source instructions
The build from source instructions were deprecated since it prints the
available make targets when running `make` whereas, before it built
dagger in dev mode.
Now to build dagger in dev mode, you have to run `make dagger`.
The doc is now up to date with this.

Signed-off-by: Benjamin Reigner <benjamin.reigner@epitech.eu>
2022-01-28 11:38:04 +01:00
jffarge
6ef7c4c764 fix: 🐛 improve message consistency + log error
Signed-off-by: jffarge <jf@dagger.io>
2022-01-28 10:56:33 +01:00
Richard Jones
23b07215d8
fix universe packages
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-27 20:20:37 -07:00
Richard Jones
7eb10f96fb
engine.#Copy matches docker.#Copy
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-27 20:09:12 -07:00
Joel Longtine
b33d6b2243 Remove dependence on project, use cue.mod path.
Ensure that we have done an init in this folder.

Also, force a clean checkout of the tag we've chosen to upgrade to.

Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-27 16:54:42 -07:00
jffarge
75c275c600 fix: 🐛 log error while removing buildkit instead of returning one
Signed-off-by: jffarge <jf@dagger.io>
2022-01-27 12:05:39 +01:00
Gerhard Lazu
39e206e7d2
Merge pull request #1499 from gerhard/restore-docker-compose-tests
Restore ssh (Universe) tests
2022-01-26 23:41:15 +00:00
Gerhard Lazu
6ab71e1299
Merge pull request #1473 from slumbering/docs/caution-docker-version
Display caution message about docker requirement
2022-01-26 23:32:09 +00:00
Gerhard Lazu
5719ccbc96
Add a new make target that provisions dagger-ci declaratively
While at it, add help make target & make it the default.
This explains all make targets. Run `make help` to see it in action 😉

dagger-ci-pr1499-2022-01-26 API token was added as an AGE secret. It can
be accessed only by the intended recipients are able to decrypt it with
their private SSH keys.

    echo "TOKEN" | age -R .age.recipients.txt -o .do.dagger-ci-pr1499-2022-01-26.age

Do not assume that /bin/true exists on hosts running Docker.  Use "true"
and let the system resolve the path.

Re-enable all ssh Universe tests.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-01-26 23:13:59 +00:00