Skip to content

Commit 38f7660

Browse files
Merge pull request #6328 from pmtk/reenable-gitops-test
USHIFT-6682: Reenable gitops test
2 parents fd635ef + 2666f75 commit 38f7660

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

packaging/greenboot/functions.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,9 @@ function clear_fail_marker() {
138138
rm -f "${MICROSHIFT_GREENBOOT_FAIL_MARKER}"
139139
fi
140140
}
141+
142+
# No-op shim for gitops package
143+
function log_script_exit() {
144+
>&2 echo "log_script_exit function is deprecated and should not be used"
145+
:
146+
}

test/bin/common_versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export CNCF_SONOBUOY_VERSION=v0.57.3
139139
export CNCF_SYSTEMD_LOGS_VERSION=v0.4
140140

141141
# The current version of the microshift-gitops package.
142-
export GITOPS_VERSION=1.16
142+
export GITOPS_VERSION=1.19
143143

144144
# The brew release versions needed for release regression testing
145145
BREW_Y0_RELEASE_VERSION="$(get_vrel_from_rpm "${BREW_RPM_SOURCE}/4.${MINOR_VERSION}-zstream/${UNAME_M}/")"

test/bin/pyutils/generate_common_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
CNCF_SYSTEMD_LOGS_VERSION = "v0.4"
2626

2727
# The current version of the microshift-gitops package.
28-
GITOPS_VERSION = "1.16"
28+
GITOPS_VERSION = "1.19"
2929

3030

3131
logging.basicConfig(

test/scenarios-bootc/periodics/el98-src@gitops-telemetry-clusterid-systemd.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# Sourced from scenario.sh and uses functions defined there.
44

55
scenario_create_vms() {
6-
# TODO: Add rhel98-bootc-source-gitops when the RPM package is updated not to use
7-
# non-existent calls from the greenboot functions include file
8-
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
6+
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source-gitops
97
launch_vm --boot_blueprint rhel98-bootc
108
}
119

@@ -14,12 +12,11 @@ scenario_remove_vms() {
1412
}
1513

1614
scenario_run_tests() {
17-
# TODO: Add suites/gitops/ when the RPM package is updated not to use
18-
# non-existent calls from the greenboot functions include file
1915
run_tests host1 \
2016
--variable "PROXY_HOST:${VM_BRIDGE_IP}" \
2117
--variable "PROXY_PORT:9001" \
2218
--variable "PROMETHEUS_HOST:$(hostname)" \
19+
suites/gitops/ \
2320
suites/telemetry/telemetry.robot \
2421
suites/osconfig/clusterid.robot \
2522
suites/osconfig/systemd-resolved.robot

0 commit comments

Comments
 (0)