Commit Graph

2567 Commits

Author SHA1 Message Date
Andrea Luzzardi
02b47157e1 doc generation: refactor to allow multi-stage processing
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-11 17:04:30 +02:00
Solomon Hykes
dd9bd0a83c Fix (excessive) markdown linter error
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-11 14:15:18 +02:00
Tom Chauveau
8a2fc9aa72 Add docker.#Command tests
Tests :
- docker version with ssh
- docker version with ssh and key passphrase
- docker version with ass and wrong key passphrase

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-11 09:55:03 +02:00
Tom Chauveau
e540bd2716 Replace docker.#Client with docker.#Command definition
It's a simple wrapper that will expose an interface
to run any docker or docker-compose commands
You can configure :
- ssh
- environments
- mount volumes
- command to execute
- package to install

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-11 09:55:03 +02:00
Solomon Hykes
9fa89f1f22 stdlib tests: FIXMEs + call for help
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
2976afad66 universe: spin out js/yarn tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
d388c729bc universe: spin out alpine tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
c1096fbc12 Fix infinite loop in universe tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Sam Alba
e5aa981c28
Merge pull request #612 from samalba/user-manual
docs: first version of user manual
2021-06-10 15:55:08 +02:00
Sam Alba
1a7c26b01c docs: first version of user manual
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-10 15:52:10 +02:00
Tihomir Jovicic
c6b02b3ee1 Update cloudrun universe docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-10 11:54:03 +02:00
Tihomir Jovicic
15792fb924 Move Cloud Run image property to GCP config struct
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-10 11:52:54 +02:00
Tihomir Jovicic
8c5b4270d0 Add Cloud Run support
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-10 08:12:43 +02:00
Andrea Luzzardi
790cf70838
Merge pull request #605 from aluzzardi/docs-fix
docs: fix generation for packages with sub-packages
2021-06-09 18:56:37 -07:00
Andrea Luzzardi
12b712b741 docs generation: write package doc as README.md if there are sub-packages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 18:42:23 -07:00
Andrea Luzzardi
ee8bcfafaa doc generation: refactor to allow multi-stage processing
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 18:42:10 -07:00
Andrea Luzzardi
b8f9c0ee67
Merge pull request #603 from aluzzardi/universe-helpers
universe: misc fixes, restore helpers
2021-06-09 16:04:14 -07:00
Andrea Luzzardi
3339a351ed tests: enable shellcheck for universe tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 15:51:31 -07:00
Andrea Luzzardi
5d2392b38c tests: universe: misc fixes
- Fix running from any directory
- Fix display format for test logs
- Move helpers to a common helper file
- Indentation

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 15:51:23 -07:00
Andrea Luzzardi
91eed48dd1
Merge pull request #602 from shykes/universe-devenv
Move universe tests to universe dir
2021-06-09 15:20:17 -07:00
Solomon Hykes
fcbdfe178a Move universe integration tests to universe dir.
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-09 20:28:44 +00:00
Andrea Luzzardi
85da25a7ea
Merge pull request #599 from aluzzardi/edit-name
input edit: allow renaming the environment
2021-06-09 12:30:53 -07:00
Andrea Luzzardi
b0d571562d
Merge pull request #600 from aluzzardi/fix-ci-docker-run
tests: use different container prefix for docker tests
2021-06-09 11:50:26 -07:00
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