Skip to content

Commit

Permalink
collection maintenance (#149)
Browse files Browse the repository at this point in the history
* draft

* update

* fix

* try

* readd 2.14

* str

(cherry picked from commit d4ef72a)
  • Loading branch information
markuman authored and patchback[bot] committed Dec 4, 2023
1 parent 661bd73 commit cb6dc33
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 36 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/ansible-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
strategy:
matrix:
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
steps:
- name: Perform sanity testing
Expand All @@ -46,38 +45,23 @@ jobs:
proxysql:
- 2.3.2
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- 3.9
include:
- python: 3.9
ansible: "stable-2.12"
proxysql: 2.4.4
- python: 3.9
ansible: "stable-2.13"
proxysql: 2.4.4
- python: 3.9
ansible: "stable-2.14"
proxysql: 2.4.4
- python: 3.9
ansible: "stable-2.15"
proxysql: 2.4.4
- python: 3.9
ansible: "stable-2.12"
proxysql: 2.3.2
- python: 3.9
ansible: "stable-2.13"
proxysql: 2.3.2
- python: 3.9
ansible: "stable-2.14"
proxysql: 2.3.2
- python: 3.9
- python: "3.10"
ansible: "stable-2.15"
proxysql: 2.3.2
proxysql: 2.4.4
- python: 3.12
ansible: "stable-2.16"
proxysql: 2.5.5


steps:
- name: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change in memory"
assert:
that: "memory_result.stdout == '{{ updated_variable_value }}'"
that: memory_result.stdout == updated_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change on disk"
assert:
that: "disk_result.stdout == '{{ updated_variable_value }}'"
that: disk_result.stdout == updated_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change to runtime"
assert:
that: "runtime_result.stdout == '{{ updated_variable_value }}'"
that: runtime_result.stdout == updated_variable_value

### perform cleanup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change in memory"
assert:
that: "memory_result.stdout == '{{ updated_variable_value }}'"
that: memory_result.stdout == updated_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value didn't make a change on disk"
assert:
that: "disk_result.stdout == '{{ original_variable_value }}'"
that: disk_result.stdout == original_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value didn't make a change to runtime"
assert:
that: "runtime_result.stdout == '{{ original_variable_value }}'"
that: runtime_result.stdout == original_variable_value

### perform cleanup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

- name: "{{ role_name }} | {{ current_test }} | confirm create updating variable value didn't make a change in memory in check mode"
assert:
that: "memory_result.stdout == '{{ original_variable_value }}'"
that: memory_result.stdout == original_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm create updating variable value didn't make a change on disk in check mode"
assert:
that: "disk_result.stdout == '{{ original_variable_value }}'"
that: disk_result.stdout == original_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm create updating variable value didn't make a change to runtime in check mode"
assert:
that: "runtime_result.stdout == '{{ original_variable_value }}'"
that: runtime_result.stdout == original_variable_value

### perform cleanup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change in memory"
assert:
that: "memory_result.stdout == '{{ updated_variable_value }}'"
that: memory_result.stdout == updated_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change on disk"
assert:
that: "disk_result.stdout == '{{ updated_variable_value }}'"
that: disk_result.stdout == updated_variable_value

- name: "{{ role_name }} | {{ current_test }} | confirm updating variable value did make a change to runtime"
assert:
that: "runtime_result.stdout == '{{ updated_variable_value }}'"
that: runtime_result.stdout == updated_variable_value

### perform cleanup

Expand Down

0 comments on commit cb6dc33

Please sign in to comment.