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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
988cddae
Commit
988cddae
authored
Jan 21, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the CNG triggering to a new review-build-cng job
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
dc65a779
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
.gitlab-ci.yml
.gitlab-ci.yml
+18
-6
No files found.
.gitlab-ci.yml
View file @
988cddae
...
...
@@ -947,6 +947,20 @@ no_ee_check:
-
//@gitlab-org/gitlab-ce
# GitLab Review apps
review-build-cng
:
<<
:
*single-script-job
variables
:
<<
:
*single-script-job-variables
SCRIPT_NAME
:
trigger-build
script
:
-
gem install gitlab --no-document
-
apk add --update openssl curl jq
-
wget $CI_PROJECT_URL/raw/$CI_COMMIT_SHA/scripts/review_apps/review-apps.sh
-
chmod 755 review-apps.sh
-
source ./review-apps.sh
-
wait_for_job_to_be_done "gitlab:assets:compile"
-
BUILD_TRIGGER_TOKEN=$REVIEW_APPS_BUILD_TRIGGER_TOKEN ./$SCRIPT_NAME cng
review-deploy
:
<<
:
*review-base
retry
:
2
...
...
@@ -961,15 +975,14 @@ review-deploy:
<<
:
*review-environment
on_stop
:
review-stop
before_script
:
-
apk update && apk add jq
-
gem install gitlab --no-document
script
:
-
export GITLAB_SHELL_VERSION=$(<GITLAB_SHELL_VERSION)
-
export GITALY_VERSION=$(<GITALY_SERVER_VERSION)
-
export GITLAB_WORKHORSE_VERSION=$(<GITLAB_WORKHORSE_VERSION)
-
apk update && apk add jq
-
gem install gitlab --no-document
-
source ./scripts/review_apps/review-apps.sh
-
wait_for_job_to_be_done "gitlab:assets:compile"
-
BUILD_TRIGGER_TOKEN=$REVIEW_APPS_BUILD_TRIGGER_TOKEN ./scripts/trigger-build cng
script
:
-
wait_for_job_to_be_done "review-build-cng"
-
check_kube_domain
-
download_gitlab_chart
-
ensure_namespace
...
...
@@ -980,7 +993,6 @@ review-deploy:
.review-qa-base
:
&review-qa-base
<<
:
*review-docker
retry
:
2
allow_failure
:
true
variables
:
<<
:
*review-docker-variables
...
...
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