Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
Nektar Publications
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jingtian Zhou
Nektar Publications
Commits
62ef1c53
Commit
62ef1c53
authored
1 month ago
by
Dave Moxey
Browse files
Options
Downloads
Patches
Plain Diff
Try to fix CI for MR pipelines
parent
81125028
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#9734
failed
1 month ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
62ef1c53
...
...
@@ -4,8 +4,8 @@ trigger_mr:
ENVIRONMENT
:
test
UPSTREAM_REF
:
$CI_COMMIT_REF_NAME
MR_REF
:
$CI_MERGE_REQUEST_REF_PATH
only
:
-
merge_request
s
rules
:
-
if
:
$CI_PIPELINE_SOURCE == '
merge_request
_event'
script
:
-
'
curl
--fail
--request
POST
--form
token=$WEB_TRIGGER_TOKEN
--form
ref=master
--form
"variables[MR_REF]=$MR_REF"
--form
"variables[ENVIRONMENT]=test"
--form
"variables[UPSTREAM_REF]=$CI_COMMIT_REF_NAME"
"https://gitlab.nektar.info/api/v4/projects/374/trigger/pipeline"'
...
...
@@ -13,8 +13,8 @@ trigger_deploy:
variables
:
ENVIRONMENT
:
deploy
UPSTREAM_REF
:
$CI_COMMIT_REF_NAME
only
:
-
master
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
trigger
:
project
:
nektar/nektar-publications-web
strategy
:
depend
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment