mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-09 22:09:08 +00:00
FIX: remove setup az k8s
This commit is contained in:
@@ -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/
|
||||
Reference in New Issue
Block a user