Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
86d821a9
Commit
86d821a9
authored
Nov 11, 2019
by
lain
Browse files
Dokku deploys: Keep the git dir so version number generation works.
parent
417f9a78
Pipeline
#19894
passed with stages
in 25 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
86d821a9
...
...
@@ -113,6 +113,7 @@ review_app:
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
ssh-keyscan -H "pleroma.online" >> ~/.ssh/known_hosts
-
(ssh -t dokku@pleroma.online -- apps:create "$CI_ENVIRONMENT_SLUG") ||
true
-
(ssh -t dokku@pleroma.online -- git:set "$CI_ENVIRONMENT_SLUG" keep-git-dir
true
) ||
true
-
ssh -t dokku@pleroma.online -- config:set "$CI_ENVIRONMENT_SLUG" APP_NAME="$CI_ENVIRONMENT_SLUG" APP_HOST="$CI_ENVIRONMENT_SLUG.pleroma.online" MIX_ENV=dokku
-
(ssh -t dokku@pleroma.online -- postgres:create $(echo $CI_ENVIRONMENT_SLUG | sed -e 's/-/_/g')_db) ||
true
-
(ssh -t dokku@pleroma.online -- postgres:link $(echo $CI_ENVIRONMENT_SLUG | sed -e 's/-/_/g')_db "$CI_ENVIRONMENT_SLUG") ||
true
...
...
Write
Preview
Supports
Markdown
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