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
45469d4b
Commit
45469d4b
authored
Jul 30, 2020
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass IMAGE_TAG to omnibus-gitlab-mirror trigger
Signed-off-by:
Balasankar "Balu" C
<
balasankarc@autistici.org
>
parent
c3091d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
scripts/trigger-build
scripts/trigger-build
+5
-1
No files found.
scripts/trigger-build
View file @
45469d4b
...
...
@@ -138,8 +138,12 @@ module Trigger
def
extra_variables
# Use CI_MERGE_REQUEST_SOURCE_BRANCH_SHA for omnibus checkouts due to pipeline for merged results
# and fallback to CI_COMMIT_SHA for the `detached` pipelines.
# We also set IMAGE_TAG so the GitLab and QA docker images are tagged with
# that SHA.
source_sha
=
Trigger
.
non_empty_variable_value
(
'CI_MERGE_REQUEST_SOURCE_BRANCH_SHA'
)
||
ENV
[
'CI_COMMIT_SHA'
]
{
'GITLAB_VERSION'
=>
Trigger
.
non_empty_variable_value
(
'CI_MERGE_REQUEST_SOURCE_BRANCH_SHA'
)
||
ENV
[
'CI_COMMIT_SHA'
],
'GITLAB_VERSION'
=>
source_sha
,
'IMAGE_TAG'
=>
source_sha
,
'ALTERNATIVE_SOURCES'
=>
'true'
,
'SECURITY_SOURCES'
=>
Trigger
.
security?
?
'true'
:
'false'
,
'ee'
=>
Trigger
.
ee?
?
'true'
:
'false'
,
...
...
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