Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[infra-tests] Add self-signed integration test #12910

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .werft/aks-installer-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ args:
desc: "Set this to true to skip integration tests"
required: false
default: false
- name: selfSigned
desc: "Set this to true to generate and use a private self-signed certificate"
required: false
default: false
- name: upgrade
desc: "Set this to true to run KOTS upgrade from the specified version to the latest version"
required: false
Expand Down
8 changes: 8 additions & 0 deletions .werft/eks-installer-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ args:
desc: "Set this to true to run KOTS upgrade from the specified version to the latest version"
Pothulapati marked this conversation as resolved.
Show resolved Hide resolved
required: false
default: false
- name: selfSigned
desc: "Set this to true to generate and use a private self-signed certificate"
required: false
default: false
- name: preview
desc: "Setting preview to true creates a self-hosted preview for you to consume"
required: false
Expand Down Expand Up @@ -120,6 +124,10 @@ pod:
sudo chown -R gitpod:gitpod /workspace
sudo apt update && apt install gettext-base

# install mkcert
curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
chmod +x mkcert-v*-linux-amd64
sudo cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert

export domain="{{ .Annotations.subdomain }}"

Expand Down
9 changes: 9 additions & 0 deletions .werft/gke-installer-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ args:
desc: "Set this to true to skip integration tests"
required: false
default: false
- name: selfSigned
desc: "Set this to true to generate and use a private self-signed certificate"
required: false
default: false
- name: upgrade
desc: "Set this to true to run KOTS upgrade from the specified version to the latest version"
required: false
Expand Down Expand Up @@ -107,6 +111,11 @@ pod:
sudo chown -R gitpod:gitpod /workspace
sudo apt update && apt install gettext-base

# install mkcert
curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
chmod +x mkcert-v*-linux-amd64
sudo cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert

export domain="{{ .Annotations.subdomain }}"
if [[ "$domain" == "<no value>" ]]; then
export TF_VAR_TEST_ID=$(echo $RANDOM | md5sum | head -c 5; echo)-gcp
Expand Down
Loading