Commit Graph

186 Commits

Author SHA1 Message Date
Tihomir Jovicic
be913b0e90 update mod list tags tests
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-04 08:20:58 +02:00
Tihomir Jovicic
e5c8d6eee0 replace module.cue with dagger.mod.cue
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-02 11:17:42 +02:00
Tihomir Jovicic
92e6e693f5 fix linting issues
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-02 09:35:33 +02:00
Tihomir Jovicic
0010609f4d First version of package manager
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-01 21:22:48 +02:00
Andrea Luzzardi
5bc0bff1b0 telemetry support
Fixes #832

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-20 14:28:06 +02:00
Andrea Luzzardi
eb78661620 move versioning into the version package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-19 17:43:45 +02:00
Sam Alba
f185088d85 cmd/up: fixed missing inputs error
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-13 16:37:37 +02:00
Sam Alba
79d2e726a2 cmd: ported code to new client function signature, force one client per session
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-13 16:16:17 +02:00
Sam Alba
ce7adc1fa4 cmd/up/compute: unify buildkit sessions to use only one
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-13 14:55:49 +02:00
Andrea Luzzardi
b101e191b6
Merge pull request #778 from Alvise88/move-to-opentelemetry
Move to OpenTelemetry (#735)
2021-07-13 13:50:11 +02:00
Sam Alba
9473d54bfb cmd/common: restored no-cache behavior
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 14:26:55 +02:00
Sam Alba
d1962b5bb6 cmd/input: validate cue code with new inputs before persisting to the workspace
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 13:05:52 +02:00
Sam Alba
f726a4b84d cmd: added comment for input validation (per Andrea's pr comment)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 11:53:20 +02:00
Sam Alba
b37db8eedb cmd: implemented input validation when updating environment
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 10:47:10 +02:00
Sam Alba
d4c8350c08 cmd: centralize code for buildkit client creation
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 10:47:10 +02:00
Sam Alba
84acad8706 cmd: refacto client creation to use only one (fixes #798)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 10:47:10 +02:00
Alvise
99d2514aaa Move to OpenTelemetry
Signed-off-by: Alvise <vitalvise@gmail.com>
2021-07-09 09:47:36 +02:00
Andrea Luzzardi
41620e6383 list: use homedir rather than os/user
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +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
919d5576d0 plan: default cue module to .
Fixes #699

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +02:00
Guillaume de Rouville
d5457d6d03 Skip Docker.#Local in bats tests (not working) + fix stdout redirection issue leading to warning loglevel and tests not failing on missing inputs
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-28 19:56:21 +02:00
Cornelius Toole
200a3d1a65 Hide unimplemented commands
Signed-off-by: Cornelius Toole <cornelius.toole@gmail.com>
2021-06-28 09:28:36 +02:00
Tom Chauveau
2fbb9e7744 Update import to alpha version
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:26:51 +02:00
Tom Chauveau
51fe199a39 Update doc generator to ignore tests directory
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:00:38 +02:00
Andrea Luzzardi
ecb53566e6 cmd doc: skip cue.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:21:42 +02:00
Solomon Hykes
d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Sam Alba
af82c2c910 docs: adds package description to the stdlib Index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 11:05:58 +02:00
Sam Alba
b03e695970 docs: stdlib index sorted alphabetically
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Sam Alba
6ff2fed960 cmd/doc: add support for generating package index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Andrea Luzzardi
687c0e33a4 keychain: always ensure the default key is generated
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-17 17:23:11 +02:00
Andrea Luzzardi
b393ecc034 cleanup workspace interface
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +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
5f849bb13e cmd: dagger input edit -> dagger edit
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00
Sam Alba
776814910d cmd/doc: added import path + better titles for package fields
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 12:14:26 +02:00
Andrea Luzzardi
12b712b741 docs generation: write package doc as README.md if there are sub-packages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 18:42:23 -07:00
Andrea Luzzardi
ee8bcfafaa doc generation: refactor to allow multi-stage processing
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 18:42:10 -07:00
Andrea Luzzardi
fb3e5bbd43 input edit: allow renaming the environment
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 11:34:51 -07:00
Andrea Luzzardi
606398b69a docs: don't create docs file for empty packages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:33:39 -07:00
Andrea Luzzardi
b53e2136b7 cmd docs: add frontmatter metadata
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -07:00
Andrea Luzzardi
de3ffe0610 cmd docs: fix markdown linter
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:10:01 -07:00
Sam Alba
a7f4cd069f cmd/output: do not display cue code when value is a struct
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-07 13:27:40 +02:00
Sam Alba
1bfb8d4369 cmd/doc: fixed outputs label
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-07 11:53:03 +02:00
Sam Alba
669a47a159 cmd/doc: implemented stdlib walk
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 16:33:02 +02:00
Sam Alba
3b92f70416 cmd/doc: added support for json
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 09:01:32 +02:00
Sam Alba
dd8aae893c cmd/doc: added support for markdown
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 09:01:32 +02:00
Sam Alba
92d993f434 cmd/doc: added support for text format
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 09:01:32 +02:00
Sam Alba
8c3c934f3c doc: finished structure, supports title
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 09:01:32 +02:00
Sam Alba
7b4421b9a0 cmd/doc: boiler plate and for inputs / outputs scanning
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 09:01:32 +02:00
Sam Alba
66929f8a63 compiler.Value abstraction for docstring and incompletekind
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 09:01:32 +02:00
Andrea Luzzardi
14a83a0680
Merge pull request #530 from samalba/env-outputs
Support Outputs list
2021-06-01 19:47:47 -07:00