Commands
1
2
3
4
5
6
7
# create an admin user
airflow users create \
--username admin \
--firstname Peter \
--lastname Parker \
--role Admin \
--email spiderman@superhero.org
test tasks :
airflow tasks test [dag name] [task name] [extra params]
get variable :
airflow variables get [var name]
set variable :
airflow variables set [var name]
TIL
- default id,pw in case using docker-compose is
admin
. - setting airflow dag env variable link