FIX: remove setup az k8s

This commit is contained in:
marcos-silva-rodrigues
2025-05-23 11:30:42 -03:00
parent f73969c197
commit 9ac8fedd8a
+1 -11
View File
@@ -31,7 +31,6 @@ jobs:
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}
steps:
- name: Checkout code
uses: actions/checkout@v3
@@ -65,6 +64,7 @@ jobs:
CLUSTER_ID="${{ secrets.OCI_CLUSTER_ID_STG }}"
fi
oci ce cluster create-kubeconfig --cluster-id $CLUSTER_ID --file $HOME/.kube/config --region sa-saopaulo-1 --token-version 2.0.0 --kube-endpoint PRIVATE_ENDPOINT
- name: Set up Python
uses: actions/setup-python@v4
with:
@@ -98,15 +98,5 @@ jobs:
ENV: ${{ needs.extract_environment.outputs.environment }}
run: helmfile -f helmfiles/${ENV}.yaml sync
- name: Setup kubectl
uses: azure/setup-kubectl@v1
with:
version: 'v1.30.1'
- name: Authenticate with cluster
env:
CLUSTER_NAME: platform-${{ needs.extract_environment.outputs.environment }}
run: az aks get-credentials --resource-group dadosfera-prd --name ${CLUSTER_NAME} --overwrite-existing
- name: Apply with kubectl
run: kubectl apply -f system/