mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-06-11 19:15:54 +00:00
AZP bump test container version to 8.0.0 (#753)
- Backport #751 - Remove tests for devel branch(Use stable-2 for version 2.20 and later). Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
@@ -14,6 +14,12 @@ parameters:
|
||||
type: object
|
||||
default: []
|
||||
|
||||
# An optional container resource name to use for the test jobs.
|
||||
# Defaults to "default" if not specified.
|
||||
- name: container
|
||||
type: string
|
||||
default: default
|
||||
|
||||
# An optional format string used to generate the job name.
|
||||
# - {0} is the name of an item in the targets list.
|
||||
- name: nameFormat
|
||||
@@ -43,6 +49,7 @@ parameters:
|
||||
jobs:
|
||||
- template: test.yml
|
||||
parameters:
|
||||
container: ${{ parameters.container }}
|
||||
jobs:
|
||||
- ${{ if eq(length(parameters.groups), 0) }}:
|
||||
- ${{ each target in parameters.targets }}:
|
||||
|
||||
@@ -7,11 +7,17 @@ parameters:
|
||||
- name: jobs
|
||||
type: object
|
||||
|
||||
# An optional container resource name to use for the test jobs.
|
||||
# Defaults to "default" if not specified.
|
||||
- name: container
|
||||
type: string
|
||||
default: default
|
||||
|
||||
jobs:
|
||||
- ${{ each job in parameters.jobs }}:
|
||||
- job: test_${{ replace(replace(replace(job.test, '/', '_'), '.', '_'), '-', '_') }}
|
||||
displayName: ${{ job.name }}
|
||||
container: default
|
||||
container: ${{ parameters.container }}
|
||||
workspace:
|
||||
clean: all
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user