mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
ci(gitlab): cleanup and use latest python&ansible versions (#194)
This commit is contained in:
parent
60d9cf74a6
commit
292cdf2a05
1 changed files with 19 additions and 157 deletions
176
.gitlab-ci.yml
176
.gitlab-ci.yml
|
|
@ -2,171 +2,33 @@ stages:
|
|||
- sanity
|
||||
- integration
|
||||
|
||||
ansible-devel-1/4:
|
||||
variables:
|
||||
PYTHON_VERSION: "3.9"
|
||||
|
||||
default:
|
||||
image: python:$PYTHON_VERSION
|
||||
|
||||
sanity:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
parallel:
|
||||
matrix:
|
||||
- ANSIBLE_VERSION: ["devel", "2.12", "2.13", "2.14"]
|
||||
GROUP: [1]
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/sanity/1
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
- bash tests/utils/gitlab/gitlab.sh ${ANSIBLE_VERSION}/sanity/${GROUP}
|
||||
|
||||
ansible-devel-2/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/sanity/2
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-devel-3/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/sanity/3
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-devel-4/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/sanity/4
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-210-1/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.10/sanity/1
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-210-2/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.10/sanity/2
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-210-3/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.10/sanity/3
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-210-4/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.10/sanity/4
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-29-1/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.9/sanity/1
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-29-2/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.9/sanity/2
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-29-3/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.9/sanity/3
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-29-4/4:
|
||||
stage: sanity
|
||||
image: python:3.6-buster
|
||||
allow_failure: true
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh 2.9/sanity/4
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-devel-1/3:
|
||||
integration:
|
||||
stage: integration
|
||||
image: python:3.6-buster
|
||||
except:
|
||||
- tags
|
||||
parallel:
|
||||
matrix:
|
||||
- ANSIBLE_VERSION: ["devel"]
|
||||
GROUP: [1, 2, 3]
|
||||
script:
|
||||
- echo "$HCLOUD_TOKEN" >> "$(pwd)/hcloud_token.txt"
|
||||
- echo "py38-$CI_JOB_ID" >> "$(pwd)/prefix.txt"
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/hcloud/3.6/1
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
|
||||
ansible-devel-2/3:
|
||||
stage: integration
|
||||
image: python:3.6-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- echo "$HCLOUD_TOKEN" >> "$(pwd)/hcloud_token.txt"
|
||||
- echo "py39-$CI_JOB_ID" >> "$(pwd)/prefix.txt"
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/hcloud/3.6/2
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
ansible-devel-3/3:
|
||||
stage: integration
|
||||
image: python:3.6-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- echo "$HCLOUD_TOKEN" >> "$(pwd)/hcloud_token.txt"
|
||||
- echo "py39-$CI_JOB_ID" >> "$(pwd)/prefix.txt"
|
||||
- bash tests/utils/gitlab/gitlab.sh devel/hcloud/3.6/3
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
- echo "$CI_JOB_ID" >> "$(pwd)/prefix.txt"
|
||||
- bash tests/utils/gitlab/gitlab.sh ${ANSIBLE_VERSION}/hcloud/${PYTHON_VERSION}/${GROUP}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue