Skip to content

Commit

Permalink
fixup! STILL NEED SOME WORK
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeffman committed Oct 30, 2024
1 parent 5cae381 commit f8c79c7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 60 deletions.
26 changes: 10 additions & 16 deletions infra/azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ trigger:
pool:
vmImage: 'ubuntu-20.04'

variables:
groups: "1, 2, 3"

stages:

# Fedora
Expand Down Expand Up @@ -48,19 +45,16 @@ stages:

# Galaxy on Fedora

- ${{ each group in split(variables.groups, ', ') }}:
- stage: Galaxy_Fedora_Latest
dependsOn: []
jobs:
- template: templates/run_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-latest
ansible_version: "-core >=2.16,<2.17"
skip_git_test: true
test_galaxy: true
group_number: ${{ group }}
number_of_groups: 3
- stage: Galaxy_Fedora_Latest
dependsOn: []
jobs:
- template: templates/group_tests.yml
parameters:
build_number: $(Build.BuildNumber)
distro: fedora-latest
ansible_version: "-core >=2.16,<2.17"
skip_git_test: true
test_galaxy: true

# CentOS 9 Stream

Expand Down
58 changes: 14 additions & 44 deletions infra/azure/templates/group_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,49 +15,19 @@ parameters:
type: boolean
default: false

jobs:
- template: run_tests.yml
parameters:
group_number: 1
number_of_groups: 3
build_number: ${{ parameters.build_number }}
distro: ${{ parameters.distro }}
ansible_version: ${{ parameters.ansible_version }}
python_version: '< 3.12'
skip_git_test: ${{ parameters.skip_git_test }}
test_galaxy: ${{ parameters.test_galaxy }}

- template: run_tests.yml
parameters:
group_number: 2
number_of_groups: 3
build_number: ${{ parameters.build_number }}
distro: ${{ parameters.distro }}
ansible_version: ${{ parameters.ansible_version }}
python_version: '< 3.12'
skip_git_test: ${{ parameters.skip_git_test }}
test_galaxy: ${{ parameters.test_galaxy }}
variables:
groups: "1, 2, 3"

- template: run_tests.yml
parameters:
group_number: 3
number_of_groups: 3
build_number: ${{ parameters.build_number }}
distro: ${{ parameters.distro }}
ansible_version: ${{ parameters.ansible_version }}
python_version: '< 3.12'
skip_git_test: ${{ parameters.skip_git_test }}
test_galaxy: ${{ parameters.test_galaxy }}
jobs:

# Temporarily disabled due to ansible docker plugin issue.
# - template: run_tests.yml
# parameters:
# group_number: 1
# number_of_groups: 1
# build_number: ${{ parameters.build_number }}
# distro: ${{ parameters.distro }}
# ansible_version: ${{ parameters.ansible_version }}
# python_version: '< 3.12'
# skip_git_test: ${{ parameters.skip_git_test }}
# test_type: "not playbook"
# test_galaxy: ${{ parameters.test_galaxy }}
- ${{ each group in split(groups, ', ') }}:
- template: run_tests.yml
parameters:
group_number: ${{ group }}
number_of_groups: 3
build_number: ${{ parameters.build_number }}
distro: ${{ parameters.distro }}
ansible_version: ${{ parameters.ansible_version }}
python_version: '< 3.12'
skip_git_test: ${{ parameters.skip_git_test }}
test_galaxy: ${{ parameters.test_galaxy }}

0 comments on commit f8c79c7

Please sign in to comment.