Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 47e995f

Browse files
committed
fmt
1 parent 56fdf09 commit 47e995f

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

apache-airflow/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
display_name: airflow
3-
description: A module that adds Apache Airflow in your Coder template
3+
description: A module that adds Apache Airflow in your Coder template
44
icon: ../.icons/airflow.svg
55
maintainer_github: nataindata
66
verified: false
@@ -11,7 +11,6 @@ tags: [airflow, idea, web, helper]
1111

1212
A module that adds Apache Airflow in your Coder template.
1313

14-
1514
```tf
1615
module "airflow" {
1716
source = "registry.coder.com/modules/airflow/coder"
@@ -29,9 +28,9 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
2928

3029
```tf
3130
module "airflow" {
32-
source = "registry.coder.com/modules/airflow/coder"
33-
version = "1.0.2"
34-
agent_id = coder_agent.example.id
31+
source = "registry.coder.com/modules/airflow/coder"
32+
version = "1.0.2"
33+
agent_id = coder_agent.example.id
3534
extensions = [
3635
"dracula-theme.theme-dracula"
3736
]
@@ -49,8 +48,8 @@ module "airflow" {
4948
source = "registry.coder.com/modules/airflow/coder"
5049
version = "1.0.2"
5150
agent_id = coder_agent.example.id
52-
extensions = [ "dracula-theme.theme-dracula" ]
53-
settings = {
51+
extensions = ["dracula-theme.theme-dracula"]
52+
settings = {
5453
"workbench.colorTheme" = "Dracula"
5554
}
5655
}

apache-airflow/run.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ PATH=$PATH:~/.local/bin
66
pip install --upgrade apache-airflow
77

88
filename=~/airflow/airflow.db
9-
if ! [ -f $filename ] || ! [ -s $filename ]
10-
then
9+
if ! [ -f $filename ] || ! [ -s $filename ]; then
1110
airflow db init
1211
fi
1312

14-
airflow webserver >${LOG_PATH} 2>&1 &
13+
airflow webserver > ${LOG_PATH} 2>&1 &
1514

16-
airflow users create -u admin -p admin -r Admin -e admin@admin.com -f Coder -l User
15+
airflow users create -u admin -p admin -r Admin -e admin@admin.com -f Coder -l User

0 commit comments

Comments
 (0)