mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
8157f9a250
##### SUMMARY ansible-core 2.14 is EOL since 20 May 2024. https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
44 lines
844 B
YAML
44 lines
844 B
YAML
include:
|
|
- project: cloud/integrations/ci
|
|
file:
|
|
- default.yml
|
|
- pre-commit.yml
|
|
|
|
stages:
|
|
- test
|
|
- sanity
|
|
- integration
|
|
|
|
variables:
|
|
PYTHON_VERSION: "3.10"
|
|
|
|
default:
|
|
image: python:$PYTHON_VERSION
|
|
|
|
pre-commit:
|
|
extends: [.pre-commit]
|
|
|
|
sanity:
|
|
stage: sanity
|
|
allow_failure: true
|
|
except:
|
|
- tags
|
|
parallel:
|
|
matrix:
|
|
- ANSIBLE_VERSION: ["devel", "2.15"]
|
|
GROUP: [1]
|
|
script:
|
|
- bash tests/utils/gitlab/gitlab.sh ${ANSIBLE_VERSION}/sanity/${GROUP}
|
|
|
|
integration:
|
|
stage: integration
|
|
except:
|
|
- tags
|
|
parallel:
|
|
matrix:
|
|
- ANSIBLE_VERSION: ["devel"]
|
|
GROUP: [1, 2, 3]
|
|
script:
|
|
- echo "$HCLOUD_TOKEN" >> "$(pwd)/hcloud_token.txt"
|
|
- echo "$CI_JOB_ID" >> "$(pwd)/prefix.txt"
|
|
- bash tests/utils/gitlab/gitlab.sh ${ANSIBLE_VERSION}/hcloud/${PYTHON_VERSION}/${GROUP}
|