Commit Graph

1495 Commits

Author SHA1 Message Date
Andrea Luzzardi
973ada8ce4 docs: add make docs target
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:07:10 -07:00
Andrea Luzzardi
eb3b1c4e38 docs: add netlify.toml
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:07:10 -07:00
Andrea Luzzardi
701feb1296 docs: fix links
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:07:10 -07:00
slumbering
f0fa43aaec docs: fix: 💄 add temp logo
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-02 14:07:08 -07:00
slumbering
c35c0953a1 docs: fix: 🐛 remove wrong links path (FIX NEEDED)
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-02 14:07:05 -07:00
slumbering
bc3f61b928 docs: feat: init Docusaurus
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-02 14:07:01 -07:00
Sam Alba
c4162b1e98
Merge pull request #544 from samalba/fix-cloudformation
stdlib: fix cloudformation.#Stack
2021-06-02 07:49:02 -07:00
Sam Alba
4aeb11754d stdlib: fix cloudformation.#Stack
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-02 16:43:48 +02:00
Andrea Luzzardi
377607db8d
Merge pull request #537 from aluzzardi/gcp-typo
stdlib: gcp: fix typo
2021-06-01 19:53:36 -07:00
Andrea Luzzardi
5718c41d7d stdlib: gcp: fix typo
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 19:50:40 -07:00
Andrea Luzzardi
6aded2d3d4
Merge pull request #536 from aluzzardi/kubernetes-fixes
stdlib: kubernetes: misc fixes
2021-06-01 19:50:11 -07:00
Andrea Luzzardi
14a83a0680
Merge pull request #530 from samalba/env-outputs
Support Outputs list
2021-06-01 19:47:47 -07:00
Andrea Luzzardi
2e748c9c31 stdlib: kubernetes: misc fixes
- `source` is now optional
- `sourceInline` renamed to `manifest`
- `kubeconfig` is a `string` rather than a `dagger.#Secret`

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 19:13:56 -07:00
Andrea Luzzardi
c02a8b89cc
Merge pull request #480 from TomChv/docker-run
Add #Run definition to docker package
2021-06-01 14:54:44 -07:00
Andrea Luzzardi
413dec63a0
Merge pull request #529 from grouville/dagger_compute-out_of_bound
dagger compute out-of-bound
2021-06-01 13:29:34 -07:00
Andrea Luzzardi
e86cb7be6d
Merge pull request #535 from aluzzardi/dagger-homedir
use ~/.config/dagger rather than ~/.dagger
2021-06-01 13:23:43 -07:00
Andrea Luzzardi
795c34a300
Merge pull request #534 from grouville/dagger_list_private_key
Dagger List cmd : change error message to a more comprehensible one when privatekey not present
2021-06-01 13:23:24 -07:00
Guillaume de Rouville
42624ed737 Dagger List cmd : change error message to a more verbose one
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-01 22:13:29 +02:00
Andrea Luzzardi
c5c586ff71 use ~/.config/dagger rather than ~/.dagger
since `.dagger` directories have a special meaning now because of gitflow,
it's better not to have a `~/.dagger` since it's not a workspace and
it confuses dagger (e.g. `dagger new` from $HOME).

We don't store state there anymore, just keys and the last version
check, so it's okay to be in ~/.config IMO

Looking at my system, in ~/.config there's `gcloud`, `gatsby`, `gh`,
`yarn`, and others so it seems like a pretty common location.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 12:38:14 -07:00
Andrea Luzzardi
7d740fb255
Merge pull request #527 from aluzzardi/redact-secrets
automatically redact secrets from logs
2021-06-01 10:53:04 -07:00
Andrea Luzzardi
a59e81725f
Merge pull request #531 from shykes/rm-spec
Remove out-of-date cli spec file
2021-06-01 10:52:25 -07:00
Solomon Hykes
a2cd2d7d1e Remove out-of-date cli spec file
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-01 15:09:41 +00:00
Sam Alba
56e60c5b29 examples: added outputs/inputs annotations
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 16:00:01 +02:00
Sam Alba
2bd4679646 fixed ci
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 15:12:08 +02:00
Sam Alba
3d1e37e1ab test: updates output list tests
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 14:15:02 +02:00
Sam Alba
06a515f496 environments only ignore the compute layer if it is empty instead of logging a fatal error
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 14:14:45 +02:00
Sam Alba
10d1b01f2a cmd/output: list now lists all outputs everytime, even if not concrete - also allows to show outputs even if the env was never computes (based on UX feedback)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 14:14:02 +02:00
Sam Alba
03d58e074f cmd/input: changed list output based on feedback
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 14:12:37 +02:00
Sam Alba
efb4ee209e cmd/up: disable output list when not a tty + better error handling
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 18:25:58 +02:00
Sam Alba
571b5c8618 cmd/up: downgrade output list error from Fatal to Warning
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 18:04:48 +02:00
Sam Alba
ec4730708d cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 16:42:01 +02:00
Sam Alba
d6b6142065 cmd/up: show outputs at the end of the config execution
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 16:14:57 +02:00
Sam Alba
44a919e7f8 test: implemented tests for output list
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:56:58 +02:00
Sam Alba
270d8b4775 cmd/output: implemented list --all
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:55:44 +02:00
Sam Alba
1a59c9c40b cmd/output: added support for listing outputs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:25:02 +02:00
Sam Alba
6e3ec02ceb added support for output scanning
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:24:42 +02:00
Sam Alba
21b259fc86 stdlib/aws/s3: removed trailing \\n
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:23:55 +02:00
Sam Alba
e86963eea3 examples/simple-s3: added output annotation
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:23:41 +02:00
Sam Alba
91c2acd564 cmd/input: list filters out \\n
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:21:39 +02:00
Guillaume de Rouville
d74efa2420 Fix index out of bound for Dagger compute inputs + add tests ["input-dir", "input-git", input-string"]
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-05-31 12:11:54 +02:00
Sam Alba
ba5078ef26 cmd/dagger: share code for input/output management
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 11:08:26 +02:00
Andrea Luzzardi
5ab66cc5ef
Merge pull request #528 from TomChv/fix-sops-secrets 2021-05-29 11:00:37 -07:00
Tom Chauveau
242b61972c Update sops version to fix CI
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-29 19:40:01 +02:00
Tom Chauveau
4b6315e2fc Handle fingerprint option for auth
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-29 18:29:39 +02:00
Andrea Luzzardi
ebbc9707ec automatically redact secrets from logs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-29 02:18:01 -07:00
Andrea Luzzardi
7ec90a6155
Merge pull request #497 from myitcv/put_fullop_behind_build_attribute
stdlib: put full definition of #Op behind a build attribute
2021-05-28 23:48:39 -07:00
Andrea Luzzardi
4dd14fb42a
Merge pull request #524 from aluzzardi/input-edit
dagger input edit
2021-05-28 18:57:03 -07:00
Andrea Luzzardi
9deb80c487 dagger input edit
See and edit all the inputs in bulk using $EDITOR

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-28 18:02:12 -07:00
Andrea Luzzardi
d9c1e6d57e
Merge pull request #523 from aluzzardi/input-dir-exclude
add support for excludes in input dir
2021-05-28 16:47:51 -07: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