Commit Graph

2785 Commits

Author SHA1 Message Date
Sam Alba
bed54fed81
Merge pull request #1177 from talentedmrjones/docs-embed-getting-started-video
DOCS: embedded video inline style, larger video
2021-12-03 16:51:27 -08:00
Sam Alba
16bb54eccd
Merge pull request #1176 from grouville/fix/docker.command
Fix broken docker.#Command secrets mount
2021-12-03 16:09:14 -08:00
guillaume
7d753660d0 Fix broken docker.#Command secrets mount
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-12-03 18:58:54 +01:00
Richard Jones
590a56c2ca
inline style, larger video
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-03 10:43:09 -07:00
Sam Alba
764ef2761c
Merge pull request #1156 from gerhard/add-docker-host-support
Add support for tcp:// DOCKER_HOST
2021-12-02 17:54:56 -08:00
Gerhard Lazu
95c1b07f3a Use tcp-specific seed.
Co-authored-by: Vasek - Tom C. <tom.chauveau@epitech.eu>
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-02 16:53:40 -08:00
Gerhard Lazu
18c387a407 Use tcp in the docker host test
Co-authored-by: Vasek - Tom C. <tom.chauveau@epitech.eu>
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-02 16:53:40 -08:00
Gerhard Lazu
8ce5b3447f Fix unused imports
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-02 16:53:40 -08:00
Gerhard Lazu
c690387ae2 Add support for tcp:// DOCKER_HOST
The Docker daemon that I am using is running remotely, and I connect to
it via Tailscale tunnel, which means that my DOCKER_HOST is set to
tcp://100.113.182.91:2375

This change makes Dagger work with my setup. It's been running well for
me for a few weeks now, this started as https://github.com/thechangelog/changelog.com/pull/395

I think there is an opportunity to add support for ssh:// & file://,
but I am keeping this first addition small on purpose.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-02 16:53:40 -08:00
Sam Alba
82e9374da5
Merge pull request #1172 from TomChv/doc/add-completion-helper
Add completion documentation in 1001-install.md
2021-12-02 15:19:11 -08:00
Sam Alba
5533d9561e
Merge pull request #1170 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.13.0
build(deps): bump amplitude-js from 8.12.0 to 8.13.0 in /website
2021-12-02 15:18:21 -08:00
Sam Alba
b2ecc392e5
Merge pull request #1174 from adrienbrault/patch-1
Fix typo in ci doc
2021-12-02 15:07:20 -08:00
Sam Alba
f959d08638
Merge pull request #1175 from samalba/fix-git-test
test: reset the dagger-ci PAT to fix the test infra
2021-12-02 15:06:50 -08:00
Sam Alba
806800f33b test: reset the dagger-ci PAT to fix the test infra
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-02 14:23:30 -08:00
Sam Alba
a7d72b2959
Merge pull request #1173 from talentedmrjones/docs-embed-getting-started-video
DOCS: embedded video on getting started tutorial
2021-12-02 14:15:04 -08:00
Adrien Brault
3ea2e71e70 Fix typo in ci doc
Signed-off-by: Adrien Brault <adrien.brault@gmail.com>
2021-12-02 22:14:27 +01:00
Richard Jones
27b2275d3a
embedded video on getting started tutorial
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-02 12:37:24 -07:00
Tom Chauveau
72e399e240
Add completion doc in 1001-install.md
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-12-02 17:10:44 +01:00
Andrea Luzzardi
a25e6bb3a2 include hidden fields in concreteness check
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-01 17:56:53 -08:00
Andrea Luzzardi
337ed0d1cc remove hardcoded stdlib path
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-01 17:33:35 -08:00
Andrea Luzzardi
5b7b1cab79 Migrate dagger.#Secret and dagger.#Stream to new format
- Refactored to keep every transformation of built-in types (e.g. FS,
  Secret, etc) to/from CUE in the same place (plancontext)
- dagger.#Service and dagger.#Secret are now following the new FS-like format
  (e.g. `_service: id: string`)
- Backward compatibility
- dagger.#Stream is now an alias for dagger.#Service

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-01 17:33:35 -08:00
dependabot[bot]
fc316c7d83
build(deps): bump amplitude-js from 8.12.0 to 8.13.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.12.0 to 8.13.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.12.0...v8.13.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-12-01 19:16:08 +00:00
Sam Alba
5ab3c47dac
Merge pull request #1165 from dagger/fix-ci
Fix Docs CI tests
2021-12-01 08:37:43 -08:00
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