Commit Graph

2276 Commits

Author SHA1 Message Date
Solomon Hykes
e7f1649fe6 A new CUE standard library for the Europa release
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-13 13:24:45 -08:00
Andrea Luzzardi
a83987841d
Merge pull request #1194 from aluzzardi/engine-pull
engine.#Pull implementation
2021-12-13 16:33:42 +01:00
Andrea Luzzardi
613fc3c400 tests: fix dagger binary path
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Andrea Luzzardi
c3e9883f57 image spec: fix linter
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Andrea Luzzardi
0768ac9f3f compiler: FillFields helper, cleaned up repeated code
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Andrea Luzzardi
ff6c7d1c1f engine.#Pull implementation
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Sam Alba
366e967356
Merge pull request #1195 from talentedmrjones/fix-plan-test
fixed plan test
2021-12-10 10:25:25 -08:00
Richard Jones
33db6ab90a
using "$DAGGER"
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-10 11:02:34 -07:00
Richard Jones
518d76cbe2
previous cd fixed cue loading but broke reference to dagger binary
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-09 15:59:48 -07:00
Sam Alba
034cb51781
Merge pull request #1190 from slumbering/fix/docs-iframe
[Docs] fix iframe width + bump docusaurus to the latest version
2021-12-09 13:33:51 -08:00
Richard Jones
72708f9870
fixed test by CD
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-09 14:32:26 -07:00
Sam Alba
797308bca5
Merge pull request #1073 from slumbering/universe-graphql
Universe graphql
2021-12-09 13:29:04 -08:00
Andrea Luzzardi
ce74bf0de2
Merge pull request #1192 from aluzzardi/fix-europa
europa: fix task matching
2021-12-09 15:06:55 -05:00
Andrea Luzzardi
2b22d1c981 plan: improve log messages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:17:19 -05:00
Andrea Luzzardi
2164875737 solver: return digest when resolving images
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:16:39 -05:00
Andrea Luzzardi
1d71f77151 engine: fix hidden field path
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:15:19 -05:00
Andrea Luzzardi
89daebbc4c engine spec: move core types to types.cue
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:14:36 -05:00
Andrea Luzzardi
2cc61d94b7
Merge pull request #1185 from talentedmrjones/europa-loader-to-spec
dagger up passes args to cue loader
2021-12-09 13:56:46 -05:00
Richard Jones
a80c48f241
removed --no-cache
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-09 11:36:30 -07:00
Richard Jones
026c7641b3
refactored test to use CUE validations rather than container stdout
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-09 11:30:15 -07:00
jffarge
05c31df35d docs: 🐛 push the actual iframe fix + force netlify node version
Signed-off-by: jffarge <jeanfrancois.farge@gmail.com>
2021-12-09 17:57:48 +01:00
jffarge
eabe248d74 docs: 🐛 fix bad english
Signed-off-by: jffarge <jeanfrancois.farge@gmail.com>
2021-12-09 08:11:10 -08:00
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