Commit Graph

2455 Commits

Author SHA1 Message Date
Andrea Luzzardi
c95b5d2bae docs: deploy using dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:45:51 -07:00
Andrea Luzzardi
39527b761d stdlib: yarn: support cwd, args and packages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:45:51 -07:00
Andrea Luzzardi
3605d399c9 stdlib: aws: s3: add #Sync
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:45:51 -07:00
Andrea Luzzardi
9facaa65f4 stdlib: aws: s3: default to "always: true"
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:40:03 -07:00
Andrea Luzzardi
c9404d7624
Merge pull request #550 from aluzzardi/docs-force-deploy-main
docs: force deploy from main
2021-06-02 14:28:48 -07:00
Andrea Luzzardi
51f14c58e2 docs: force deploy from main
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:26:39 -07:00
Andrea Luzzardi
c2196411d9
Merge pull request #549 from aluzzardi/docs-trigger
docs: fix link
2021-06-02 14:17:42 -07:00
Andrea Luzzardi
6554b6569a docs: fix link
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:15:57 -07:00
Andrea Luzzardi
5e105b0109
Merge pull request #545 from slumbering/daggosaurus
docs: init Docusaurus
2021-06-02 14:11:26 -07:00
Andrea Luzzardi
42caa1f847 docs: index.md -> README.md
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:08:45 -07:00
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