From 47e995f6360e1f47b7b5d34bf0d8fc82733fddf0 Mon Sep 17 00:00:00 2001 From: Stephen Kirby Date: Tue, 23 Apr 2024 20:17:21 +0000 Subject: [PATCH] fmt --- apache-airflow/README.md | 13 ++++++------- apache-airflow/run.sh | 7 +++---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/apache-airflow/README.md b/apache-airflow/README.md index 541ab82..ae8a278 100644 --- a/apache-airflow/README.md +++ b/apache-airflow/README.md @@ -1,6 +1,6 @@ --- display_name: airflow -description: A module that adds Apache Airflow in your Coder template +description: A module that adds Apache Airflow in your Coder template icon: ../.icons/airflow.svg maintainer_github: nataindata verified: false @@ -11,7 +11,6 @@ tags: [airflow, idea, web, helper] A module that adds Apache Airflow in your Coder template. - ```tf module "airflow" { source = "registry.coder.com/modules/airflow/coder" @@ -29,9 +28,9 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/): ```tf module "airflow" { - source = "registry.coder.com/modules/airflow/coder" - version = "1.0.2" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/airflow/coder" + version = "1.0.2" + agent_id = coder_agent.example.id extensions = [ "dracula-theme.theme-dracula" ] @@ -49,8 +48,8 @@ module "airflow" { source = "registry.coder.com/modules/airflow/coder" version = "1.0.2" agent_id = coder_agent.example.id - extensions = [ "dracula-theme.theme-dracula" ] - settings = { + extensions = ["dracula-theme.theme-dracula"] + settings = { "workbench.colorTheme" = "Dracula" } } diff --git a/apache-airflow/run.sh b/apache-airflow/run.sh index 1920bff..8a1c9a7 100644 --- a/apache-airflow/run.sh +++ b/apache-airflow/run.sh @@ -6,11 +6,10 @@ PATH=$PATH:~/.local/bin pip install --upgrade apache-airflow filename=~/airflow/airflow.db -if ! [ -f $filename ] || ! [ -s $filename ] -then +if ! [ -f $filename ] || ! [ -s $filename ]; then airflow db init fi -airflow webserver >${LOG_PATH} 2>&1 & +airflow webserver > ${LOG_PATH} 2>&1 & -airflow users create -u admin -p admin -r Admin -e admin@admin.com -f Coder -l User +airflow users create -u admin -p admin -r Admin -e admin@admin.com -f Coder -l User