Skip to content

Commit 2fe1f9b

Browse files
author
Kasturi Narra
committed
Add iso deployment for rpmostree release scenarios
1 parent 571d66a commit 2fe1f9b

File tree

5 files changed

+54
-0
lines changed

5 files changed

+54
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.6-microshift-brew-optionals-4.{{ .Env.MINOR_VERSION }}-ec
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.6-microshift-brew-optionals-4.{{ .Env.MINOR_VERSION }}-rc
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.6-microshift-brew-optionals-4.{{ .Env.MINOR_VERSION }}-zstream
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
# Sourced from scenario.sh and uses functions defined there.
4+
5+
start_image="rhel-9.6-microshift-brew-optionals-4.${MINOR_VERSION}-${LATEST_RELEASE_TYPE}"
6+
7+
scenario_create_vms() {
8+
exit_if_commit_not_found "${start_image}"
9+
10+
echo "INFO: Using boot ISO: ${VM_DISK_BASEDIR}/${start_image}.iso"
11+
prepare_kickstart host1 kickstart.ks.template "${start_image}"
12+
launch_vm --boot_blueprint "${start_image}"
13+
}
14+
15+
scenario_remove_vms() {
16+
exit_if_commit_not_found "${start_image}"
17+
18+
remove_vm host1
19+
}
20+
21+
scenario_run_tests() {
22+
exit_if_commit_not_found "${start_image}"
23+
24+
run_tests host1 \
25+
--variable "EXPECTED_OS_VERSION:9.6" \
26+
suites/standard1/ suites/selinux/validate-selinux-policy.robot
27+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# Sourced from scenario.sh and uses functions defined there.
4+
5+
start_image="rhel-9.6-microshift-brew-optionals-4.${MINOR_VERSION}-${LATEST_RELEASE_TYPE}"
6+
7+
scenario_create_vms() {
8+
exit_if_commit_not_found "${start_image}"
9+
10+
prepare_kickstart host1 kickstart.ks.template "${start_image}"
11+
launch_vm --boot_blueprint "${start_image}"
12+
}
13+
14+
scenario_remove_vms() {
15+
exit_if_commit_not_found "${start_image}"
16+
17+
remove_vm host1
18+
}
19+
20+
scenario_run_tests() {
21+
exit_if_commit_not_found "${start_image}"
22+
23+
run_tests host1 suites/standard2/
24+
}

0 commit comments

Comments
 (0)