Commit Graph

2347 Commits

Author SHA1 Message Date
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
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