Commit Graph

2712 Commits

Author SHA1 Message Date
Sam Alba
bbbecf8830 test: fixed ci
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-30 18:26:57 -08:00
Andrea Luzzardi
b2895d3105
Merge pull request #1167 from aluzzardi/dagger-fs
dagger.#FS support
2021-11-30 17:28:23 -08:00
Andrea Luzzardi
0aea10d23e dagger.#FS support
- Implement dagger.#FS support
- Migrate `context.imports` to dagger.#FS
- Backward compat: dagger.#FS can be passed in lieu of a
  dagger.#Artifact
- For instance, an import (`dagger.#FS`) can be passed to the current
  `yarn.#Package` implementation

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-30 12:58:50 -08:00
Andrea Luzzardi
6bedfb7c63
Merge pull request #1162 from aluzzardi/europa-context
europa: new execution engine and #Plan support
2021-11-29 16:14:14 -08:00
Andrea Luzzardi
51af80b5a8
Merge pull request #1163 from dagger/dependabot/npm_and_yarn/website/sass-1.43.5
build(deps): bump sass from 1.43.4 to 1.43.5 in /website
2021-11-29 13:48:22 -08:00
dependabot[bot]
f94cc2b6af
build(deps): bump sass from 1.43.4 to 1.43.5 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.43.4 to 1.43.5.
- [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.43.4...1.43.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 19:13:40 +00:00
Andrea Luzzardi
81ec746d2c core: component -> task
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:58:24 -08:00
Andrea Luzzardi
ef407c787a runtime: context: support secret files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
db55cf7583 runtime: context: support secret environment variables
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
131551f9cd runtime: support for context imports
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
608f254449 runtime: support legacy Pipelines in new execution engine
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
2a4db167e4 runtime: new execution engine
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
cdcb09126b client: take localdirs as argument
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:13:30 -08:00
Andrea Luzzardi
b5e2ba63c6 runner: fix empty CUE value check
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:08:40 -08:00
Andrea Luzzardi
b92905e175 client: re-enable opentelemetry for buildkit
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:05:53 -08:00
Sam Alba
399a7aba30
Merge pull request #1158 from grouville/http-wait
http.#Wait package implementation
2021-11-24 14:25:46 -08:00
Andrea Luzzardi
3d9de416f2
Merge pull request #1161 from grouville/fix-regression-logs
Fix error printing regression w/ wrong Cue
2021-11-23 15:13:32 -08:00
Andrea Luzzardi
8aab5e939c
Merge pull request #1137 from Alvise88/patch-1
Fix typo in docker command
2021-11-23 14:57:44 -08:00
guillaume
d9669216b6 Fix regression in error printing when Wrong Cue parsing
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-23 23:47:57 +01:00
Andrea Luzzardi
bab40d4027
Merge pull request #1160 from dagger/dependabot/npm_and_yarn/website/algoliasearch-helper-3.6.2
build(deps): bump algoliasearch-helper from 3.4.4 to 3.6.2 in /website
2021-11-23 14:46:54 -08:00
Andrea Luzzardi
020a029186
Merge pull request #1157 from dagger/dependabot/npm_and_yarn/website/cypress-9.1.0
build(deps-dev): bump cypress from 8.5.0 to 9.1.0 in /website
2021-11-23 14:46:45 -08:00
dependabot[bot]
c03455bcaa
build(deps): bump algoliasearch-helper from 3.4.4 to 3.6.2 in /website
Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.4.4 to 3.6.2.
- [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases)
- [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG)
- [Commits](https://github.com/algolia/algoliasearch-helper-js/compare/3.4.4...3.6.2)

---
updated-dependencies:
- dependency-name: algoliasearch-helper
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 21:41:33 +00:00
guillaume
475e47de09 Modify getting started doc to integrate http.#Wait, fix doc dependency issue
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-23 21:30:03 +01:00
dependabot[bot]
dd28cde83b
build(deps-dev): bump cypress from 8.5.0 to 9.1.0 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.5.0 to 9.1.0.
- [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/v8.5.0...v9.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 19:20:58 +00:00
guillaume
84952b1725 Add tests for http.#Wait
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-23 19:24:00 +01:00
guillaume
6ce8731d69 Fix infinite loop issue on container healthcheck
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-23 19:22:19 +01:00
guillaume
ec3c39aea0 Implement http.#Wait to wait for a URL to be ready. It creates a dependency in the Cue tree
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-23 18:33:28 +01:00
Andrea Luzzardi
b0f711e0eb
Merge pull request #1153 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.12.0
build(deps): bump amplitude-js from 8.11.0 to 8.12.0 in /website
2021-11-22 11:41:28 -08:00
Alvise88
656d6beb31 Fix typo in docker command
Signed-off-by: Alvise88 <vitalvise@gmail.com>
2021-11-19 15:56:17 -08:00
Andrea Luzzardi
3609f3e541
Merge pull request #1154 from joelclermont/patch-1
typo fixes
2021-11-19 15:52:50 -08:00
Andrea Luzzardi
f7820b10e6
Merge pull request #1142 from aluzzardi/europa-plancontext
europa: prepare the transition to `#Plan.context`
2021-11-19 15:49:27 -08:00
Joel Clermont
30d9981ee3 typo fixes
Signed-off-by: Joel Clermont <jclermont@gmail.com>
2021-11-19 16:51:20 -06:00
Andrea Luzzardi
0765dc2a97
Merge pull request #1149 from TomChv/fix/mod-get-without-project
Dagger mod get now work without environment
2021-11-19 11:30:43 -08:00
Andrea Luzzardi
2beace385c add test for plancontext
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-19 11:29:38 -08:00
Andrea Luzzardi
22fb91548b test: docker-run-ports: fix sandbox escaping of dagger stream
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-19 11:29:38 -08:00
Andrea Luzzardi
a61e8dcb62 prepare the transition to #Plan.context
This change helps the transition between `dagger input` and `#Plan.context`.

In summary, the codebase now relies on a *context* for execution with mapping to *IDs*.
In the future, *context* will come from a `#Plan.context`.
In the meantime, a bridge converts `dagger input` to a plan context. This allows both *old* and *new* style configurations to co-exist with the same underlying engine.

- Implement `plancontext`. Context holds the execution context for a plan. Currently this includes the platform, local directories, secrets and services (e.g. unix/npipe).
- Contextual data can be registered at any point. In the future, this will be done by `#Plan.context`
- Migrated the `dagger input` codebase to register inputs in a `plancontext`
- Migrated low-level types/operations to the *Context ID* pattern.
  - `dagger.#Stream` now only includes an `id` (instead of `unix` path)
  - `dagger.#Secret` still includes only an ID, but now it's based off `plancontext`
  - `op.#Local` now only includes an `id` (instead of `path`, `include`, `exclude`.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-19 11:29:38 -08:00
Andrea Luzzardi
88312f7f82
Merge pull request #1152 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.9.3
build(deps): bump github.com/moby/buildkit from 0.9.2 to 0.9.3
2021-11-19 11:29:17 -08:00
dependabot[bot]
7d142d2d58
build(deps): bump amplitude-js from 8.11.0 to 8.12.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.11.0 to 8.12.0.
- [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.11.0...v8.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 19:18:31 +00:00
Tom Chauveau
9943085ef3
dagger mod get doesn't need an environment anymore to work.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-11-19 14:30:53 +01:00
dependabot[bot]
c5277c8599
build(deps): bump github.com/moby/buildkit from 0.9.2 to 0.9.3
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](https://github.com/moby/buildkit/compare/v0.9.2...v0.9.3)

---
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>
2021-11-18 19:29:53 +00:00
Andrea Luzzardi
86821325b5
Merge pull request #1148 from slumbering/fix/amplitude-dynamic-import
Use common import instead of dynamic for Amplitude-js
2021-11-18 09:21:23 -08:00
jffarge
4d07e2af40 docs: 🐛 remove --frozen-lockfile option to update yarn.lock
Signed-off-by: jffarge <jf@dagger.io>
2021-11-18 15:39:53 +01:00
jffarge
fa8925fd0a docs: 🐛 downgrade cypress to 8.5.0 avoiding a Runner unexpectedly exited
Related Cypress issue : https://github.com/cypress-io/cypress/issues/18681

Signed-off-by: jffarge <jf@dagger.io>
2021-11-18 14:57:22 +01:00
jffarge
0fbb4613b3 docs: 🐛 Use common import instead of dynamic for Amplitude-js
Signed-off-by: jffarge <jf@dagger.io>
2021-11-18 11:50:01 +01:00
Sam Alba
28f3902db5
Merge pull request #1146 from samalba/fix-ci-ignore-locks
Fix CI errors
2021-11-17 16:43:51 -08:00
Sam Alba
6ef5f52db5 project: add dagger.lock to gitignore when pulling an external dep
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-17 16:25:49 -08:00
Sam Alba
9669d5fce8 test: disabled test on private repo (repo_test.go:56: ssh: handshake failed: knownhosts: key mismatch)
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-17 16:23:53 -08:00
Sam Alba
7450c70214 mod/stdlib: attempt to remove the lock file after file unlock
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-17 16:23:23 -08:00
Andrea Luzzardi
1b401dbc86
Merge pull request #1140 from grouville/fix/ci
CI: Fix infinite loop + fix issue
2021-11-17 12:45:55 -08:00
Sam Alba
428ce96133
Merge pull request #1141 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.11.0
build(deps): bump amplitude-js from 8.10.0 to 8.11.0 in /website
2021-11-17 08:46:43 -08:00