Skip to content

Commit

Permalink
Remove RELEASE_VERSION from test-upstream-tuned.sh (#969)
Browse files Browse the repository at this point in the history
Starting with PR858, we can no longer use a random RELEASE_VERSION to
trigger daemonset/operand updates.  In the context of testing upstream
TuneD this is causes an issue.  Not changing RELEASE_VERSION at all is a
simple fix, because we are also adjusting CLUSTER_NODE_TUNED_IMAGE and
that will cause a daemonset/operand update.

Co-authored-by: Jiri Mencak <jmencak@users.noreply.github.com>
  • Loading branch information
jmencak and jmencak committed Mar 7, 2024
1 parent 03f9557 commit f9c912b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/test-upstream-tuned.sh
Expand Up @@ -31,7 +31,7 @@ cvo_scale() {

nto_deploy_custom() {
oc project openshift-cluster-node-tuning-operator
oc patch deploy cluster-node-tuning-operator -p '{"spec":{"template":{"spec":{"containers":[{"env":[{"name":"RELEASE_VERSION","value":"'$TAG'"},{"name":"CLUSTER_NODE_TUNED_IMAGE","value":"'$IMAGE'"}],"name":"cluster-node-tuning-operator"}]}}}}'
oc patch deploy cluster-node-tuning-operator -p '{"spec":{"template":{"spec":{"containers":[{"env":[{"name":"CLUSTER_NODE_TUNED_IMAGE","value":"'$IMAGE'"}],"name":"cluster-node-tuning-operator"}]}}}}'
}

wait_for_updated_tuned_pods() {
Expand Down

0 comments on commit f9c912b

Please sign in to comment.