feat: add airflow helm deployment workflow
This commit is contained in:
@@ -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
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
executor: KubernetesExecutor
|
||||||
Reference in New Issue
Block a user