Commit Graph

3201 Commits

Author SHA1 Message Date
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
slumbering
1450b86b31 docs: 💄 apply dagger style
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-03 16:10:44 +02:00
Tom Chauveau
ce65a65ede feat(CI): setup kind local kubernetes cluster in CI
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 15:19:54 +02:00
Tom Chauveau
a39e87b179 docker.#Run now use secrets from dagger.#Secret
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 14:03:33 +02:00
Solomon Hykes
89e3bb052e universe: git: comments, use null defaults
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-03 10:46:14 +00:00
Solomon Hykes
f308e51892 universe: file: mark as deprecated
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-03 10:45:05 +00:00
Solomon Hykes
d96e4f5575 universe: docker: simplify
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-03 10:44:10 +00:00
Tom Chauveau
3a7494261f Always generate random
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-03 12:26:08 +02:00
slumbering
30739c2728 docs: 📝 init algolia search params
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-03 10:48:28 +02:00
Andrea Luzzardi
ca03cd6e58
Merge pull request #526 from aluzzardi/docs-dogfood
docs: deploy using dagger
2021-06-02 16:49:09 -07:00
Andrea Luzzardi
a6b9ed3428
Merge pull request #554 from aluzzardi/docs-dependabot
docs: enable dependabot
2021-06-02 15:53:41 -07:00
Andrea Luzzardi
65c9b7de17 docs: remove tools/gendocs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:53:22 -07:00
Andrea Luzzardi
335e2f7c24 docs: switch release flow to dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:53:22 -07:00
Andrea Luzzardi
b76a4a2264 docs: enable dependabot
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:52:03 -07:00
Andrea Luzzardi
a949bbf157 docs: deploy: switch to docusaurus based deploys
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 15:45:51 -07:00
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