stages: - deploy deploy-job: stage: deploy environment: production tags: - shared-podman image: name: fedora:latest script: - sudo dnf install -y make git - curl -k -O https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz - tar xf openshift-client-linux.tar.gz - chmod +x oc - sudo mv oc /usr/local/bin - oc login --insecure-skip-tls-verify --token=$TOKEN --server=$CNV_CLUSTER - oc delete deploy migration-planner-ui || true - git clone https://github.com/kubev2v/migration-planner.git - cd migration-planner && make deploy-on-openshift