Sam Alba
5fa6a2adb2
Merge pull request #949 from TomChv/feat/improve-kube-pkg
...
Improve kubernetes package to deploy config from yaml
2021-09-07 14:32:14 -07:00
Tom Chauveau
c05f7d50d4
Update kubernetes testing policy to test deployment from url
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-06 16:25:51 +02:00
Tom Chauveau
97cd00332a
Improve kubernetes package to handle deployment from url
...
When I was working on ArgoCD test integration, I found
that to expose ArgoCD server, we need to add `ingress`
to expose an endpoint.
To do it with Kind, it's necessary to apply a custom yaml
available on Github. It simply then need `kubectl apply -f <url>`
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-06 15:17:38 +02:00
Sam Alba
3ef1196cb6
Merge pull request #947 from benja-M-1/feat/gcp-cloudrun-env-vars
...
Add env var support on GCP cloudrun
2021-09-05 14:50:42 -07:00
Benjamin Grandfond
830ad87ced
Add env var support on GCP cloudrun
...
Signed-off-by: Benjamin Grandfond <benjamin.grandfond@gmail.com>
2021-09-05 20:54:53 +02:00
Sam Alba
db8a92c371
Merge pull request #935 from TomChv/feat/improve-git-pkg
...
Improve git package to commit & push
2021-09-03 09:55:03 -07:00
Guillaume de Rouville
9448fba997
Fix structural cycle error
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-03 02:29:31 +02:00
Tom Chauveau
95040d8320
Improve git package according to Sam comments
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
4ad2c8e7e5
Add test on git.#Commit
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
c8e3755188
Add git.#Commit definition and git.#Image
...
This definition allow user to commit & push new content to repository.
I've also add a quick feature to os.#Container to write files.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
019b56891d
Update old git test
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Sam Alba
ea9e3d5745
Merge pull request #936 from grouville/ci/disable-kub-test
...
ci: disabled kubernetes tests temporarily
2021-09-02 11:54:26 -07:00
Guillaume de Rouville
6348686231
ci: disabled kubernetes tests temporarily
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-02 19:39:10 +02:00
Sam Alba
28eb785203
Merge pull request #929 from TomChv/feat/docker-secret
...
op.#PushContainer secret management
2021-09-01 15:27:07 -07:00
Sam Alba
d629569dd4
Merge pull request #882 from grouville/docs-test
...
Docs Integration tests - Big rebasing
2021-09-01 14:01:01 -07:00
Tom Chauveau
cf13257b10
Improve SecretStore integration with new method
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 21:46:56 +02:00
Guillaume de Rouville
3453675a3f
rebase merge conflicts fix
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 12:14:57 +02:00
Guillaume de Rouville
99d2494033
Fix localstack setup issue on local run
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:20:51 +02:00
Tom Chauveau
e7a738211f
Improve test policy for examples
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:16 +02:00
Tom Chauveau
02e7cd3f59
Add missing tests to 1007-gcp test
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:16 +02:00
Guillaume de Rouville
cf7e222a04
Fix bats dagger to bats dagger() expansion not working inside shellscript
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:19:16 +02:00
Guillaume de Rouville
6ef0cfe321
1008: Implement on LocalStack
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:19:16 +02:00
Tom Chauveau
4d03638911
Add test for kube-gcp cue-manifest step
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:13 +02:00
Tom Chauveau
1830b34e13
Add test for kube-gcp deployment step
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:18:41 +02:00
Tom Chauveau
2a15682386
Add test for kube-gcp basic step
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:39 +02:00
Tom Chauveau
f24af776db
Add test for kube-aws cue-manifest part
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:05 +02:00
Tom Chauveau
5fcaaa6cfe
Add test for kube-aws basic & deployment
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:16:36 +02:00
Tom Chauveau
a91181bb5f
Add kubernetes test for kind cue-manifest
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:16:00 +02:00
Tom Chauveau
bdcb917943
Add kubernetes test for kind deployment
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:15:02 +02:00
Tom Chauveau
b145d03192
Update CI workflow to test documentation
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:09 +02:00
Tom Chauveau
a8e218d808
Add basic test for kubernetes kind documentation
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:09 +02:00
Tom Chauveau
6a442fae6c
Update kubernetes documentation to directly use cue files
...
Previously, we were embedding cue files directly in the doc, now we
display it from real cue file that we also use to test our doc.
I've add the first step of the kubernetes documentation adapted for
kind
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:07 +02:00
Guillaume de Rouville
00f7e63c4a
1010 test implementation
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
2bcd7a7dbf
bats - fix 1004 wrong cmd + move helper.bats cmd to make it more generic
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
8e9a56a024
Add doc-test to CI - Add Cue dependency to integration CI test
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
dc865bf2be
1008 test implementation
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
6744045ce7
1006 test implementation
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
82d45985a5
1004 test implementation
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
ad2f9b3f17
1003 test implementation
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
6f0a0b4e0f
Doc test suite integration
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Sam Alba
2d30e3e9ef
Merge pull request #931 from grouville/localstack/fix-input-bool-type
...
localstack tests: convert back str input to bool type
2021-08-31 09:23:46 -07:00
Sam Alba
4e5f630ad1
Merge pull request #930 from grouville/fix/localstack
...
ci: re-enable localstack tests
2021-08-31 09:23:18 -07:00
Sam Alba
34224469c1
Merge pull request #928 from tjovicic/update-package-manager-docs
...
Update package manager docs with new dagger/packages repo
2021-08-31 09:22:25 -07:00
Guillaume de Rouville
6360ccc92b
localstack/fix-input-bool-type: change localstack test input from str to bool
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 17:51:56 +02:00
Tom Chauveau
eabf1b52e5
Update docker push tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 14:44:06 +02:00
Guillaume de Rouville
74b1ac3632
ci: re-enable localstack tests
...
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 14:39:45 +02:00
Tom Chauveau
7cc1c8e5dd
Update docker package according to op.#PushContainer
improvement
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:05:22 +02:00
Tom Chauveau
a00fbb0f68
Update op.#PushContainer test to use secrets
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:04:57 +02:00
Tom Chauveau
a9fd97d7fe
Handle secrets in DockerLogin operation
...
Before, secret was a plain text string, but it could lead to security issue
so we are now handling secrets as `dagger.#Secret` or string.
I've add a new struct SecretStore that expose the inputStore to easily
retrieve secret value.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:04:16 +02:00
Tihomir Jovicic
73dc0200c3
Explain how to develop packages locally
...
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-31 09:13:11 +02:00