63 Commits

Author SHA1 Message Date
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Adrien Thebo
bf165cb0a6 [installer-tests] Only initialize terraform when needed for kots config
The `generate-kots-config` target depended on the `tf-init` and `tf-output` targets,  but this was only used for external Gitpod dependencies. When using an in-cluster installation this init is not necessary; having `generate-kots-config` perform the lookup when unneeded makes the incluster setup more cumbersome than necessary. This commit pushes the makefile dependency down to the targets that actually consume terraform outputs.
2022-11-14 16:15:44 +02:00
Adrien Thebo
91233940b8 Update install/tests/Makefile 2022-11-14 16:13:45 +02:00
Adrien Thebo
d608559f34 [install/tests] Document integration test scm setup steps 2022-11-14 16:13:45 +02:00
Adrien Thebo
3fa0ad1569 [installer-tests] fail cleanup job when any environment fails to cleanup 2022-11-09 09:05:39 +01:00
Adrien Thebo
4093fab28d [installer-tests] quote bash variable to silence lint 2022-11-09 09:05:39 +01:00
Andrea Falzetti
bc0ab37a54 feat: add integration tests for ssh gateway 2022-10-21 20:41:36 +02:00
Nandaja Varma
7b6959d36b [installer-tests] Fix the variable name corresponding domain 2022-10-19 18:48:34 +02:00
Nandaja Varma
8cb4acac08 [installer-tests] Remove duplicate kots install from Makefile 2022-10-17 11:37:33 +02:00
Nandaja Varma
b043c1a61d [installer-tests] Use reference architecture to run tests 2022-10-15 20:12:30 +02:00
Nandaja Varma
0d0310c22d [installer-tests] Splitting the integration tests 2022-10-13 11:11:28 +02:00
Nandaja Varma
4a22967f77 [terraform] prepare terraform modules to use for tests 2022-10-12 17:28:28 +02:00
Nandaja Varma
feedcda089 [self-hosted-preview] Support version specification in preview 2022-10-12 10:12:27 +02:00
Adrien Thebo
ae6dfaa74b [installer/tests] upload diagnostics when installation fails 2022-10-11 21:38:26 +02:00
Nandaja Varma
850034a4fd [installer-tests] Cleanup secret creation on gitpod install 2022-10-05 18:36:21 +02:00
Nandaja Varma
6fd0a19099 [installer-tests] Add cleanup cron for individual setup 2022-10-04 18:18:20 +02:00
Nandaja Varma
b6470aa291 [terraform] cleaning up k3s module to use for tests 2022-10-04 12:57:20 +02:00
Nandaja Varma
53eb13404b [installer-tests] Adding secrets to run integration tests 2022-09-29 18:35:29 +02:00
Nandaja Varma
b12f22fdad [installer-tests] Fix azure login for cleanup jobs 2022-09-29 11:07:29 +02:00
Adrien Thebo
a34733e02a [install/tests] Notify users to source eks credentials 2022-09-29 09:34:30 +02:00
Nandaja Varma
18bd74aef5 [installer-tests] Cleanup the test crons 2022-09-28 10:52:30 +02:00
Tarun Pothulapati
9d3c170592 upload custom CA into terraform state
Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-09-28 06:58:28 +02:00
Nandaja Varma
85f30d909f [installer-tests] fix cluster issuer test condition 2022-09-26 18:56:27 +02:00
Nandaja Varma
c4d0f6990a [installer-tests] Fix the condition for cluster-issuer install 2022-09-26 17:55:27 +02:00
Nandaja Varma
554d959ea7 fixing the order of make target calls 2022-09-26 15:26:26 +02:00
Nandaja Varma
bc85104e2e Add SCM integration to tests 2022-09-26 15:26:26 +02:00
Nandaja Varma
6faf8a9ce3 [installer-tests] fix the subdomain for upgrade tests to include the provider 2022-09-25 16:05:25 +02:00
Nandaja Varma
66be58d94c [installer-tests] make domain name configurable 2022-09-24 16:15:24 +02:00
Nandaja Varma
f0d847c019 [installer-test] add kubeconfig authentication hack 2022-09-23 16:05:24 +02:00
Nandaja Varma
6ffabacd9e [installer-tests] avoid cleaning up preview setup for release branches 2022-09-23 14:21:24 +02:00
Tarun Pothulapati
fe26d2613d [infra-tests] Add self-signed integration test
This PR adds a new test option called `self-signed` which is used to
enable `self-signed` integration tests. This is done by adding a new
`generate-self-signed` make option, which is called whenever `self_signed`
env variable is enabled.

Once enabled, self-signed certs are genereated and relevant `self-signed-config`
is called to attach those files into `kots` config.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-09-20 10:59:21 +02:00
Nandaja Varma
5ed8a4a6fe [installer-tests] Surround the GCP password with quotes 2022-09-15 11:38:16 +02:00
Nandaja Varma
40b89ce1ee [azure] Single-cluster usage guide for AKS TF module 2022-09-14 23:15:16 +02:00
Nandaja Varma
a56bd65470 [terraform/gcp] Create separate SA credentials for each dependency 2022-09-14 11:35:15 +02:00
Nandaja Varma
152c2e5104 [installer-tests] add werft flag to trigger self-hosted preview 2022-09-07 09:10:22 +02:00
Nandaja Varma
789f142e4b [installer-tests] fix azure authentication 2022-09-06 07:58:21 +02:00
Nandaja Varma
e249f6b642 [terraform] Add random variables to terrraform resource names 2022-09-01 09:50:16 +02:00
Nandaja Varma
1ff36d1e12 [installer-tests] Add annotations to Cron job files 2022-09-01 09:26:16 +02:00
Nandaja Varma
21c2599c85 [installer-tests] Update supported k8s versions for AKS and EKS 2022-09-01 09:26:16 +02:00
Nandaja Varma
1dfdf6e675 [installer-tests] Adding test support for s3 registry backend 2022-09-01 09:02:16 +02:00
Nandaja Varma
1117edba54 [installer-tests] Fix GCP database config 2022-09-01 08:52:17 +02:00
Nandaja Varma
91fd698023 [installer-tests] adding self-hosted team as codeowners 2022-08-26 09:35:11 +02:00
Nandaja Varma
99f59a5fb8 Remove all default AMI ID values 2022-08-25 19:51:10 +02:00
Nandaja Varma
b09a3eb796 Add terraform configurations for single-cluster ref arch 2022-08-18 21:18:35 +02:00
Nandaja Varma
d7362c6a01 Add terraform configurations for single-cluster ref arch 2022-08-18 21:18:35 +02:00
Nandaja Varma
f4d66f239f adding output for cluster issuer 2022-08-18 21:18:35 +02:00
Nandaja Varma
31d0e28566 Add terraform configurations for single-cluster ref arch 2022-08-18 21:18:35 +02:00
Nandaja Varma
8565f1298e [installer-tests] Add tests for k8s versions and ubuntu version 2022-08-18 21:18:35 +02:00
Nandaja Varma
a3c81b618a [installer-tests] add slack webhook 2022-08-10 16:44:54 +02:00
Nandaja Varma
efe7930d85 [installer-tests] Add tests for k8s versions and ubuntu version 2022-08-01 17:39:45 -03:00