Commit Graph

1275 Commits

Author SHA1 Message Date
Tom Chauveau
e1c72890ec Add random name generation to avoid orphans during parallel CI
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-26 16:18:18 +02:00
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
Andrea Luzzardi
ad1eb75893
Merge pull request #572 from TomChv/docker-compose
Add Docker compose package
2021-06-25 19:35:32 +02:00
Andrea Luzzardi
4ecced99fc
Merge pull request #727 from slumbering/fixe-amplitude
rewrite useEffect + use location props
2021-06-25 18:28:04 +02:00
jffarge
f0b4db8d2c docs: 🐛 rewrite useEffect + use location props
Signed-off-by: jffarge <jf@dagger.io>
2021-06-25 18:24:25 +02:00
Andrea Luzzardi
b446fbdd64
Merge pull request #715 from TomChv/universe-tests-subpackages
Transform universe tests plan to subpackage
2021-06-25 17:55:12 +02:00
Tom Chauveau
2fbb9e7744 Update import to alpha version
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:26:51 +02:00
Tom Chauveau
aaa6f8f351 Simplify tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:16:11 +02:00
Andrea Luzzardi
a5a995bb49
Merge pull request #726 from slumbering/fix-window-location
check window location
2021-06-25 17:08:01 +02:00
jffarge
cb8667ddf1 docs: 🐛 check window location
Signed-off-by: jffarge <jf@dagger.io>
2021-06-25 17:01:21 +02:00
Tom Chauveau
51fe199a39 Update doc generator to ignore tests directory
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:00:38 +02:00
Tom Chauveau
c99e39ec9c Move tests plan from dagger dir to universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 17:00:38 +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
Tom Chauveau
5029b5d815 Refactor compose.#Up definition to use docker.#Command
Add some feature to docker.#Command to :
- Copy artifact in the container
- Write files in the container
- Login to registries

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
f1a6f66ed5 Remove all docker-compose stdlib tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
f2d8cb39bd Fix network error on docker-compose
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
b6c8ef34b0 Add docker-compose tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
9270168f17 Add docker-compose package in stdlib
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Andrea Luzzardi
36cf20ae2d
Merge pull request #724 from aluzzardi/fix-cue.mod
universe: add cue.mod
2021-06-25 16:54:09 +02:00
Andrea Luzzardi
d9fd1c07a4
Merge pull request #725 from slumbering/fix-amplitude-logs
log amplitude only when location pathname change
2021-06-25 16:53:43 +02:00
jffarge
7058484420 docs: 🐛 log amplitude only when location pathname change
Signed-off-by: jffarge <jf@dagger.io>
2021-06-25 16:46:00 +02:00
Andrea Luzzardi
4596276944 tests: sanity-check: run from universe directory
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:41:16 +02:00
Andrea Luzzardi
ecb53566e6 cmd doc: skip cue.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:21:42 +02:00
Andrea Luzzardi
898b0816be universe: add cue.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:14:11 +02:00
Andrea Luzzardi
5956f1cafc
Merge pull request #721 from aluzzardi/docs-rename-event
docs: website: rename event
2021-06-25 13:36:37 +02:00
Andrea Luzzardi
d53ead7514 docs: website: rename event
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 13:34:50 +02:00
Andrea Luzzardi
73a32e6262
Merge pull request #713 from shykes/alpha.dagger.io
stdlib: move all imports to alpha.dagger.io
2021-06-25 12:57:57 +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
Andrea Luzzardi
f8f5c63afb
Merge pull request #714 from slumbering/docs-analytics
add amplitude analytics
2021-06-24 17:42:19 +02:00
jffarge
598df7350b docs: 🐛 remove branch context + add amplitude option
Signed-off-by: jffarge <jf@dagger.io>
2021-06-24 17:39:55 +02:00
jffarge
e838fdb6a3 docs: 🐛 fix amplitude logEvent
Signed-off-by: jffarge <jf@dagger.io>
2021-06-24 17:17:38 +02:00
jffarge
0e2372be94 docs: 🐛 add proxy redirect
Signed-off-by: jffarge <jf@dagger.io>
2021-06-24 17:05:00 +02:00
jffarge
af7df8c421 fix: 🐛 change netlify context to deploy with auth
Signed-off-by: jffarge <jf@dagger.io>
2021-06-24 16:56:17 +02:00
jffarge
77e5b2f938 feat: 🐛 add amplitude analytics
Signed-off-by: jffarge <jf@dagger.io>
2021-06-24 16:43:38 +02:00
Solomon Hykes
aa6335246b os.#Container: mount secrets with a more consistent API
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 13:35:15 +02: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
66bdaa31b7
Merge pull request #709 from grouville/docs_CF_change_writing_style
doc#108: complete refacto of CF's guide (now follows Andrea's writing style) + Fix CF relay's output issue
2021-06-23 10:56:09 +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
Sam Alba
6ff2fed960 cmd/doc: add support for generating package index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 10:53:37 +02:00
Solomon Hykes
b1d52254b1 Tests: merge compute.bats into core.bats
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-22 22:52:03 +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
Andrea Luzzardi
d978692ccd
Merge pull request #705 from aluzzardi/stderr-info
log stderr output as INFO
2021-06-22 14:04:19 +02:00
Andrea Luzzardi
4d9ef37b48 log stderr output as INFO
Fixes #241

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-22 12:48:42 +02:00
Andrea Luzzardi
83019a5414
Merge pull request #685 from TomChv/move-tests-to-universe
Move tests to universe
2021-06-21 17:41:43 +02:00