Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-20 18:40:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-20 18:40:28 +0300
commitb595cb0c1dec83de5bdee18284abe86614bed33b (patch)
tree8c3d4540f193c5ff98019352f554e921b3a41a72 /.gitpod.yml
parent2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff)
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to '.gitpod.yml')
-rw-r--r--.gitpod.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index 96c4eafd0e4..3fb623b9fb6 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -3,7 +3,10 @@ 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-done gitpod-start
+ gp sync-await gdk-copied && cd /workspace/gitlab-development-kit && gdk help
- init: |
echo "$(date) – Copying GDK" | tee -a /workspace/startup.log
@@ -33,8 +36,10 @@ tasks:
)
command: |
(
+ gp sync-await gitpod-start
set -e
gp sync-done gdk-copied
+ [[ -f /workspace/gitpod_start_time.sh ]] && source /workspace/gitpod_start_time.sh
SECONDS=0
cd /workspace/gitlab-development-kit
# update GDK
@@ -69,7 +74,7 @@ tasks:
git checkout db/structure.sql
cd /workspace/gitlab-development-kit
# Waiting for GitLab ...
- gp await-port 3000
+ gp ports await 3000
printf "Waiting for GitLab at $(gp url 3000) ..."
# Check /-/readiness which returns JSON, but we're only interested in the exit code
#
@@ -80,6 +85,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-*)
+ [[ -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_TIME_IN_SECONDS}))/60))e-1" "$([[ -f "$PREBUILD_LOG" ]] && echo "With Prebuilds")"
)
ports: