Commit Graph

2238 Commits

Author SHA1 Message Date
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
dependabot[bot]
3d5a10dba4
build(deps): bump amplitude-js from 8.10.0 to 8.11.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.10.0 to 8.11.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.10.0...v8.11.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-16 19:15:39 +00:00
guillaume
b38cb606f4 Fix infinite loop inside doc test + fix issue
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-11-16 15:50:46 +01:00
Andrea Luzzardi
002608b3ba
Merge pull request #1131 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.2.0
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.1.0 to 1.2.0
2021-11-15 16:22:41 -08:00
dependabot[bot]
1f2a9b06a5
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.1.0 to 1.2.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.1.0...v1.2.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>
2021-11-15 23:51:40 +00:00
Andrea Luzzardi
a512150966
Merge pull request #1129 from dagger/dependabot/npm_and_yarn/website/cypress-9.0.0
build(deps-dev): bump cypress from 8.7.0 to 9.0.0 in /website
2021-11-15 15:34:47 -08:00
Andrea Luzzardi
567f872464
Merge pull request #1133 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.2.0
build(deps): bump go.opentelemetry.io/otel/sdk from 1.1.0 to 1.2.0
2021-11-15 15:34:33 -08:00
Andrea Luzzardi
416daae774
Merge pull request #1134 from talentedmrjones/docs-improvement-builtin-vs-package-vs-definition
DOCS: clarified builtin vs third-party packages
2021-11-15 11:56:08 -08:00
dependabot[bot]
6ae360c1c4
build(deps-dev): bump cypress from 8.7.0 to 9.0.0 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.7.0 to 9.0.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.7.0...v9.0.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-15 19:40:51 +00:00
Andrea Luzzardi
ac90111a28
Merge pull request #1138 from dagger/dependabot/npm_and_yarn/website/concurrently-6.4.0
build(deps-dev): bump concurrently from 6.3.0 to 6.4.0 in /website
2021-11-15 11:37:17 -08:00
Andrea Luzzardi
2211adb882
Merge pull request #1139 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.10.0
build(deps): bump amplitude-js from 8.9.1 to 8.10.0 in /website
2021-11-15 11:37:06 -08:00
dependabot[bot]
821732c523
build(deps): bump amplitude-js from 8.9.1 to 8.10.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.9.1 to 8.10.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.9.1...v8.10.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-15 19:15:50 +00:00
dependabot[bot]
3fba338588
build(deps-dev): bump concurrently from 6.3.0 to 6.4.0 in /website
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.3.0...v6.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 19:15:23 +00:00
Andrea Luzzardi
1ecfa37484
Merge pull request #1135 from aluzzardi/remove-println
remove forgotten debug printf
2021-11-12 17:46:28 -08:00
Andrea Luzzardi
53b588029b remove forgotten debug printf
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-12 17:27:26 -08:00
Richard Jones
ff78b51c83
clarified builtin vs third-party packages
Signed-off-by: Richard Jones <richard@dagger.io>
2021-11-12 14:42:15 -07:00
dependabot[bot]
5f93d429d9
build(deps): bump go.opentelemetry.io/otel/sdk from 1.1.0 to 1.2.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.1.0 to 1.2.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.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 19:31:00 +00:00
Andrea Luzzardi
9daf1db9b1
Merge pull request #1122 from joaofnds/patch-1
fix(docs): fix typo
2021-11-12 10:41:46 -08:00
Andrea Luzzardi
432250f735
Merge pull request #1126 from dagger/dependabot/npm_and_yarn/website/cypress-localstorage-commands-1.6.1
build(deps-dev): bump cypress-localstorage-commands from 1.6.0 to 1.6.1 in /website
2021-11-12 10:41:25 -08:00
João Fernandes
111c5b9cc8
fix(docs): fix typo
Signed-off-by: João Fernandes <joaofnds@joaofnds.com>
2021-11-11 18:29:37 -03:00
dependabot[bot]
a944e7cea3
build(deps-dev): bump cypress-localstorage-commands in /website
Bumps [cypress-localstorage-commands](https://github.com/javierbrea/cypress-localstorage-commands) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/javierbrea/cypress-localstorage-commands/releases)
- [Changelog](https://github.com/javierbrea/cypress-localstorage-commands/blob/master/CHANGELOG.md)
- [Commits](https://github.com/javierbrea/cypress-localstorage-commands/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: cypress-localstorage-commands
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 19:14:29 +00:00
Sam Alba
f4d6dc539c
Merge pull request #1121 from samalba/fix-windows-socket
solver: fixed npipe support on Windows
2021-11-10 18:22:53 -08:00
Sam Alba
e4f2f69353 solver: fixed npipe support on Windows
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-10 17:25:02 -08:00
Andrea Luzzardi
e6c7191ab0
Merge pull request #1119 from dagger/revert-1085-feat/check-universe-version
Revert "Improve version checking to also check universe"
2021-11-09 19:13:20 -08:00
Andrea Luzzardi
d065a1f627 Revert "Improve version checking to also check universe"
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-09 18:58:09 -08:00