Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# Sourced from scenario.sh and uses functions defined there.

scenario_create_vms() {
prepare_kickstart host1 kickstart-bootc.ks.template rhel102-bootc-source
launch_vm rhel102-bootc
}

scenario_remove_vms() {
remove_vm host1
}

scenario_run_tests() {
run_tests host1 \
--variable "TARGET_REF:rhel102-bootc-source-fake-next-minor" \
--variable "BOOTC_REGISTRY:${MIRROR_REGISTRY_URL}" \
suites/upgrade/upgrade-fails-then-recovers.robot
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

# Sourced from scenario.sh and uses functions defined there.

# Each optional suite restarts MicroShift with its own kustomizePaths config,
# adding ~10 minutes of restart overhead to the total execution time.
# shellcheck disable=SC2034 # used elsewhere
TEST_EXECUTION_TIMEOUT=60m

# shellcheck disable=SC2034 # used elsewhere
# Increase greenboot timeout for optional packages (more services to start)
GREENBOOT_TIMEOUT=1200

# Enable container signature verification for current release images,
# including the optional components.
# These are ec / rc / z-stream, thus must all to be signed.
Expand All @@ -14,7 +23,7 @@ scenario_create_vms() {
exit_if_image_not_found "${start_image}"

prepare_kickstart host1 kickstart-bootc.ks.template "${start_image}"
launch_vm --boot_blueprint rhel102-bootc
launch_vm --boot_blueprint rhel102-bootc --vm_disksize 25 --vm_vcpus 4
}

scenario_remove_vms() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

# Sourced from scenario.sh and uses functions defined there.

# Each optional suite restarts MicroShift with its own kustomizePaths config,
# adding ~10 minutes of restart overhead to the total execution time.
# shellcheck disable=SC2034 # used elsewhere
TEST_EXECUTION_TIMEOUT=60m

# shellcheck disable=SC2034 # used elsewhere
# Increase greenboot timeout for optional packages (more services to start)
GREENBOOT_TIMEOUT=1200

# Enable container signature verification for current release images,
# including the optional components.
# These are ec / rc / z-stream, thus must all to be signed.
Expand All @@ -14,7 +23,7 @@ scenario_create_vms() {
exit_if_image_not_found "${start_image}"

prepare_kickstart host1 kickstart-bootc.ks.template "${start_image}"
launch_vm --boot_blueprint rhel98-bootc
launch_vm --boot_blueprint rhel98-bootc --vm_disksize 25 --vm_vcpus 4
}

scenario_remove_vms() {
Expand Down