Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otbtf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orfeo ToolBox
otbtf
Merge requests
!36
ADD: deploy when commit to develop
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ADD: deploy when commit to develop
build_rule_ci
into
develop
Overview
34
Commits
1
Pipelines
1
Changes
1
Merged
Cresson Remi
requested to merge
build_rule_ci
into
develop
2 years ago
Overview
34
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
17fdf6bf
1 commit,
2 years ago
1 file
+
5
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
5
−
6
Options
@@ -13,8 +13,8 @@ variables:
workflow
:
rules
:
-
if
:
$CI_MERGE_REQUEST_ID
# Execute jobs in merge request context
-
if
:
$CI_MERGE_REQUEST_ID
|| $CI_COMMIT_REF_NAME =~ /develop/
# Execute jobs in merge request context
, or commit in develop branch
stages
:
-
Build
-
Static Analysis
@@ -147,11 +147,10 @@ sr4rs:
-
export PYTHONPATH=$PYTHONPATH:$PWD/sr4rs
-
python -m pytest --junitxml=$ARTIFACT_TEST_DIR/report_sr4rs.xml $OTBTF_SRC/test/sr4rs_unittest.py
buildall
:
deploy
:
stage
:
Ship
rules
:
-
if
:
$CI_COMMIT_BRANCH == 'master' && $CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_COMMIT_BRANCH == 'develop' && $CI_PIPELINE_SOURCE == 'merge_request_event'
only
:
-
develop
script
:
-
echo "Shippping!"
-
docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
Loading