Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anthony Sonrel
data-test-sched
Commits
28a41510
Commit
28a41510
authored
Jun 30, 2021
by
Anthony Sonrel
Browse files
replace trigger by rule
parent
64122e2a
Pipeline
#224231
passed with stages
in 2 minutes and 27 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
28a41510
...
...
@@ -39,8 +39,8 @@ default:
update_build
:
stage
:
build
image
:
docker:stable
only
:
-
triggers
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"pipeline"
&&
$CI_UPSTREAM_PROJECT
==
"anthony.sonrel/orchestrator-test"'
before_script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://$CI_REGISTRY
script
:
...
...
@@ -54,8 +54,8 @@ run_udpate:
image
:
name
:
${CI_REGISTRY_IMAGE}:latest
entrypoint
:
[
"
"
]
only
:
-
triggers
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"pipeline"
&&
$CI_UPSTREAM_PROJECT
==
"anthony.sonrel/orchestrator-test"'
before_script
:
-
git config --global user.name "Anthony Sonrel"
-
git config --global user.email "anthony.sonrel@uzh.ch"
...
...
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