2021-02-03 11:40:48 +00:00
|
|
|
trigger:
|
|
|
|
batch: true
|
|
|
|
branches:
|
2023-07-11 11:23:22 +00:00
|
|
|
include: [main, stable-1]
|
2021-02-03 11:40:48 +00:00
|
|
|
|
|
|
|
pr:
|
|
|
|
autoCancel: true
|
|
|
|
branches:
|
2023-07-11 11:23:22 +00:00
|
|
|
include: [main, stable-1]
|
2021-02-03 11:40:48 +00:00
|
|
|
|
|
|
|
schedules:
|
|
|
|
- cron: 0 9 * * *
|
|
|
|
displayName: Nightly
|
|
|
|
always: true
|
|
|
|
branches:
|
2023-07-11 11:23:22 +00:00
|
|
|
include: [main, stable-1]
|
2021-02-03 11:40:48 +00:00
|
|
|
|
|
|
|
variables:
|
|
|
|
- name: checkoutPath
|
|
|
|
value: ansible_collections/hetzner/hcloud
|
|
|
|
- name: coverageBranches
|
2021-03-26 09:08:48 +00:00
|
|
|
value: main
|
2021-02-03 11:40:48 +00:00
|
|
|
- name: pipelinesCoverage
|
|
|
|
value: coverage
|
|
|
|
- name: entryPoint
|
|
|
|
value: tests/utils/shippable/shippable.sh
|
|
|
|
- name: fetchDepth
|
|
|
|
value: 0
|
|
|
|
|
|
|
|
resources:
|
|
|
|
containers:
|
|
|
|
- container: default
|
2023-07-04 13:25:35 +00:00
|
|
|
image: quay.io/ansible/azure-pipelines-test-container:4.0.1
|
2021-02-03 11:40:48 +00:00
|
|
|
|
|
|
|
pool: Standard
|
|
|
|
|
|
|
|
stages:
|
2023-06-21 08:49:54 +00:00
|
|
|
### Sanity
|
2021-02-03 11:40:48 +00:00
|
|
|
- stage: Ansible_devel
|
|
|
|
displayName: Sanity devel
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
targets:
|
|
|
|
- name: Sanity
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "devel/sanity/1"
|
2023-05-12 11:30:30 +00:00
|
|
|
|
2023-09-19 07:34:00 +00:00
|
|
|
- stage: Ansible_2_16
|
|
|
|
displayName: Sanity 2.16
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
targets:
|
|
|
|
- name: Sanity
|
|
|
|
test: "2.16/sanity/1"
|
2023-05-12 11:30:30 +00:00
|
|
|
- stage: Ansible_2_15
|
|
|
|
displayName: Sanity 2.15
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
targets:
|
|
|
|
- name: Sanity
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "2.15/sanity/1"
|
2022-09-27 03:57:31 +00:00
|
|
|
- stage: Ansible_2_14
|
|
|
|
displayName: Sanity 2.14
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
targets:
|
|
|
|
- name: Sanity
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "2.14/sanity/1"
|
2022-04-26 09:34:22 +00:00
|
|
|
- stage: Ansible_2_13
|
|
|
|
displayName: Sanity 2.13
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
targets:
|
|
|
|
- name: Sanity
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "2.13/sanity/1"
|
2021-10-13 09:18:01 +00:00
|
|
|
|
2023-06-21 08:49:54 +00:00
|
|
|
## Integration tests (remote)
|
2021-02-03 11:40:48 +00:00
|
|
|
- stage: Hetzner_devel
|
|
|
|
displayName: Hetzner devel
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
groups:
|
|
|
|
- 1
|
|
|
|
- 2
|
2023-05-12 11:30:30 +00:00
|
|
|
- 3
|
2021-02-22 21:25:44 +00:00
|
|
|
targets:
|
|
|
|
- name: hcloud
|
2023-09-19 07:34:00 +00:00
|
|
|
test: "devel/hcloud/3.10"
|
|
|
|
|
|
|
|
- stage: Hetzner_2_16
|
|
|
|
displayName: Hetzner 2.16
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
groups:
|
|
|
|
- 1
|
|
|
|
- 2
|
|
|
|
- 3
|
|
|
|
targets:
|
|
|
|
- name: hcloud
|
|
|
|
test: "2.16/hcloud/3.10"
|
2021-02-22 21:25:44 +00:00
|
|
|
|
2023-05-12 11:30:30 +00:00
|
|
|
- stage: Hetzner_2_15
|
|
|
|
displayName: Hetzner 2.15
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
groups:
|
|
|
|
- 1
|
|
|
|
- 2
|
|
|
|
- 3
|
|
|
|
targets:
|
|
|
|
- name: hcloud
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "2.15/hcloud/3.9"
|
2023-05-12 11:30:30 +00:00
|
|
|
|
2022-09-27 03:57:31 +00:00
|
|
|
- stage: Hetzner_2_14
|
|
|
|
displayName: Hetzner 2.14
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
groups:
|
|
|
|
- 1
|
|
|
|
- 2
|
2023-05-12 11:30:30 +00:00
|
|
|
- 3
|
2022-09-27 03:57:31 +00:00
|
|
|
targets:
|
|
|
|
- name: hcloud
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "2.14/hcloud/3.9"
|
2022-09-27 03:57:31 +00:00
|
|
|
|
2022-04-26 09:34:22 +00:00
|
|
|
- stage: Hetzner_2_13
|
|
|
|
displayName: Hetzner 2.13
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- template: templates/matrix.yml
|
|
|
|
parameters:
|
|
|
|
groups:
|
|
|
|
- 1
|
|
|
|
- 2
|
2023-05-12 11:30:30 +00:00
|
|
|
- 3
|
2022-04-26 09:34:22 +00:00
|
|
|
targets:
|
|
|
|
- name: hcloud
|
2023-06-21 08:49:54 +00:00
|
|
|
test: "2.13/hcloud/3.9"
|
2022-04-26 09:34:22 +00:00
|
|
|
|
2023-06-21 08:49:54 +00:00
|
|
|
### Finally
|
2021-02-03 11:40:48 +00:00
|
|
|
- stage: Summary
|
|
|
|
condition: succeededOrFailed()
|
|
|
|
dependsOn:
|
|
|
|
- Ansible_devel
|
2023-09-19 07:34:00 +00:00
|
|
|
- Ansible_2_16
|
2023-05-12 11:30:30 +00:00
|
|
|
- Ansible_2_15
|
2022-09-27 03:57:31 +00:00
|
|
|
- Ansible_2_14
|
2022-04-26 09:34:22 +00:00
|
|
|
- Ansible_2_13
|
2021-02-03 11:40:48 +00:00
|
|
|
- Hetzner_devel
|
2023-09-19 07:34:00 +00:00
|
|
|
- Hetzner_2_16
|
2023-05-12 11:30:30 +00:00
|
|
|
- Hetzner_2_15
|
2022-09-27 03:57:31 +00:00
|
|
|
- Hetzner_2_14
|
2022-04-26 09:34:22 +00:00
|
|
|
- Hetzner_2_13
|
2021-02-03 11:40:48 +00:00
|
|
|
jobs:
|
|
|
|
- template: templates/coverage.yml
|