Commit Graph

1319 Commits

Author SHA1 Message Date
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
Andrea Luzzardi
b805d37cb0
Merge pull request #557 from shykes/stdlib-cleanup
Universe: cleanup
2021-06-03 11:27:18 -07:00
Andrea Luzzardi
856aaeab73
Merge pull request #556 from TomChv/tests-fix-random
Always generate random
2021-06-03 11:26:37 -07:00
Andrea Luzzardi
6da4257532
Merge pull request #555 from slumbering/docs_search
init algolia search params
2021-06-03 11:26:23 -07:00
slumbering
2ac5b61875 docs: 💩 replace wripe api key with search api key
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-03 18:31:31 +02:00
Sam Alba
e328e71e6c
Merge pull request #337 from TomChv/ci-kind-setup
Setup Kind cluster in CI
2021-06-03 09:08:49 -07:00
Tom Chauveau
2c6e67cb7d Update helm and kubernetes tests to use new dagger.#Secret definition
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 17:55:44 +02:00
Sam Alba
7a15299c34
Merge pull request #558 from TomChv/fix-docker-run-test
docker.#Run now use secrets from dagger.#Secret
2021-06-03 08:23:50 -07:00