Commit 5fa3d1f5 authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

helm jobs

parent 12fb1794
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -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