Commit Graph

404 Commits

Author SHA1 Message Date
teddylear
7cf8c280af tests: Adding update to project info for negative test case
Signed-off-by: teddylear <teddylear@gmail.com>
2022-04-07 17:17:42 -04:00
Kenneth Lear
abe1e36032 test: Update project info test to fix issue
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 22:56:56 -04:00
Kenneth Lear
ed236d4934 test: Fixing project info integration test
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 21:47:46 -04:00
Kenneth Lear
5759071bd7 test: Update project info command to pass lint and test to make sure TEMPDIR is there
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 21:26:46 -04:00
Kenneth Lear
90d3724d6a feat: Adding project info command to find where project is located
Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
2022-04-06 17:52:50 -04:00
Marcos Lilljedahl
8969507db6 Add global --experimental flag to gatekeep some features
This commit adds a global --experiemntal flag so we can start
gatekeeping some features where we know beforehand that the UX will very
likely change. It also refactors the current --platform flag to be
avaiable under this experimental flag for the moment

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-06 13:53:21 -03:00
Marcos Lilljedahl
d80acf805b Add experimental way to set a target platform when building
Add an --experimental-platform flag to the do command to allow
overriding the default auto-detected build platform until we find the
time to think about the definitive multi-platform builds UX

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-05 18:24:14 -03:00
Marcos Lilljedahl
7ffbef33b5 Report error if FS is incorrectly handled on client filesystem read
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-01 13:25:58 -03:00
Marcos Lilljedahl
66153c6194 Prevents files to be used as input of dagger.#FS
Errors out in the PreRun phase of the clientfilesystemreader task since
otherwise, dagger execution would hang
Fixes #1977

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-31 19:33:18 -03:00
Tom Chauveau
19c0f999f4
Fix export cache issue
Resolve #1551 and #1020.
We are never returning the result of solved operations so Buildkit could not
cache the layer.
This commit implements a simple system to forward operations' result to the
main build to cache it.

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-31 20:36:50 +02:00
Marcos Lilljedahl
e47148ba64 ci: Unify keys and add private key for testing purposes
This commit enables PR's to run inegration tests by relying on keys with
only the necessary permissions to run on CI workloads

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-30 19:18:32 -03: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
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
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
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
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
Andrea Luzzardi
fd2ccc0048 ci: disable telemetry
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-23 19:01:09 -07: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
Richard Jones
770be271f1
errors on missing packages suggests project update
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-10 17:29:02 -07:00
Andrea Luzzardi
3e702626a4
Merge pull request #1763 from jlongtine/migrate-message
Create a nice error message for 0.1 plans loaded in 0.2
2022-03-10 15:34:36 -08:00
Andrea Luzzardi
993c706faa do: simplify help management
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-10 15:11:55 -08:00
Joel Longtine
5114992a53 One more try.
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 15:20:36 -07:00
Joel Longtine
8b3650c08d Fix test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 15:19:59 -07:00
Joel Longtine
43b9df74a8 Add test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 15:15:50 -07: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
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
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
Andrea Luzzardi
9f2d56f3c4 do: verify the action exists before running
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 18:34:47 -08:00
Andrea Luzzardi
5834a1e740 tests: fix outputs->client migration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 17:54:19 -08:00
Andrea Luzzardi
f72dde1d0d
Merge pull request #1704 from helderco/inputs-outputs-cleanup
Inputs/outputs cleanup
2022-03-08 16:16:15 -08:00
Richard Jones
57cea9eb6c
implements dagger project update
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-08 16:58:20 -07:00
Andrea Luzzardi
64e8afb3f3
Merge pull request #1681 from helderco/trim-secret
Add #TrimSecret task
2022-03-08 15:51:32 -08:00
Helder Correia
24d3f82fc7
Cleanup inputs, outputs and proxy
Superceded by Client API.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 20:45:28 -01:00
Joel Longtine
9dfa81a737 Remove test that refers to old code paths
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:57:40 -07:00
Joel Longtine
69208b7c7d Remove extraneous module.cue
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:53:52 -07:00
Joel Longtine
8017b29abd More outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
baeb19bfe2 Fix refute
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
58dd2ab1d3 outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
c9f9fd66d7 do -> "do"
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
cf2538e1b2 Clean up tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
648e508c60 cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
1a555315b2 Add comment re disconnected outputs test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
5afaedc9ab Add do tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Andrea Luzzardi
b33b75a570 runner: switch to client API
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 16:03:36 -08:00
Andrea Luzzardi
0786410bbd Fix partial CUE tree run for dagger do
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Andrea Luzzardi
0642e34388 tests: fix inputs directories test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Helder Correia
da90baa087
Add new Client API
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00
Richard Jones
7bcf9a9402
Implements dagger project init
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-04 15:44:11 -07:00
Helder Correia
5ca5f8a729
Add #TrimSecret task
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-03 14:58:30 -01:00