Gerhard Lazu
9920272ce2
Fix helloworld post dagger core package rename
...
Follow-up to https://github.com/dagger/dagger/pull/1866
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-29 19:29:17 +01:00
Sam Alba
ea59c932bb
Merge pull request #1910 from dagger/fix-windows-cuemodpath
...
windows: Fixed infinite loop in GetCueModParent
2022-03-28 18:29:38 -07:00
Sam Alba
19b976a8ed
windows: Fixed infinite loop in GetCueModParent
...
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-28 18:03:28 -07:00
Gerhard Lazu
04e703e542
Merge pull request #1817 from gerhard/add-helloworld-example
...
Add helloworld example
2022-03-29 00:45:30 +01:00
Gerhard Lazu
ad53d41755
Replace HTTPS endpoint with npipe in #Socket description
...
This was mixing layer 4 & 7 concerns. It's clearer now.
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-28 22:31:44 +01:00
Helder Correia
d771699df9
Move connecting socket to client: network
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 18:16:07 +00:00
Helder Correia
75a3ae4204
Merge pull request #1888 from helderco/cli-certs
...
Don’t rely on default docker/cli entrypoint for setting up https
2022-03-28 18:09:21 +00:00
Helder Correia
ebab8e5698
Merge pull request #1887 from helderco/cli-image
...
Make docker/cli image overrideable
2022-03-28 18:09:03 +00:00
Helder Correia
6a2bbc62e0
Rename dagger.#Service
to dagger.#Socket
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 17:56:25 +00:00
Helder Correia
3a2982cd21
Don’t rely on default docker/cli entrypoint for setting up https
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 14:44:51 +00:00
Helder Correia
cf0fcdbe92
Make docker/cli image overrideable
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 14:34:15 +00:00
Helder Correia
5abd77f4f2
Move types and plan back to main dagger package
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 12:18:33 +00:00
Helder Correia
b3bdd347e7
Move core actions to a subpackage
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-27 17:33:47 +00:00
Solomon Hykes
9f042800da
Merge pull request #1860 from gerhard/europa-docs-plan-tanguy-fresh-pair-of-eyes
2022-03-26 12:45:13 -07:00
Helder Correia
05d79e8ba6
Add docker cli package
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 18:24:33 -01:00
Andrea Luzzardi
4f440bc67a
Merge pull request #1842 from helderco/docker-load
...
Add export and load for dagger images
2022-03-25 12:22:40 -07:00
Gerhard Lazu
f322327945
Switch build → _build in .gitignore
...
It is much easier to spot this build dir when it gets prefixed with _
Inspired by Elixir:
https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:37:56 +00:00
Gerhard Lazu
a3cd60d140
Cyclic task dependency error fix (workaround?) for #1857
...
universe.dagger.io/examples/todoapp on europa-docs-plan-tanguy-fresh-pair-of-eyes [$!] via v17.4.0 took 3s
❯ bin/dagger do build
[✔] actions.build.run.script 0.0s
[✔] actions.deps 4.2s
[✔] client.filesystem."./".read 3.0s
[✔] actions.test.script 0.0s
[✔] actions.test 0.8s
[✔] actions.build.run 3.1s
[✔] actions.build.contents 0.0s
[✔] client.filesystem."./_build".write 0.1s
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:35:29 +00:00
Gerhard Lazu
dc5d3340bb
Capture cyclic task dependency error for #1857
...
universe.dagger.io/examples/todoapp on europa-docs-plan-tanguy-fresh-pair-of-eyes [$!?] via v17.4.0
❯ bin/dagger do build
4:32PM FTL failed to execute plan: cyclic task dependency:
task client.filesystem."./_build".write refers to
task actions.build.contents._copy refers to
task actions.build.run._exec refers to
task actions.test._exec refers to
task actions.deps._dag."2"._exec refers to
task actions.deps._dag."1"._copy refers to
task client.filesystem."./_build".write:
/Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/cue.mod/pkg/dagger.io/dagger/fs.cue:114:2
/Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/docker/build.cue:49:2
/Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/docker/run.cue:162:2
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:34:37 +00:00
Gerhard Lazu
5fe04d22e9
Revise Europa Docs - Core Concepts - It all starts with a plan
...
Thank you Tanguy for the "fresh pair of eyes" perspective.
Thank you Tom for the link suggestions.
Supersedes https://github.com/dagger/dagger/pull/1847
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:25:24 +00:00
Helder Correia
7a8153910c
Add export and load for dagger images
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00
Chris Hunt
2018ac99f0
Add PowerShell package ( #1783 )
...
Signed-off-by: Chris Hunt <114173+cdhunt@users.noreply.github.com>
2022-03-24 23:42:27 -01:00
Solomon Hykes
c800cb5a3a
Merge pull request #1833 from marcosnils/fix/todoapp_cache
...
WIP: Add node_modules mount to improve caching times
2022-03-24 11:53:19 -07:00
Andrea Luzzardi
fd2ccc0048
ci: disable telemetry
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-23 19:01:09 -07:00
Marcos Lilljedahl
2da7056ebe
Fix nodeModules scope to avoid polluting TL namespace
...
Ref: https://github.com/dagger/dagger/issues/1711
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-23 11:52:49 -03:00
Marcos Lilljedahl
6344bb020b
Add node_modules mount to improve caching times
...
This commit adds `node_modules` to dagger run commands so cached builds have
similar speed times as running commands locally directly through yarn
<script>
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-22 16:03:15 -03:00
jffarge
9f2b571433
update netlify cli deploy command
...
Signed-off-by: jffarge <jf@dagger.io>
2022-03-22 17:12:13 +01:00
jffarge
01fd8993c3
replace yarn by npm to avoid plugin installation error
...
Signed-off-by: jffarge <jf@dagger.io>
2022-03-22 14:51:04 +01:00
Helder Correia
a1b2e03f29
Fix docker.#Dockerfile test
...
Entrypoint is no longer ignored.
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-21 22:45:15 -01:00
Solomon Hykes
323f01278a
Merge pull request #1808 from helderco/run-entrypoint
...
Add entrypoint field to `docker.#Run`
2022-03-21 10:18:18 -07:00
Tom Chauveau
c6da3eeb9e
Update dockerfile test to use client API
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 12:38:50 +01:00
Tom Chauveau
cc601a4e07
Apply Solomon comments
...
- Remove input field
- Fix auth consistency
- Cleanup test
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:59:11 +01:00
Vasek - Tom C
c90be8423e
Add tests on docker.#Dockerfile
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:58:34 +01:00
Vasek - Tom C
562678779e
Update docker.#Dockerfile
to be a 1:1 mirror to engine.#Dockerfile
...
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-18 11:58:34 +01:00
Gerhard Lazu
577c83f4e0
Add helloworld example
...
This is the first thing that someone new to Dagger tried to do.
I wanted to capture it in an example so that we can reference in the future.
I am sure that we can improve on this small step in a direction that I
have seen a new member take.
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-17 19:16:18 +00:00
Andrea Luzzardi
8b7e591851
Merge pull request #1790 from shykes/nop
...
dagger.#Nop: work around bugs in the DAG resolver
2022-03-16 13:40:26 -07:00
Helder Correia
a0bb201e45
Add entrypoint field to docker.#Run
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-15 18:44:44 -01:00
Andrea Luzzardi
82de3d4aca
Merge pull request #1768 from sipsma/merge-diff
...
Add support for Merge and Diff fs operations.
2022-03-14 22:29:44 -07:00
Solomon Hykes
9d1e7e2acc
dagger.#Nop: work around bugs in the DAG resolver
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-03-12 07:05:34 +00:00
Andrea Luzzardi
71f6f3a958
test: Fix universe tests
...
- Remove universe.dagger.io/cue.mod from `.gitignore`
- Re-add symlink
- Remove test-docs.yml workflow
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-11 12:41:45 -08:00
Gerhard Lazu
f820d33de2
Merge pull request #1718 from aluzzardi/remove-test-docs
...
ci: remove test-docs GH workflow
2022-03-11 18:22:47 +00:00
Erik Sipsma
b67d2d44ad
Add support for Merge and Diff fs operations.
...
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-03-10 20:22:14 -08:00
Andrea Luzzardi
5be67bf1bb
project update: fix .gitattributes
...
It's `linguist-generated=true` per the documentation.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-10 13:50:39 -08:00
Richard Jones
096c936aaf
removes old .gitignore, adds new .gitattributes
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-10 14:31:57 -07:00
Andrea Luzzardi
05cc2adec5
Merge pull request #1740 from talentedmrjones/remove-up-command
...
removes dagger up in favor of dagger do
2022-03-10 10:21:48 -08:00
Andrea Luzzardi
d79c377205
Merge pull request #1729 from helderco/remove-path-lookup
...
Remove path based task lookup
2022-03-09 15:17:55 -08:00
Richard Jones
6b81dc439d
removed dagger up in favor of dagger do
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-09 14:00:45 -07:00
Gerhard Lazu
1974dd1df7
Update Europa docs - CI/CD in your local dev to the new netlify.cue
...
Follow-up to https://github.com/dagger/dagger/pull/1693
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 17:01:39 +00:00
Helder Correia
34b6c289dd
Remove path based task lookup
...
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-09 11:29:26 -01:00
Jffarge
c2ff0ae377
Merge pull request #1712 from dagger/dependabot/npm_and_yarn/pkg/universe.dagger.io/examples/todoapp/nanoid-3.1.31
...
LGTM
build(deps): bump nanoid from 3.1.9 to 3.1.31 in /pkg/universe.dagger.io/examples/todoapp
2022-03-09 09:20:47 +01:00