From 609c11ef8dea5daa79aeeae882c2a4828a391d7c Mon Sep 17 00:00:00 2001 From: mbelfares Date: Sun, 7 Jun 2026 13:06:53 +0200 Subject: [PATCH] feat: add airflow helm deployment workflow --- .github/workflows/deploy.yml | 31 +++++++++++++++++++++++++++++++ helm/airflow/values.yaml | 1 + 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 helm/airflow/values.yaml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..d091563 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,31 @@ +name: Deploy Airflow + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup kubeconfig + run: | + mkdir -p ~/.kube + echo "${{ secrets.KUBECONFIG_HETZNER }}" | base64 -d > ~/.kube/config + + - name: Setup Helm + uses: azure/setup-helm@v4 + + - name: Deploy Airflow + run: | + helm repo add apache-airflow https://airflow.apache.org + helm repo update + helm upgrade --install airflow apache-airflow/airflow \ + --namespace airflow \ + --create-namespace \ + --values helm/airflow/values.yaml \ + --wait diff --git a/helm/airflow/values.yaml b/helm/airflow/values.yaml new file mode 100644 index 0000000..0f58ee9 --- /dev/null +++ b/helm/airflow/values.yaml @@ -0,0 +1 @@ +executor: KubernetesExecutor