mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
Add Gitlab-CI (#3)
This commit is contained in:
parent
363598811e
commit
a2d00f8d7a
6 changed files with 207 additions and 0 deletions
68
.gitlab-ci.yml
Normal file
68
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
stages:
|
||||
- sanity
|
||||
- integration
|
||||
|
||||
test:sanity1-devel-py38:
|
||||
stage: sanity
|
||||
image: python:3.8-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh sanity/1
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
test:sanity2-devel-py38:
|
||||
stage: sanity
|
||||
image: python:3.8-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh sanity/2
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
test:sanity3-devel-py38:
|
||||
stage: sanity
|
||||
image: python:3.8-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh sanity/3
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
test:sanity4-devel-py38:
|
||||
stage: sanity
|
||||
image: python:3.8-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- bash tests/utils/gitlab/gitlab.sh sanity/4
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
test:integration1-devel-py38:
|
||||
stage: integration
|
||||
image: python:3.8-buster
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- echo "$HCLOUD_TOKEN" >> "$(pwd)/hcloud_token.txt"
|
||||
- echo "py38-$CI_JOB_ID" >> "$(pwd)/prefix.txt"
|
||||
- bash tests/utils/gitlab/gitlab.sh integration/1
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
|
||||
|
||||
test:integration2-devel-py38:
|
||||
stage: integration
|
||||
image: python:3.8-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 integration/2
|
||||
tags:
|
||||
- hc-bladerunner
|
||||
Loading…
Add table
Add a link
Reference in a new issue