fix/cicd #3

Merged
marcio.fernandes merged 62 commits from fix/cicd into master 2025-11-22 17:43:58 +00:00
Showing only changes of commit d8e6d72e25 - Show all commits

View File

@@ -27,11 +27,17 @@ jobs:
shell: bash shell: bash
run: | run: |
set -e set -e
cd ${{ gitea.workspace }} kubectl get pods
export ENDPOINT_IP="${{ secrets.ENDPOINT_IP }}"
export SERVICE_PORT=${{ secrets.SERVICE_PORT }} # - name: Deploy Home Assistant
export INGRESS_ROUTES_MATCH="${{ secrets.INGRESS_ROUTES_MATCH }}" # shell: bash
export INGRESS_TLS_SECRET_NAME=${{ secrets.INGRESS_TLS_SECRET_NAME }} # run: |
kubectl apply -f ./deploy/deployment.yaml # set -e
envsubst < ./deploy/service.template.yaml | kubectl apply -f - # cd ${{ gitea.workspace }}
# export ENDPOINT_IP="${{ secrets.ENDPOINT_IP }}"
# export SERVICE_PORT=${{ secrets.SERVICE_PORT }}
# export INGRESS_ROUTES_MATCH="${{ secrets.INGRESS_ROUTES_MATCH }}"
# export INGRESS_TLS_SECRET_NAME=${{ secrets.INGRESS_TLS_SECRET_NAME }}
# kubectl apply -f ./deploy/deployment.yaml
# envsubst < ./deploy/service.template.yaml | kubectl apply -f -