From ebbea78a2eb0f89104ccedf54a7752f601b72fd5 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Thu, 25 Feb 2016 13:52:37 -0800 Subject: [PATCH] *: remove build-units script closes #159 --- Documentation/deploy-guide.md | 9 --------- build-units | 20 -------------------- static/fixtures/sample.env.txt | 2 -- 3 files changed, 31 deletions(-) delete mode 100644 Documentation/deploy-guide.md delete mode 100755 build-units diff --git a/Documentation/deploy-guide.md b/Documentation/deploy-guide.md deleted file mode 100644 index 9d284208..00000000 --- a/Documentation/deploy-guide.md +++ /dev/null @@ -1,9 +0,0 @@ -# Deploying - -Generate systemd unit files by injecting secrets into the unit file templates located in: `./static/...`. - -``` -source /prod/dex.env.txt -./build-units -``` - diff --git a/build-units b/build-units deleted file mode 100755 index 19bbf4cf..00000000 --- a/build-units +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -e - -mkdir -p deploy - -required=( - ${DEX_OVERLORD_DB_URL:?"missing"} - ${DEX_OVERLORD_KEY_SECRET:?"missing"} - ${DEX_WORKER_DB_URL:?"missing"} - ${DEX_WORKER_KEY_SECRET:?"missing"} -) - -eval "cat < deploy/dex-worker.service - -eval "cat < deploy/dex-overlord.service diff --git a/static/fixtures/sample.env.txt b/static/fixtures/sample.env.txt index a9639403..3bd17910 100644 --- a/static/fixtures/sample.env.txt +++ b/static/fixtures/sample.env.txt @@ -1,5 +1,3 @@ -# example env file for local development to source when using build-units - # dex worker export DEX_WORKER_KEY_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx export DEX_WORKER_OAUTH_CLIENT_ID=CHANGEME