Commit Graph

3126 Commits

Author SHA1 Message Date
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
Andrea Luzzardi
d755281e55
Merge pull request #565 from slumbering/ui-updates
UI updates
2021-06-04 13:15:06 -07:00
Andrea Luzzardi
fbaf7d1a71
Merge pull request #563 from dagger/dependabot/docker/golang-1.16.5-alpine
build(deps): bump golang from 1.16.4-alpine to 1.16.5-alpine
2021-06-04 11:05:59 -07:00
slumbering
af12f1ccae docs: 📝 update readme
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-04 17:55:39 +02:00
slumbering
9aba5910eb docs: 💄 ui enhancement
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-04 17:55:20 +02:00
Sam Alba
1fb4f4e314 stdlib: cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 16:39:07 +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
6ae9a0b16d stdlib: fixed typo in pkg (cc @tomChv)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-04 16:32:46 +02:00
Sam Alba
92ceae9ce6
Merge pull request #547 from samalba/cmd-doc
doc cmd: generate stdlib doc
2021-06-04 09:26:19 +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
dependabot[bot]
584c5b5db2
build(deps): bump golang from 1.16.4-alpine to 1.16.5-alpine
Bumps golang from 1.16.4-alpine to 1.16.5-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 06:55:23 +00:00
Andrea Luzzardi
fd31afeda0
Merge pull request #560 from aluzzardi/docs-syntax-highlight
docs syntax highlight for CUE
2021-06-03 18:17:50 -07:00
Andrea Luzzardi
c76f65aa14 docs: enable syntax highlighting for cue
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-03 18:01:17 -07:00
Andrea Luzzardi
4bce5de08b docs: lint docusaurus.config.js
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-03 17:37:42 -07:00