diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-24 06:09:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-24 06:09:33 +0000 |
commit | 5f03031e16c3ab3053f8e74e22e024a5355ad37c (patch) | |
tree | 80b044970a4557b083fe39d5a2880aa87acc96f4 /.gitpod.yml | |
parent | a9720e77c10b98e427e54384b507683d4c4bfbbd (diff) | |
download | gitlab-ce-5f03031e16c3ab3053f8e74e22e024a5355ad37c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitpod.yml')
-rw-r--r-- | .gitpod.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitpod.yml b/.gitpod.yml index 96c4eafd0e4..07cc7f2ecb6 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,7 +3,9 @@ image: registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:st tasks: - name: GDK - command: gp sync-await gdk-copied && cd /workspace/gitlab-development-kit && gdk help + command: | + echo START_TIME_IN_SECONDS="$(date +%s)" | tee /workspace/gitpod_start_time.sh + gp sync-await gdk-copied && cd /workspace/gitlab-development-kit && gdk help - init: | echo "$(date) – Copying GDK" | tee -a /workspace/startup.log @@ -35,6 +37,7 @@ tasks: ( set -e gp sync-done gdk-copied + source /workspace/gitpod_start_time.sh SECONDS=0 cd /workspace/gitlab-development-kit # update GDK @@ -80,6 +83,8 @@ tasks: 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 + PREBUILD_LOG=(/workspace/.gitpod/prebuild-log-*) + 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_TIME_IN_SECONDS}))/60))e-1" "$([[ -f "$PREBUILD_LOG" ]] && echo "With Prebuilds")" ) ports: |