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
8fdf58e9
Commit
8fdf58e9
authored
9 months ago
by
Baptiste DE RENZO
Browse files
Options
Downloads
Patches
Plain Diff
Test CI, Refs
#39647
parent
ca2f8fd3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+19
-14
19 additions, 14 deletions
.gitlab-ci.yml
README.md
+4
-0
4 additions, 0 deletions
README.md
with
23 additions
and
14 deletions
.gitlab-ci.yml
+
19
−
14
View file @
8fdf58e9
...
...
@@ -5,6 +5,7 @@ checkpf:
trigger
:
project
:
sys/ubicast-environment
strategy
:
depend
branch
:
main
# Sends the current branch to the ubicast-environment triggered pipeline as a variable
variables
:
ANSIBLE_BRANCH
:
$CI_COMMIT_BRANCH
...
...
@@ -25,19 +26,23 @@ checkpf:
# Only if push on the main branch
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"
lint
:
# https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
trigger
:
project
:
sys/ubicast-environment
strategy
:
depend
# Sends the current branch to the ubicast-environment triggered pipeline as a variable
variables
:
ANSIBLE_BRANCH
:
$CI_COMMIT_BRANCH
DEPLOY_STD
:
"
false"
DEPLOY_HA
:
"
false"
resource_group
:
deployment
rules
:
# Only if push in a branch other than main
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH != "main"
# Do not work as expected, failed with error :
# > 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.
#lint:
# # https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
# trigger:
# project: sys/ubicast-environment
# strategy: depend
# branch: main
# # Sends the current branch to the ubicast-environment triggered pipeline as a variable
# variables:
# ANSIBLE_BRANCH: $CI_COMMIT_BRANCH
# DEPLOY_STD: "false"
# DEPLOY_HA: "false"
# resource_group: deployment
# rules:
# # Only if push in a branch other than main
# - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH != "main"
...
This diff is collapsed.
Click to expand it.
README.md
+
4
−
0
View file @
8fdf58e9
# Test
This is a test
# Ansible public
## Usage
...
...
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