diff options
Diffstat (limited to '.gitpod.yml')
-rw-r--r-- | .gitpod.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitpod.yml b/.gitpod.yml index 19785aba125..0a047495ac6 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -53,7 +53,7 @@ tasks: cd /workspace/gitlab-development-kit # update GDK echo "$(date) – Updating GDK" | tee -a /workspace/startup.log - export DEFAULT_BRANCH=$(git branch --show-current) + export DEFAULT_BRANCH=$(git --git-dir=gitlab/.git branch --show-current) gdk config set gitlab.default_branch "$DEFAULT_BRANCH" gdk update # ensure gdk.yml has correct instance settings @@ -92,7 +92,7 @@ tasks: # Give Gitpod a few more seconds to set up everything ... sleep 5 printf "$(date) – GitLab is up (took ~%.1f minutes)\n" "$((10*$SECONDS/60))e-1" | tee -a /workspace/startup.log - gp preview $(gp url 3000) || true + gp preview $(gp url 3000) --external || true PREBUILD_LOG=(/workspace/.gitpod/prebuild-log-*) [[ -f /workspace/gitpod_start_time.sh ]] && printf "Took %.1f minutes from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitpod.yml being executed through to completion %s\n" "$((10*(($(date +%s)-${START_UNIXTIME}))/60))e-1" "$([[ -f "$PREBUILD_LOG" ]] && echo "With Prebuilds")" ) |