Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
205c2c21
Verified
Commit
205c2c21
authored
9 months ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
meta(CI): automatically select the profile branch.
parent
1eb048d2
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-0
27 additions, 0 deletions
.gitlab-ci.yml
with
27 additions
and
0 deletions
.gitlab-ci.yml
+
27
−
0
View file @
205c2c21
workflow
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'web'
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_PIPELINE_SOURCE == 'parent_pipeline'
-
if
:
$CI_COMMIT_TAG
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
include
:
include
:
# Runs on dev-profile/main in default branch, when merging to the default
# branch, and in "tag pipelines".
-
project
:
bob/dev-profile
ref
:
main
file
:
gitlab/python.yml
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_COMMIT_TAG
-
if
:
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
# Runs on dev-profile/develop in other branches (only when manually triggered)
# This is useful when trying new dependency pins in dev-profile/develop.
-
project
:
bob/dev-profile
-
project
:
bob/dev-profile
ref
:
develop
ref
:
develop
file
:
gitlab/python.yml
file
:
gitlab/python.yml
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
never
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
when
:
never
-
when
:
always
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