Skip to content
Snippets Groups Projects
Unverified Commit 66fbd0f1 authored by Varac's avatar Varac
Browse files

Use resource instead of app in .gitlab-ci.yml

parent a834d538
No related branches found
No related tags found
No related merge requests found
......@@ -349,7 +349,7 @@ setup-openappstack:
- *debug_information
- cd ansible/
- export KUBECONFIG="${PWD}/../clusters/${HOSTNAME}/kube_config_cluster.yml"
- pytest -v -s -m 'kustomizations' --app="$RESOURCE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 20
- pytest -v -s -m 'kustomizations' --resource="$RESOURCE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 20
extends:
- .ssh_setup
- .general_rules
......@@ -366,7 +366,7 @@ base-kustomizations-ready:
- *debug_information
- cd ansible/
- export KUBECONFIG="${PWD}/../clusters/${HOSTNAME}/kube_config_cluster.yml"
- pytest -v -s -m 'helmreleases' --app="$RESOURCE" --namespace="$NAMESPACE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 20
- pytest -v -s -m 'helmreleases' --resource="$RESOURCE" --namespace="$NAMESPACE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 20
extends:
- .ssh_setup
interruptible: true
......@@ -561,7 +561,7 @@ wordpress-helm-release:
- *debug_information
- cd ansible/
- export KUBECONFIG="${PWD}/../clusters/${HOSTNAME}/kube_config_cluster.yml"
- pytest -v -s -m 'apps_running' --app="$RESOURCE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 10
- pytest -v -s -m 'apps_running' --resource="$RESOURCE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 10
extends:
- .ssh_setup
interruptible: true
......@@ -686,7 +686,7 @@ wordpress-ready:
script:
- *debug_information
- cd ansible/
- pytest -v -s -m 'certs' --app="$RESOURCE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 10
- pytest -v -s -m 'certs' --resource="$RESOURCE" --connection=ansible --ansible-inventory=${CLUSTER_DIR}/inventory.yml --hosts='ansible://*' --reruns 120 --reruns-delay 10
extends:
- .ssh_setup
interruptible: true
......@@ -797,7 +797,7 @@ kube-prometheus-stack-alerts:
script:
- *debug_information
# Run the taiko tests for specific app
- python3 -m openappstack $HOSTNAME test --apps $RESOURCE
- python3 -m openappstack $HOSTNAME test --resources $RESOURCE
retry: 2
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment