Skip to content

Commit

Permalink
fix: remove call to legacy template validator
Browse files Browse the repository at this point in the history
The template validator code is now located in the ssp-operator
repository. To deploy the validator exclusively, additional changes
are required in the ssp. However, experimentation indicates that
these changes are not necessary for the end-to-end tests to
function properly.

Signed-off-by: Nestor Acuna Blanco <[email protected]>
  • Loading branch information
nestoracunablanco committed Sep 13, 2024
1 parent 112da40 commit aa7492f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,6 @@ EOF

if [ "${CLUSTERENV}" == "$ocenv" ]
then
export VALIDATOR_VERSION=$(curl -s https://api.github.com/repos/kubevirt/kubevirt-template-validator/releases | \
jq '.[] | select(.prerelease==false) | .tag_name' | sort -V | tail -n1 | tr -d '"')

git clone -b ${VALIDATOR_VERSION} --depth 1 https://github.com/kubevirt/kubevirt-template-validator kubevirt-template-validator
VALIDATOR_DIR="kubevirt-template-validator/cluster/ocp4"
sed -i 's/RELEASE_TAG/'$VALIDATOR_VERSION'/' ${VALIDATOR_DIR}/service.yaml
oc apply -n kubevirt -f ${VALIDATOR_DIR}
oc wait --for=condition=Available --timeout=${timeout}s deployment/virt-template-validator -n $namespace
# Apply templates
echo "Deploying templates"
oc apply -n $namespace -f dist/templates
Expand Down

0 comments on commit aa7492f

Please sign in to comment.