Commit Graph

1094 Commits

Author SHA1 Message Date
Andrea Luzzardi
a53b9ec166 tests: use different container prefix for docker tests
Avoid name conflicts when random returns the same string

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 11:40:32 -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
d19dd4d193
Merge pull request #594 from samalba/disable-cache-mount
Disable cache mount
2021-06-09 10:23:02 -07:00
Solomon Hykes
ce663ca2ba stdlib: aws/ecr: simplify
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-09 17:22:53 +02:00
Sam Alba
336f1aecc4
Merge pull request #598 from samalba/docs-programming-guides
docs: added cloudformation guide
2021-06-09 16:43:57 +02:00
Sam Alba
88dbcdbaeb docs: added cloudformation guide
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 16:43:30 +02:00
Sam Alba
d592d66e24
Merge pull request #597 from samalba/docs-layout
docs: changed layout to be closer to the final one
2021-06-09 16:35:11 +02:00
Sam Alba
9e1928a932 docs: changed layout to be closer to the final one
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 16:27:24 +02:00
Sam Alba
09617b89da core: replaced persistent cache mounts with directory
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 15:22:06 +02:00
Sam Alba
b41adbd9c2 stdlib/os: fixed typo in container.cue (dest cache folder was always "true")
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 15:21:30 +02:00
Sam Alba
e2a8607971
Merge pull request #592 from aluzzardi/universe-docs
universe docs
2021-06-09 09:32:58 +02:00
Andrea Luzzardi
6d5142aa67 docs: use make docs to re-generate the docs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:57:53 -07:00
Andrea Luzzardi
940d9ccfee docs: fix non-escaped URLs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:40:08 -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
5537ab33de ci: add universe linting
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -07:00
Andrea Luzzardi
f3f5e7c714 docs: make universe
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -07:00
Andrea Luzzardi
e1f28a73e5 docs: add make universe
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -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
Andrea Luzzardi
f54a378d44
Merge pull request #571 from aluzzardi/docker-run-local-support
stdlib: cleanup docker.#Run
2021-06-08 17:19:57 -07:00
Andrea Luzzardi
22329e3a4d stdlib: helm: fix chart repository
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 16:01:55 -07:00
Andrea Luzzardi
db0937c927 stdlib: add random package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 15:15:01 -07:00
Andrea Luzzardi
4c40a87634 tests: fix random
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 11:34:16 -07:00
Andrea Luzzardi
7ce8dd26f1 tests: testConfig -> TestConfig
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:34 -07:00
Andrea Luzzardi
2acf0ce4e5 stdlib: docker: disable local #Run
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:10 -07:00
Andrea Luzzardi
ce5accd09c stdlib: docker: support running containers on the local docker engine
Depends on #570

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:07 -07:00
Andrea Luzzardi
4365541d4d
Merge pull request #579 from TomChv/refacto-random
Refactor random
2021-06-07 14:54:08 -07:00
Tom Chauveau
fdb91a7332 Refactor random generation into a definition to make it reusable
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-07 23:39:41 +02:00
Andrea Luzzardi
4f887b2295
Merge pull request #570 from aluzzardi/docker-socket
docker socket forwarding support
2021-06-07 13:32:24 -07:00
Andrea Luzzardi
9cdde1318f
Merge pull request #568 from aluzzardi/kubernetes-apply-resources
stdlib: kubernetes: rename #Apply to #Resources
2021-06-07 13:31:55 -07:00
Andrea Luzzardi
2671e5f321 disable docker socket support until we have security in place
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 13:18:46 -07:00
Andrea Luzzardi
43714c56d9
Merge pull request #578 from aluzzardi/test-single
tests: add instructions to run a single test
2021-06-07 13:15:24 -07:00
Andrea Luzzardi
15ee983b0f tests: add instructions to run a single test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 11:30:11 -07:00
Andrea Luzzardi
e3ee7f2568
Merge pull request #577 from aluzzardi/docs-superglu-typo
docs: fix "superglu" typo
2021-06-07 11:28:12 -07:00
Andrea Luzzardi
31528989c1 docs: fix "superglu" typo
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 11:24:05 -07:00
Andrea Luzzardi
29893dcf3d
Merge pull request #575 from tjovicic/improve-docs
Improve docs
2021-06-07 11:22:29 -07:00
Sam Alba
2c7c5dc9bd
Merge pull request #573 from samalba/fix-inputs-list
Fix inputs / outputs list
2021-06-07 17:29:51 +02:00
Tihomir Jovicic
9c4432c5f1 Fix broken links in README.md
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-07 15:45:00 +02:00
Tihomir Jovicic
862cf5550d Improve guides/programming.md
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-07 15:44:45 +02: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
872822baa6 stdlib: fixed yarn outputs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-07 13:26:47 +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
a002d2e02e
Merge pull request #564 from samalba/cmd-doc-gen
cmd/doc: generate whole stdlib documentation
2021-06-07 10:27:49 +02:00
Andrea Luzzardi
ac34df319a docker socket forwarding support
- This PR adds a new mount type: `docker.sock` (in addition to `cache`
  and `tmp`)
- It's then able to mount the LOCAL (as in, from the machine running
  dagger) docker socket inside the container by pretending to be an SSH
  Agent (hijacking the SSH agent forwarding support of buildkit)

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 16:14:25 -07:00
Andrea Luzzardi
04cd927006
Merge pull request #569 from aluzzardi/docs-remove-symlink
docs: remove docs symlink from website
2021-06-04 14:26:34 -07:00
Andrea Luzzardi
7f611e4208 docs: remove docs symlink from website
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 14:24:55 -07:00
Andrea Luzzardi
a5e9ac8a0f stdlib: kubernetes: rename #Apply to #Resources
Code convention: use nouns instead of verbs whenever possible.

Reasoning: One can apply just about anything to Kubernetes via this:
deployment, load balancer, RBAC policy, a custom CRD resource, etc.

Upstream those are called resources: You give `kubectl apply` one or more
manifests and it will create the corresponding resources.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 14:03:35 -07:00
Andrea Luzzardi
19db780de4
Merge pull request #567 from aluzzardi/docs-improvements
docs: tooling restructuring
2021-06-04 13:54:17 -07:00
Andrea Luzzardi
aff527d34d docs: use the path config option rather than symlinks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 13:49:20 -07:00
Andrea Luzzardi
e9b952a882 docs: rename tools/daggosaurus to website
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 13:49:20 -07:00