Tom Chauveau
a63c4e989a
Change "arch" into "platform" because it's more accurate.
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-11-05 16:21:21 +01:00
Tom Chauveau
caa03a37cc
Update dagger engine to uses a given architecture instead of default one.
...
Check #1071 for more details
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-22 21:02:12 +02:00
Sam Alba
e9ca8f38e6
Vendoring improved
...
* update dagger init with package manager downloading stdlib
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* split mod get and update functions
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* write to package checksum to dagger.sum when installing/updating
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* encure checksums are valid when compiling input
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* remove references to github.com/tjovicic in docs 1010 and 1011
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* refactor mod get command
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* update logic of moving dir when installing packages
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* fix linting errors
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* revert changes to 1010 docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* updating error log line in mod/get
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* fix ci tests when using vendoring
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* update alpha.dagger.io version to v0.1
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* fix mod repo test
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* return error if package already installed
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* remove already installed packages when installing
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* fix issue when vendoring stdlib
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* update mod command with filelock while installing
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* fix linting errors
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
* fix path of mod lock file
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
Co-authored-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-10-13 15:25:30 -07:00
Richard Jones
7061ac816e
changed workspace to project
...
Signed-off-by: Richard Jones <richard@dagger.io>
2021-09-23 12:02:57 -06:00
Andrea Luzzardi
b8dcc02bb8
performance: compile CUE client side
...
Restructured the compile logic to happen on the CLI instead of the
BuildKit frontend.
- Avoid uploading the entire workspace to BuildKit on every compilation
- Let the CUE loader scan the files instead of going through the
BuildKit filesystem gRPC APIs.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-20 16:34:49 +02:00
Andrea Luzzardi
f58ee5811b
universe vendoring
...
Rather than injecting universe at runtime, this change will vendor
alpha.dagger.io in `cue.mod` directly.
Fixes #700
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-08 17:52:21 +02:00
Andrea Luzzardi
6e215b194e
use the workspace as the plan module
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +02:00
Andrea Luzzardi
f39a88e644
cue native: environments can reference a module instead of embedding
...
one.
Fixes #631
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00
Andrea Luzzardi
b627b4bc88
add support for excludes in input dir
...
This adds support for `--include` and `--exclude` for directory inputs.
For instance, this is what you would want to use when passing dagger
repository as an input:
```
inputs:
repository:
dir:
path: .
exclude:
- '**/node_modules'
- cmd/dagger/dagger
- cmd/dagger/dagger-debug
```
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-28 16:22:32 -07:00
Andrea Luzzardi
af776b8abe
cleanup: move packages to top level, change vanity URL
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 16:54:00 -07:00