Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-public
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
system
ansible-public
Commits
893a390d
Commit
893a390d
authored
8 months ago
by
Baptiste DE RENZO
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
3aa80bd8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+16
-16
16 additions, 16 deletions
.gitlab-ci.yml
with
16 additions
and
16 deletions
.gitlab-ci.yml
+
16
−
16
View file @
893a390d
...
@@ -26,23 +26,23 @@ checkpf:
...
@@ -26,23 +26,23 @@ checkpf:
# Only if push on the main branch
# Only if push on the main branch
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"
# Do not work as expected, failed with error
:
# Do not work as expected, failed with error
:
# > Downstream pipeline can not be created, Pipeline will not run for the selected trigger.
# > Downstream pipeline can not be created, Pipeline will not run for the selected trigger.
# > The rules configuration prevented any jobs from being added to the pipeline.
# > The rules configuration prevented any jobs from being added to the pipeline.
#lint:
#
lint:
# # https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
#
# https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
# trigger:
#
trigger:
# project: sys/ubicast-environment
#
project: sys/ubicast-environment
# strategy: depend
#
strategy: depend
# branch: main
#
branch: main
# # Sends the current branch to the ubicast-environment triggered pipeline as a variable
#
# Sends the current branch to the ubicast-environment triggered pipeline as a variable
# variables:
#
variables:
# ANSIBLE_BRANCH: $CI_COMMIT_BRANCH
#
ANSIBLE_BRANCH: $CI_COMMIT_BRANCH
# DEPLOY_STD: "false"
#
DEPLOY_STD: "false"
# DEPLOY_HA: "false"
#
DEPLOY_HA: "false"
# resource_group: deployment
#
resource_group: deployment
# rules:
#
rules:
# # Only if push in a branch other than main
#
# Only if push in a branch other than main
# - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH != "main"
#
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH != "main"
...
...
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