Commit Graph

2104 Commits

Author SHA1 Message Date
jffarge
3821d62115 docs: 🐛 fixe iframe width + bump docusaurus to the latest version
Signed-off-by: jffarge <jeanfrancois.farge@gmail.com>
2021-12-09 14:24:19 +01:00
Richard Jones
69ee3750b8
cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 16:45:54 -07:00
Richard Jones
b5b73a3a8f
removed unnecessary leading new lines
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 16:38:45 -07:00
Richard Jones
28cebb1bf0
added test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 16:24:16 -07:00
Richard Jones
83b10d4031 refactored finding of cue.mod parent
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 15:28:33 -07:00
Richard Jones
5c9965f10a passings args to cue loader to mimick cue eval
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 15:28:33 -07:00
Andrea Luzzardi
d2af60d484
Merge pull request #1189 from aluzzardi/cleanup-tests
tests: move compute tests away
2021-12-08 16:11:55 -05:00
Andrea Luzzardi
1872af9b18 tests: move compute tests away
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-08 15:30:41 -05:00
jffarge
6825309f31 Create graphql package
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-12-08 15:13:30 +01:00
Solomon Hykes
79f86227f3 Docs: rewrite intro and "vs" to match landing page
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-07 21:07:22 -08:00
Andrea Luzzardi
4dd72b78a1
Merge pull request #1183 from aluzzardi/engine-pkg
stdlib: move core definitions to engine package
2021-12-07 14:13:09 -08:00
Andrea Luzzardi
4b7a143cc6 stdlib: move core definitions to engine package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 16:00:56 -05:00
Andrea Luzzardi
2a946385fa
Merge pull request #1168 from aluzzardi/dagger-secret-service
Migrate dagger.#Secret and dagger.#Stream to new format
2021-12-07 12:29:00 -08:00
Andrea Luzzardi
a58ca16c3d plancontext cleanup
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 14:20:08 -05:00
Andrea Luzzardi
c881bc2dba plancontext: use helpers to determine if CUE value is secret/fs/service
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 14:16:14 -05:00
Andrea Luzzardi
201ac391b4 check for concreteness in specialized types
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 14:03:07 -05:00
Andrea Luzzardi
6aa4f6b8b3 secretfile: data -> plaintext
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 14:02:17 -05:00
Sam Alba
374f1ba240
Merge pull request #1178 from samalba/fix-docs-1003-iframe
docs: fixed iframe markup
2021-12-04 13:33:39 -08:00
Sam Alba
a34cb55114 docs: fixed iframe markup
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-04 13:28:12 -08:00
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