Skip to content

Commit

Permalink
fixup! upstream CI: Use start.sh script and environment template
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeffman committed Oct 15, 2024
1 parent c042227 commit 55265bb
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 248 deletions.
16 changes: 9 additions & 7 deletions infra/azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core"
filter_tests: false

Expand All @@ -27,7 +27,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core <2.14"
filter_tests: false

Expand All @@ -39,7 +39,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.14,<2.15"
filter_tests: false

Expand All @@ -48,12 +48,13 @@ stages:
- stage: Galaxy_Fedora_Latest
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.14,<2.15"
filter_tests: false
test_galaxy: true

# CentOS 9 Stream

Expand All @@ -63,7 +64,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c9s
distro: c9s
ansible_version: "-core >=2.14,<2.15"
filter_tests: false

Expand All @@ -75,6 +76,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c8s
distro: c8s
ansible_version: "-core >=2.14,<2.15"
target_python: "/usr/libexec/platform-python"
filter_tests: false
56 changes: 32 additions & 24 deletions infra/azure/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.13,<2.14"
filter_tests: false

Expand All @@ -32,7 +32,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.14,<2.15"
filter_tests: false

Expand All @@ -42,7 +42,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.15,<2.16"
filter_tests: false

Expand All @@ -52,7 +52,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: ""
filter_tests: false

Expand All @@ -61,42 +61,46 @@ stages:
- stage: Galaxy_FedoraLatest_Ansible_Core_2_13
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.13,<2.14"
filter_tests: false
test_galaxy: ${{ parameters.test_galaxy }}

- stage: Galaxy_FedoraLatest_Ansible_Core_2_14
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.14,<2.15"
filter_tests: false
test_galaxy: ${{ parameters.test_galaxy }}

- stage: Galaxy_FedoraLatest_Ansible_Core_2_15
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: "-core >=2.15,<2.16"
filter_tests: false
test_galaxy: ${{ parameters.test_galaxy }}

- stage: Galaxy_FedoraLatest_Ansible_latest
dependsOn: []
jobs:
- template: templates/galaxy_tests.yml
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-latest
distro: fedora-latest
ansible_version: ""
filter_tests: false
test_galaxy: ${{ parameters.test_galaxy }}

# Fedora Rawhide

Expand All @@ -106,7 +110,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-rawhide
distro: fedora-rawhide
ansible_version: "-core >=2.13,<2.14"
filter_tests: false

Expand All @@ -116,7 +120,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-rawhide
distro: fedora-rawhide
ansible_version: "-core >=2.14,<2.15"
filter_tests: false

Expand All @@ -126,7 +130,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-rawhide
distro: fedora-rawhide
ansible_version: "-core >=2.15,<2.16"
filter_tests: false

Expand All @@ -136,7 +140,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: fedora-rawhide
distro: fedora-rawhide
ansible_version: ""
filter_tests: false

Expand All @@ -148,7 +152,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c9s
distro: c9s
ansible_version: "-core >=2.13,<2.14"
filter_tests: false

Expand All @@ -158,7 +162,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c9s
distro: c9s
ansible_version: "-core >=2.14,<2.15"
filter_tests: false

Expand All @@ -168,7 +172,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c9s
distro: c9s
ansible_version: "-core >=2.15,<2.16"
filter_tests: false

Expand All @@ -178,7 +182,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c9s
distro: c9s
ansible_version: ""
filter_tests: false

Expand All @@ -190,8 +194,9 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c8s
distro: c8s
ansible_version: "-core >=2.13,<2.14"
target_python: "/usr/libexec/platform-python"
filter_tests: false

- stage: c8s_Ansible_Core_2_14
Expand All @@ -200,8 +205,9 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c8s
distro: c8s
ansible_version: "-core >=2.14,<2.15"
target_python: "/usr/libexec/platform-python"
filter_tests: false

- stage: c8s_Ansible_Core_2_15
Expand All @@ -210,8 +216,9 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c8s
distro: c8s
ansible_version: "-core >=2.15,<2.16"
target_python: "/usr/libexec/platform-python"
filter_tests: false

- stage: c8s_Ansible_latest
Expand All @@ -220,6 +227,7 @@ stages:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
scenario: c8s
distro: c8s
ansible_version: ""
target_python: "/usr/libexec/platform-python"
filter_tests: false
13 changes: 7 additions & 6 deletions infra/azure/pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stages:
- stage: Fedora_Latest
dependsOn: []
jobs:
- template: templates/playbook_tests.yml
- template: templates/run_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-latest
Expand All @@ -24,19 +24,20 @@ stages:
- stage: Galaxy_Fedora_Latest
dependsOn: []
jobs:
- template: templates/playbook_tests.yml
- template: templates/run_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-latest
ansible_version: "-core >=2.15,<2.16"
filter_tests: true
test_galaxy: true

# CentOS 9 Stream

- stage: CentOS_9_Stream
dependsOn: []
jobs:
- template: templates/playbook_tests.yml
- template: templates/run_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: c9s
Expand All @@ -48,20 +49,20 @@ stages:
- stage: CentOS_8_Stream
dependsOn: []
jobs:
- template: templates/playbook_tests.yml
- template: templates/run_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: c8s
ansible_version: "-core >=2.15,<2.16"
# target_python: "/usr/libexec/platform-python"
target_python: "/usr/libexec/platform-python"
filter_tests: true

# Rawhide

- stage: Fedora_Rawhide
dependsOn: []
jobs:
- template: templates/playbook_tests.yml
- template: templates/run_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-rawhide
Expand Down
65 changes: 0 additions & 65 deletions infra/azure/templates/galaxy_pytest_script.yml

This file was deleted.

Loading

0 comments on commit 55265bb

Please sign in to comment.