Commit Graph

291 Commits

Author SHA1 Message Date
Tom Chauveau
020c458921 Add project management in compose.#App definition
I found an issue when during tests execution : there was orphan.
It's because #App doesn't give way to specify the compose project,
by default it's the directory where you launch your app but in our
definition, it will always be source.

The problem is that if we launch two differents docker-compose in the same
server, his project name will be source for both and it will create
orphans problems on cleanup (by docker-compose down).

This case is exactly what we do in tests so I've add the field name
to specify the projet name and avoid that issue.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-26 16:07:14 +02:00
Tom Chauveau
aaa6f8f351 Simplify tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:16:11 +02:00
Tom Chauveau
e4ac04c98c Update import to new alpha version
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
ae209ee090 Add compose.#Up test in universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Solomon Hykes
d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Solomon Hykes
9d85bab9e7 os.#File: simplify API
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 12:56:27 +02:00
Andrea Luzzardi
9984edad09
Merge pull request #707 from samalba/fix-links
Adds support for stdlib Index
2021-06-23 11:24:17 +02:00
Sam Alba
af82c2c910 docs: adds package description to the stdlib Index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 11:05:58 +02:00
Sam Alba
29ace62b72 docs: 102: use source link instead
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Sam Alba
b03e695970 docs: stdlib index sorted alphabetically
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Sam Alba
b5550d0766 docs: fix broken links (fixes #681)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Sam Alba
171cd47413 docs: added stdlib Index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Guillaume de Rouville
6ed3ab712d Complete refacto of CF's doc + fix output issue on Cloudformation package
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-22 19:22:27 +02:00
Tihomir Jovicic
a24595da20 Fix tests
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-22 13:08:31 +02:00
Tihomir Jovicic
1b6187181d Merge branch 'main' into cloudrun-support 2021-06-22 12:30:48 +02:00
Solomon Hykes
656b01041d Docs: 102: use new dagger.#Input in sample code
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 15:29:02 +02:00
Tihomir Jovicic
a1dbbf7a7f update cloudrun tests
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 12:26:24 +02:00
Tihomir Jovicic
a78a678db3 move Cloud Run tests to universe/stdlib env
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 11:34:25 +02:00
Tihomir Jovicic
6e363f86dd Merge branch 'cloudrun-support' of github.com:tjovicic/dagger into cloudrun-support 2021-06-21 10:58:07 +02:00
Tihomir Jovicic
78567ede6a Update cloudrun universe docs
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:26 +02:00
Tihomir Jovicic
5d8219a8f3 Add Cloud Run support
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:18 +02:00
Sam Alba
d5c575b154
Merge pull request #674 from slumbering/ux-ui-reviews
css enhancement + add gtag
2021-06-17 17:58:35 +02:00
slumbering
54212596ac docs: 🐛 css enhancement + add gtag
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-17 17:50:08 +02:00
Sam Alba
a8889d69fc docs: 101: fixed init command
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-17 17:49:16 +02:00
Guillaume de Rouville
0ee9390eab docs: update 107, fully tested and working (apart gke and eks)
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-17 14:00:16 +02:00
Guillaume de Rouville
ce41d25c52 Revert kubernetes/helm packages and tests from secret to str type, needed for docs
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-17 03:16:28 +02:00
Guillaume de Rouville
f8d8a68a5e docs: Modify 107 and 108 packages to follow 102 guidelines => work in subdir
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-16 23:38:05 +02:00
Solomon Hykes
0375f9bf96 Docs: 101: explain key import, group setup steps
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 19:12:18 +02:00
Solomon Hykes
2d0b4a7dcb Docs: 102: group initial setup
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 19:10:53 +02:00
Solomon Hykes
325c843924 Docs: 102: move cue package to a sub-directory
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 17:45:37 +02:00
Solomon Hykes
469f45806a Docs: 102: shorten note about plan manual copy
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 16:45:23 +02:00
Solomon Hykes
9546372caa Docs: 102: note about sharing examples repo
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 16:45:23 +02:00
Solomon Hykes
84495eb9f6 Docs: link formatting in 102
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 16:45:23 +02:00
Guillaume de Rouville
255e6c9c16 docs: uniform codeblocs => use shell language + add title
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-16 16:32:08 +02:00
Sam Alba
2b01808ec8 docs: 101: fix import key cmd
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 16:26:13 +02:00
Solomon Hykes
c55f714fec Docs: add details on origins of Cue
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 15:47:57 +02:00
Solomon Hykes
9c07b8f477 Docs: remove dead links in 102
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 15:47:57 +02:00
Solomon Hykes
b833c94e6a Docs: use todoapp, no voteapp
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-16 15:47:57 +02:00
Sam Alba
1fa9e24613 docs: updated main image
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 14:17:20 +02:00
Sam Alba
e57bfc1dd4
Merge pull request #649 from dubo-dubon-duponey/docs-fixes
Minor doc fixes
2021-06-16 12:31:32 +02:00
Sam Alba
c6e3d35899 docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 12:14:39 +02:00
Sam Alba
7a20adedbf docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 11:15:18 +02:00
dubo-dubon-duponey
9109cce926
Minor fixes
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-06-15 19:03:06 -07:00
Sam Alba
0d5f41ee31 docs: s3 lib: deprecated #Put in favor #Object
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
5eb40b3176 docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Solomon Hykes
e29cf4f4ff Docs: fix typo in a section title
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-15 18:18:55 +02:00
Solomon Hykes
1fa0f43899 Docs placeholder for Dagger 103 - custom script
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-15 16:39:10 +02:00
Solomon Hykes
9690981991 Docs: combine "user manual" and "programming manual" into "learn dagger"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-15 16:10:15 +02:00
Solomon Hykes
71c365542d Docs: reword alpha warning
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-15 15:32:42 +02:00
Solomon Hykes
06f04be214 First pass at programming guide aka "Dagger 102"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-15 12:01:06 +02:00
Sam Alba
5b6080caa4
Merge pull request #642 from samalba/docs-stdlib
Docs stdlib
2021-06-15 10:58:52 +02:00
Sam Alba
7054782547 docs: updated stdlib reference doc
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 10:48:54 +02:00
Andrea Luzzardi
93c9081480 docs: fix sidebar collapsing and titles
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-14 18:48:22 +02:00
Sam Alba
4882c40676 docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-14 18:31:37 +02:00
Sam Alba
2a36771be0 docs: updated code in kubernetes guide
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-14 18:29:10 +02:00
Andrea Luzzardi
b231c3cb1b docs: kubernetes: move into programming guides
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-14 17:37:24 +02:00
Andrea Luzzardi
4554a216f1 docs: kubernetes: support kind/gke/eks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-14 17:37:24 +02:00
Andrea Luzzardi
4221011064 docs: kubernetes tutorial
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-14 17:37:24 +02:00
Guillaume de Rouville
d5b444df1a AWS Provisioning doc
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-14 16:35:23 +02:00
Tom Chauveau
b8a97fb6e7 Update docker.#Run definition and tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-12 12:04:47 +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
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
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
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
88dbcdbaeb docs: added cloudformation guide
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 16:43:30 +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
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
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
31528989c1 docs: fix "superglu" typo
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 11:24:05 -07: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
slumbering
af12f1ccae docs: 📝 update readme
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-04 17:55:39 +02:00
Andrea Luzzardi
6554b6569a docs: fix link
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:15:57 -07:00
Andrea Luzzardi
42caa1f847 docs: index.md -> README.md
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:08:45 -07:00
Andrea Luzzardi
701feb1296 docs: fix links
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-02 14:07:10 -07:00
slumbering
c35c0953a1 docs: fix: 🐛 remove wrong links path (FIX NEEDED)
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-02 14:07:05 -07:00
slumbering
bc3f61b928 docs: feat: init Docusaurus
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-02 14:07:01 -07:00
Solomon Hykes
815ea4c704 Docs: simplify intro page
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:38:04 -07:00
Solomon Hykes
1ea2cf2a14 docs: title "Install Dagger"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:38:04 -07:00
Andrea Luzzardi
93d7bb08e5
Merge pull request #459 from aluzzardi/gitflow-ux
gitflow
2021-05-25 15:38:18 -07:00
Solomon Hykes
935782e6a6 Docs: simplify install instructions
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 15:34:57 -07:00
Andrea Luzzardi
d10b8cf7d0 docs: update docs for gitflow
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 15:20:44 -07:00
Solomon Hykes
9548e014b7 Docs: title change in sidebar
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-24 18:01:01 -07:00
Andrea Luzzardi
96b900e4cd ci: markdown lint
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 15:47:46 -07:00
Andrea Luzzardi
074cafdafe docs: revamp sidebar
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 13:37:17 -07:00
Andrea Luzzardi
a0789ec2dc docs: fix relative links
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 13:37:17 -07:00
Andrea Luzzardi
6ddb973f03 docs: move gendocs tool to dagger/dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-21 11:11:21 -07:00
slumbering
b9083f7fea update docs
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-21 18:22:22 +02:00
slumbering
828f9d9ff1 script deploy plugged to docGenerator repo + rename doc/ to docs/
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-21 17:47:02 +02:00