chore: fmt

pull/80/head
Muhammad Atif Ali 2 years ago committed by GitHub
parent 2c94c82cbf
commit 9f110e6e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,18 +1,18 @@
#!/usr/bin/env sh #!/usr/bin/env sh
BOLD='\033[0;1m' BOLD='\033[0;1m'
printf "$${BOLD}Installing MODULE_NAME..." printf "$${BOLD}Installing MODULE_NAME ...\n\n"
# Add code here # Add code here
# Use varibles from the templatefile function in main.tf # Use varibles from the templatefile function in main.tf
# e.g. LOG_PATH, PORT, etc. # e.g. LOG_PATH, PORT, etc.
echo "🥳 Installation comlete!" printf "🥳 Installation comlete!\n\n"
echo "👷 Starting MODULE_NAME in background..." printf "👷 Starting MODULE_NAME in background...\n\n"
# Start the app in here # Start the app in here
# 1. Use & to run it in background # 1. Use & to run it in background
# 2. redirct stdout and stderr to log files # 2. redirct stdout and stderr to log files
./app >${LOG_PATH} 2>&1 & ./app >${LOG_PATH} 2>&1 &
echo "check logs at ${LOG_PATH}" printf "check logs at ${LOG_PATH} \n\n"

@ -5,17 +5,17 @@ printf "$${BOLD}Installing filebrowser \n\n"
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
echo "🥳 Installation comlete! \n\n" printf "🥳 Installation comlete! \n\n"
echo "👷 Starting filebrowser in background... \n\n" printf "👷 Starting filebrowser in background... \n\n"
ROOT_DIR=${FOLDER} ROOT_DIR=${FOLDER}
ROOT_DIR=$${ROOT_DIR/\~/$HOME} ROOT_DIR=$${ROOT_DIR/\~/$HOME}
echo "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n" printf "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n"
echo "Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT}' \n\n" printf "Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT}' \n\n"
filebrowser --noauth --root $ROOT_DIR --port ${PORT} >${LOG_PATH} 2>&1 & filebrowser --noauth --root $ROOT_DIR --port ${PORT} >${LOG_PATH} 2>&1 &
echo "📝 Logs at ${LOG_PATH} \n\n" printf "📝 Logs at ${LOG_PATH} \n\n"

@ -32,7 +32,7 @@ resource "coder_script" "git_clone" {
REPO_URL : var.url, REPO_URL : var.url,
}) })
display_name = "Git Clone" display_name = "Git Clone"
icon = "/icons/git.svg" icon = "/icon/git.svg"
run_on_start = true run_on_start = true
start_blocks_login = true start_blocks_login = true
} }

@ -1,8 +1,5 @@
import { describe } from "bun:test"; import { describe } from "bun:test";
import { import { runTerraformInit, testRequiredVariables } from "../test";
runTerraformInit,
testRequiredVariables,
} from "../test";
describe("jetbrains-gateway`", async () => { describe("jetbrains-gateway`", async () => {
await runTerraformInit(import.meta.dir); await runTerraformInit(import.meta.dir);

Loading…
Cancel
Save