Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
ebbea78a
Commit
ebbea78a
authored
Feb 25, 2016
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: remove build-units script
closes #159
parent
350571ac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
31 deletions
+0
-31
deploy-guide.md
Documentation/deploy-guide.md
+0
-9
build-units
build-units
+0
-20
sample.env.txt
static/fixtures/sample.env.txt
+0
-2
No files found.
Documentation/deploy-guide.md
deleted
100644 → 0
View file @
350571ac
# Deploying
Generate systemd unit files by injecting secrets into the unit file templates located in:
`./static/...`
.
```
source <path-to-secure>/prod/dex.env.txt
./build-units
```
build-units
deleted
100755 → 0
View file @
350571ac
#!/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 <<EOF
$(
<static/dex-worker.service.tmpl
)
EOF
"
1> deploy/dex-worker.service
eval
"cat <<EOF
$(
<static/dex-overlord.service.tmpl
)
EOF
"
1> deploy/dex-overlord.service
static/fixtures/sample.env.txt
View file @
ebbea78a
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment