Loading capif/templates/cd-deploy-ocf.gitlab-ci.yml +3 −11 Original line number Diff line number Diff line Loading @@ -60,21 +60,13 @@ deploy_ocf_staging: # - sudo ./get_helm.sh - whoami - helm version # - echo "### install kubectl###" # - curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" # - chmod +x kubectl # - sudo mv kubectl /usr/local/bin - kubectl version --output=yaml - echo "### setting kubeconfig###" - whoami - kubectl cluster-info # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - echo "### install yq###" # - sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 # - sudo chmod a+x /usr/local/bin/yq # - yq --version - yq --version - ls -rtt helm/capif - cat /helm/capif/Chart.yaml # - yq e -i '.version = "$IMAGE_TAG_STAGING"' helm/capif/Chart.yaml # - yq e -i '.appVersion = "$IMAGE_TAG_STAGING"' helm/capif/Chart.yaml # - cat helm/capif/Chart.yaml Loading Loading
capif/templates/cd-deploy-ocf.gitlab-ci.yml +3 −11 Original line number Diff line number Diff line Loading @@ -60,21 +60,13 @@ deploy_ocf_staging: # - sudo ./get_helm.sh - whoami - helm version # - echo "### install kubectl###" # - curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" # - chmod +x kubectl # - sudo mv kubectl /usr/local/bin - kubectl version --output=yaml - echo "### setting kubeconfig###" - whoami - kubectl cluster-info # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - echo "### install yq###" # - sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 # - sudo chmod a+x /usr/local/bin/yq # - yq --version - yq --version - ls -rtt helm/capif - cat /helm/capif/Chart.yaml # - yq e -i '.version = "$IMAGE_TAG_STAGING"' helm/capif/Chart.yaml # - yq e -i '.appVersion = "$IMAGE_TAG_STAGING"' helm/capif/Chart.yaml # - cat helm/capif/Chart.yaml Loading