Skip to content

Commit

Permalink
Update execution enviornment to v3 (#299)
Browse files Browse the repository at this point in the history
* Update execution enviornment to v3

* Add fragment

* Update minimum runtime

* Change EE core version

* update runtime to supported version

* Remove rhel 8.8 devel tests

* Removed unmaintained ansible versions
  • Loading branch information
matoval authored Oct 4, 2023
1 parent 2cd0a2a commit 37deb13
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 50 deletions.
88 changes: 44 additions & 44 deletions .azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,32 +134,32 @@ stages:
test: sanity
- name: Units
test: units
- stage: Sanity_2_14
displayName: Ansible 2.14 sanity
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: "{0}"
testFormat: "2.14/{0}"
targets:
- name: Sanity
test: sanity
- name: Units
test: units
- stage: Sanity_2_13
displayName: Ansible 2.13 sanity
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: "{0}"
testFormat: "2.13/{0}"
targets:
- name: Sanity
test: sanity
- name: Units
test: units
# - stage: Sanity_2_14
# displayName: Ansible 2.14 sanity
# dependsOn: []
# jobs:
# - template: templates/matrix.yml
# parameters:
# nameFormat: "{0}"
# testFormat: "2.14/{0}"
# targets:
# - name: Sanity
# test: sanity
# - name: Units
# test: units
# - stage: Sanity_2_13
# displayName: Ansible 2.13 sanity
# dependsOn: []
# jobs:
# - template: templates/matrix.yml
# parameters:
# nameFormat: "{0}"
# testFormat: "2.13/{0}"
# targets:
# - name: Sanity
# test: sanity
# - name: Units
# test: units

## Remote tests
# Integration tests (RECOMMENDED)
Expand Down Expand Up @@ -191,8 +191,8 @@ stages:
targets:
- name: RHEL 9.2
test: rhel/9.2/
- name: RHEL 8.8
test: rhel/8.8/
# - name: RHEL 8.8
# test: rhel/8.8/
groups:
- 1
# FIXME - ami is currently broken in CI
Expand Down Expand Up @@ -220,8 +220,8 @@ stages:
targets:
- name: RHEL 9.2 edge-commit
test: rhel/9.2/
- name: RHEL 8.8 edge-commit
test: rhel/8.8/
# - name: RHEL 8.8 edge-commit
# test: rhel/8.8/
groups:
- 4
- template: templates/matrix.yml
Expand All @@ -230,8 +230,8 @@ stages:
targets:
- name: RHEL 9.2 edge-container
test: rhel/9.2/
- name: RHEL 8.8 edge-container
test: rhel/8.8/
# - name: RHEL 8.8 edge-container
# test: rhel/8.8/
groups:
- 5

Expand Down Expand Up @@ -325,8 +325,8 @@ stages:
targets:
- name: RHEL 9.2 oci
test: rhel/9.2/
- name: RHEL 8.8 oci
test: rhel/8.8/
# - name: RHEL 8.8 oci
# test: rhel/8.8/
groups:
- 14
- template: templates/matrix.yml
Expand All @@ -335,8 +335,8 @@ stages:
targets:
- name: RHEL 9.2 openstack
test: rhel/9.2/
- name: RHEL 8.8 openstack
test: rhel/8.8/
# - name: RHEL 8.8 openstack
# test: rhel/8.8/
groups:
- 15
- template: templates/matrix.yml
Expand All @@ -345,8 +345,8 @@ stages:
targets:
- name: RHEL 9.2 qcow2
test: rhel/9.2/
- name: RHEL 8.8 qcow2
test: rhel/8.8/
# - name: RHEL 8.8 qcow2
# test: rhel/8.8/
groups:
- 16
- template: templates/matrix.yml
Expand All @@ -355,8 +355,8 @@ stages:
targets:
- name: RHEL 9.2 tar
test: rhel/9.2/
- name: RHEL 8.8 tar
test: rhel/8.8/
# - name: RHEL 8.8 tar
# test: rhel/8.8/
groups:
- 17
- template: templates/matrix.yml
Expand All @@ -365,8 +365,8 @@ stages:
targets:
- name: RHEL 9.2 vhd
test: rhel/9.2/
- name: RHEL 8.8 vhd
test: rhel/8.8/
# - name: RHEL 8.8 vhd
# test: rhel/8.8/
groups:
- 18
- template: templates/matrix.yml
Expand All @@ -375,8 +375,8 @@ stages:
targets:
- name: RHEL 9.2 vmdk
test: rhel/9.2/
- name: RHEL 8.8 vmdk
test: rhel/8.8/
# - name: RHEL 8.8 vmdk
# test: rhel/8.8/
groups:
- 19

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- Update execution enviornment to v3
15 changes: 10 additions & 5 deletions execution-environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
version: 1

build_arg_defaults:
EE_BASE_IMAGE: 'quay.io/ansible/ansible-runner:latest'
version: 3

dependencies:
galaxy: build_context/_build/requirements.yml
ansible_core:
package_pip: ansible-core==2.12.8
ansible_runner:
package_pip: ansible-runner
galaxy: requirements.yml

images:
base_image:
name: docker.io/redhat/ubi9:latest
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
requires_ansible: ">=2.12.0"
requires_ansible: ">=2.15.4"

0 comments on commit 37deb13

Please sign in to comment.