Commit f567e0d9 authored by Tiger Watson's avatar Tiger Watson

Merge branch 'ashmckenzie/set-correct-rails-settings-for-gitpod' into 'master'

Set Rails hostname, port and https for Gitpod

See merge request gitlab-org/gitlab!68929
parents d81233e7 88d73ac6
......@@ -16,6 +16,10 @@ tasks:
# GitLab
[[ -d /workspace/gitlab ]] && ln -fs /workspace/gitlab /workspace/gitlab-development-kit/gitlab
mv /workspace/gitlab-development-kit/secrets.yml /workspace/gitlab-development-kit/gitlab/config
# update gdk.yml
gdk config set gitlab.rails.hostname $(gp url 3000 | sed -e 's+^http[s]*://++')
gdk config set gitlab.rails.port 443
gdk config set gitlab.rails.https.enabled true
# reconfigure GDK
echo "$(date) – Reconfiguring GDK" | tee -a /workspace/startup.log
gdk reconfigure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment