kubevirt / ssp-operator

Operator that deploys additional KubeVirt resources
Apache License 2.0
29 stars 47 forks source link

Merge KUBEVIRT_TAG & KUBEVIRT_VERSION within our automation scripts #943

Closed lyarwood closed 4 months ago

lyarwood commented 7 months ago

What happened:

$subject, this is trivial but we are pinning to a specific KubeVirt release using two different env vars at the moment. Merge these and use the existing latest_version logic

$ git grep -E '(KUBEVIRT_TAG|KUBEVIRTCI_TAG|KUBEVIRT_VERSION)'
automation/common/deploy-kubevirt-and-cdi.sh:oc apply -n $NAMESPACE -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-operator.yaml"
automation/common/deploy-kubevirt-and-cdi.sh:oc apply -n $NAMESPACE -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-cr.yaml"
automation/common/versions.sh:KUBEVIRT_VERSION=$(latest_version "kubevirt" "kubevirt")
hack/kubevirt.sh:export KUBEVIRT_TAG="${KUBEVIRT_TAG:-main}"
hack/kubevirt.sh:    git clone --depth 1 --branch "${KUBEVIRT_TAG}" https://github.com/kubevirt/kubevirt.git "${_base_dir}/_kubevirt"
hack/kubevirtci.sh:export KUBEVIRTCI_TAG=${KUBEVIRTCI_TAG:-$(curl -sfL https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirtci/latest)}
hack/kubevirtci.sh:    git clone --depth 1 --branch "${KUBEVIRTCI_TAG}" https://github.com/kubevirt/kubevirtci.git "${_cluster_up_dir}"

What you expected to happen: A clear and concise description of what you expected to happen.

How to reproduce it (as minimally and precisely as possible): Steps to reproduce the behavior.

Additional context: Add any other context about the problem here.

Environment:

lyarwood commented 7 months ago

/assign @lyarwood

kubevirt-bot commented 4 months ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

lyarwood commented 4 months ago

/close

kubevirt-bot commented 4 months ago

@lyarwood: Closing this issue.

In response to [this](https://github.com/kubevirt/ssp-operator/issues/943#issuecomment-2202684549): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.