Skip to content

Commit

Permalink
fix latest mechanism no more working plus bump kubevirt version (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
jseguillon authored May 5, 2022
1 parent d76e426 commit 75e3cf1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ jobs:
timeout_minutes: 5
max_attempts: 3
command: |
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/v0.48.0/kubevirt-operator.yaml
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/v0.48.0/kubevirt-cr.yaml
export VERSION=v0.52.0
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/$VERSION/kubevirt-operator.yaml
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/$VERSION/kubevirt-cr.yaml
cat <<EOF |kubectl apply -f -
apiVersion: kubevirt.io/v1
kind: KubeVirt
Expand All @@ -149,15 +150,16 @@ jobs:
timeout_minutes: 5
max_attempts: 3
command: |
export VERSION=v0.52.0
export ARCH=linux-amd64
curl -L -o virtctl https://github.com/kubevirt/kubevirt/releases/download/v0.48.0/virtctl-v0.48.0-linux-amd64
curl -L -o virtctl https://github.com/kubevirt/kubevirt/releases/download/$VERSION/virtctl-$VERSION-linux-amd64
chmod +x virtctl
sudo install virtctl /usr/local/bin
if: ${{ contains(matrix.tox_env, 'py') }}

- name: Install KubeVirt's CDI
run: |
export VERSION=$(curl -s https://github.com/kubevirt/containerized-data-importer/releases/latest | grep -o "v[0-9]\.[0-9]*\.[0-9]*")
export VERSION=v1.48.0
kubectl create -f https://github.com/kubevirt/containerized-data-importer/releases/download/$VERSION/cdi-operator.yaml
kubectl create -f https://github.com/kubevirt/containerized-data-importer/releases/download/$VERSION/cdi-cr.yaml
Expand Down

0 comments on commit 75e3cf1

Please sign in to comment.