Loading capif/templates/cd-deploy-ocf.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -65,10 +65,10 @@ deploy_ocf_staging: # - sudo mv kubectl /usr/local/bin - kubectl version --output=yaml - echo "### setting kubeconfig###" - kubectl cluster-info - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - 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 Loading Loading @@ -133,10 +133,10 @@ deploy_ocf_dev: # - sudo mv kubectl /usr/local/bin - kubectl version --output=yaml - echo "### setting kubeconfig###" - kubectl cluster-info - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - 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 Loading capif/templates/cd-deploy-release.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ deploy_ocf_prod: # - echo "### setting kubeconfig###" # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - 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 Loading Loading
capif/templates/cd-deploy-ocf.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -65,10 +65,10 @@ deploy_ocf_staging: # - sudo mv kubectl /usr/local/bin - kubectl version --output=yaml - echo "### setting kubeconfig###" - kubectl cluster-info - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - 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 Loading Loading @@ -133,10 +133,10 @@ deploy_ocf_dev: # - sudo mv kubectl /usr/local/bin - kubectl version --output=yaml - echo "### setting kubeconfig###" - kubectl cluster-info - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - 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 Loading
capif/templates/cd-deploy-release.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ deploy_ocf_prod: # - echo "### setting kubeconfig###" # - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig # - kubectl get nodes --kubeconfig ~/cluster.kubeconfig # - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working # - 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 Loading