Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6fbeb985
Commit
6fbeb985
authored
Oct 17, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add date calls in .gitlab-ci.yml to see how long each step take
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
5e8138aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
.gitlab-ci.yml
.gitlab-ci.yml
+19
-0
No files found.
.gitlab-ci.yml
View file @
6fbeb985
...
@@ -35,8 +35,14 @@ variables:
...
@@ -35,8 +35,14 @@ variables:
before_script
:
before_script
:
-
bundle --version
-
bundle --version
-
date
-
source scripts/utils.sh
-
source scripts/utils.sh
-
date
-
source scripts/prepare_build.sh
-
source scripts/prepare_build.sh
-
date
after_script
:
-
date
stages
:
stages
:
-
build
-
build
...
@@ -299,7 +305,9 @@ compile-assets:
...
@@ -299,7 +305,9 @@ compile-assets:
<<
:
*default-cache
<<
:
*default-cache
script
:
script
:
-
node --version
-
node --version
-
date
-
yarn install --frozen-lockfile --cache-folder .yarn-cache
-
yarn install --frozen-lockfile --cache-folder .yarn-cache
-
date
-
bundle exec rake gitlab:assets:compile
-
bundle exec rake gitlab:assets:compile
artifacts
:
artifacts
:
expire_in
:
7d
expire_in
:
7d
...
@@ -498,11 +506,15 @@ db:check-schema-pg:
...
@@ -498,11 +506,15 @@ db:check-schema-pg:
-
git fetch https://gitlab.com/gitlab-org/gitlab-ce.git v9.3.0
-
git fetch https://gitlab.com/gitlab-org/gitlab-ce.git v9.3.0
-
git checkout -f FETCH_HEAD
-
git checkout -f FETCH_HEAD
-
bundle install $BUNDLE_INSTALL_FLAGS
-
bundle install $BUNDLE_INSTALL_FLAGS
-
date
-
cp config/gitlab.yml.example config/gitlab.yml
-
cp config/gitlab.yml.example config/gitlab.yml
-
bundle exec rake db:drop db:create db:schema:load db:seed_fu
-
bundle exec rake db:drop db:create db:schema:load db:seed_fu
-
date
-
git checkout $CI_COMMIT_SHA
-
git checkout $CI_COMMIT_SHA
-
bundle install $BUNDLE_INSTALL_FLAGS
-
bundle install $BUNDLE_INSTALL_FLAGS
-
date
-
. scripts/prepare_build.sh
-
. scripts/prepare_build.sh
-
date
-
bundle exec rake db:migrate
-
bundle exec rake db:migrate
migration:path-pg:
migration:path-pg:
...
@@ -574,7 +586,9 @@ gitlab:assets:compile:
...
@@ -574,7 +586,9 @@ gitlab:assets:compile:
WEBPACK_REPORT
:
"
true"
WEBPACK_REPORT
:
"
true"
NO_COMPRESSION
:
"
true"
NO_COMPRESSION
:
"
true"
script
:
script
:
-
date
-
yarn install --frozen-lockfile --production --cache-folder .yarn-cache
-
yarn install --frozen-lockfile --production --cache-folder .yarn-cache
-
date
-
bundle exec rake gitlab:assets:compile
-
bundle exec rake gitlab:assets:compile
artifacts
:
artifacts
:
name
:
webpack-report
name
:
webpack-report
...
@@ -592,8 +606,11 @@ karma:
...
@@ -592,8 +606,11 @@ karma:
BABEL_ENV
:
"
coverage"
BABEL_ENV
:
"
coverage"
CHROME_LOG_FILE
:
"
chrome_debug.log"
CHROME_LOG_FILE
:
"
chrome_debug.log"
script
:
script
:
-
date
-
scripts/gitaly-test-spawn
-
scripts/gitaly-test-spawn
-
date
-
bundle exec rake gettext:po_to_json
-
bundle exec rake gettext:po_to_json
-
date
-
bundle exec rake karma
-
bundle exec rake karma
coverage
:
'
/^Statements
*:
(\d+\.\d+%)/'
coverage
:
'
/^Statements
*:
(\d+\.\d+%)/'
artifacts
:
artifacts
:
...
@@ -691,7 +708,9 @@ lint:javascript:report:
...
@@ -691,7 +708,9 @@ lint:javascript:report:
-
setup-test-env
-
setup-test-env
before_script
:
[]
before_script
:
[]
script
:
script
:
-
date
-
find app/ spec/ -name '*.js' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \;
# run report over all files
-
find app/ spec/ -name '*.js' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \;
# run report over all files
-
date
-
yarn run eslint-report ||
true
# ignore exit code
-
yarn run eslint-report ||
true
# ignore exit code
artifacts
:
artifacts
:
name
:
eslint-report
name
:
eslint-report
...
...
Write
Preview
Markdown
is supported
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