From ceb875c7fd0fde730de2f661e02a85ecba547471 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Thu, 9 Dec 2021 10:22:21 +0100 Subject: [PATCH] test-dns job doesnt need ansible TRIGGER_JOBS=enable-monitoring,enable-nextcloud,enable-wekan,enable-wordpress,enable-zulip --- .gitlab-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79c3f1215..7d53051ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ include: - | echo "Env vars:" echo - env | grep -E '^(HOSTNAME|CLUSTER_NAME|FQDN|IP_ADDRESS|ANSIBLE_HOST_KEY_CHECKING|KANIKO_BUILD_IMAGENAME|SSH_KEY_ID|SHELL|CI_PROJECT_DIR)=' + env | grep -E '^(HOSTNAME|CLUSTER_NAME|FQDN|IP_ADDRESS|CLUSTER_DIR|ANSIBLE_HOST_KEY_CHECKING|KANIKO_BUILD_IMAGENAME|SSH_KEY_ID|SHELL|CI_PROJECT_DIR)=' echo echo "Uptime: $(uptime)" echo "KANIKO build image ref: ${CI_REGISTRY_IMAGE}/${KANIKO_BUILD_IMAGENAME}:${CI_CONTAINER_TAG}" @@ -289,6 +289,7 @@ create-vps: interruptible: true test-dns: + # Needs a pytest ansible connection to get the configured system resolvers stage: install-cluster needs: - job: create-vps @@ -430,12 +431,9 @@ enable-zulip: - job: install-stackspin script: - *debug_information - - cd ansible/ + - cd test/ - export KUBECONFIG="${PWD}/../clusters/${HOSTNAME}/kube_config_cluster.yml" - - > - pytest -v -s -m 'kustomizations' --resource="$RESOURCE" - --connection=ansible --ansible-inventory=../${CLUSTER_DIR}/inventory.yml - --hosts='ansible://*' --reruns 120 --reruns-delay 20 + - pytest -v -s -m 'kustomizations' --resource="$RESOURCE" --reruns 120 --reruns-delay 20 extends: - .general_rules interruptible: true @@ -590,7 +588,7 @@ zulip-kustomization-ready: stage: certs script: - *debug_information - - cd ansible/ + - cd test/ - pytest -v -s -m 'certs' --resource="$RESOURCE" --reruns 120 --reruns-delay 10 interruptible: true -- GitLab