summaryrefslogtreecommitdiffstats
path: root/ansible_collections/hetzner/hcloud/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ansible_collections/hetzner/hcloud/.gitlab-ci.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/ansible_collections/hetzner/hcloud/.gitlab-ci.yml b/ansible_collections/hetzner/hcloud/.gitlab-ci.yml
index 7748f7237..3387f825b 100644
--- a/ansible_collections/hetzner/hcloud/.gitlab-ci.yml
+++ b/ansible_collections/hetzner/hcloud/.gitlab-ci.yml
@@ -1,13 +1,23 @@
+include:
+ - project: cloud/integrations/ci
+ file:
+ - default.yml
+ - pre-commit.yml
+
stages:
+ - test
- sanity
- integration
variables:
- PYTHON_VERSION: "3.9"
+ PYTHON_VERSION: "3.10"
default:
image: python:$PYTHON_VERSION
+pre-commit:
+ extends: [.pre-commit]
+
sanity:
stage: sanity
allow_failure: true
@@ -15,7 +25,7 @@ sanity:
- tags
parallel:
matrix:
- - ANSIBLE_VERSION: ["devel", "2.12", "2.13", "2.14"]
+ - ANSIBLE_VERSION: ["devel", "2.13", "2.14", "2.15"]
GROUP: [1]
script:
- bash tests/utils/gitlab/gitlab.sh ${ANSIBLE_VERSION}/sanity/${GROUP}