This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install AC Airflow and Hashicorp dependency | |
pip install --extra-index-url https://pip.astronomer.io/simple/ \ | |
'astronomer-certified>=1.10.10-1.dev140[hvac]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vault kv put \ | |
secret/connections/smtp_default \ | |
conn_uri=smtps://user:[email protected]:465 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
from datetime import datetime | |
from functools import lru_cache | |
import humanize | |
import requests | |
from typing import NamedTuple, Dict | |
import semver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COMMIT_SHA=573cd95 AIRFLOW_HOME=$(pwd) uvx \ | |
--python 3.11 \ | |
--from "git+https://github.com/apache/airflow@$COMMIT_SHA" \ | |
--with "git+https://github.com/apache/airflow@$COMMIT_SHA#egg=apache-airflow-task-sdk&subdirectory=task_sdk" \ | |
--with "git+https://github.com/apache/airflow@$COMMIT_SHA#egg=local-providers&subdirectory=providers" \ | |
bash -c " | |
cd \$(python -c 'import airflow, os; print(os.path.dirname(airflow.__file__))') && \ | |
# Build the new UI only if it hasn't been built | |
if [ ! -d 'ui/dist' ]; then | |
echo 'Building new UI...' |
OlderNewer