Skip to content

Commit 4316a22

Browse files
committed
CI expect latest new GA release 9.1.24
Job https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4675127388/jobs/8279938549 failed. New SW version 9.1.24.211326 was released. Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
1 parent 4d81e45 commit 4316a22

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

examples/version_update_single_node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
check_mode: true
88

99
vars:
10-
desired_version: 9.1.23.210897
10+
desired_version: 9.1.24.211326
1111

1212
tasks:
1313
- name: Show desired_version

tests/integration/integration_config.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ sc_config:
126126
features:
127127
version_update:
128128
current_version: "9.1.14.208456"
129-
next_version: "9.1.23.210897"
130-
latest_version: "9.1.23.210897"
129+
next_version: "9.1.24.211326"
130+
latest_version: "9.1.24.211326"
131131
can_be_applied: False
132132
# We can try update, update will fail, and status.json will be present.
133133
old_update_status_present: True

tests/integration/targets/role_version_update_single_node/tasks/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
SC_TIMEOUT: "{{ sc_timeout }}"
77

88
vars:
9-
desired_version_new: 9.1.23.210897
10-
desired_version_current: 9.1.18.209840
9+
# Update to .next_version or .latest_version
10+
desired_version_new: "{{ sc_config[sc_host].features.version_update.next_version }}"
11+
desired_version_current: "{{ sc_config[sc_host].features.version_update.current_version }}"
1112

1213
block:
1314
- name: Get available updates
1415
scale_computing.hypercore.version_update_info:
1516
register: updates
16-
- ansible.builtin.debug:
17+
- name: Show available updates
18+
ansible.builtin.debug:
1719
var: updates
1820

1921
- name: Test role version_update_single_node - no updates available

tests/integration/targets/version_update_info/tasks/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
scale_computing.hypercore.version_update_info:
1111
register: updates
1212

13+
- name: Show available updates
14+
ansible.builtin.debug:
15+
var: updates
16+
17+
- name: Show expected updates
18+
ansible.builtin.debug:
19+
var: sc_config[sc_host].features.version_update
20+
1321
- name: Check returned update list - updates available
1422
ansible.builtin.assert:
1523
that:

0 commit comments

Comments
 (0)