Skip to content
Snippets Groups Projects
Commit a2f3a8ef authored by fejao's avatar fejao
Browse files

Merge branch 'Adding_role_dependencies_submodule' into 'main'

Adding role dependencies submodule

See merge request !21
parents 788ded46 6ea94064
No related branches found
No related tags found
1 merge request!21Adding role dependencies submodule
Pipeline #37772 passed
......@@ -63,7 +63,17 @@ include:
### BEFORE MREGE REQUEST
- local: ci-cd/templates/all-roles-b4-merge.yml
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "master"
####
# rules:
# ### WORKS
# # - if: $CI_COMMIT_REF_NAME == "main"
# ###
# # - if: $CI_PIPELINE_SOURCE == "merge_request_event"
# ###
# # - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
# ####
# - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_APPROVED == true
###
### TEST PARSED VARS FROM UPSTREAM
......
......@@ -5,4 +5,5 @@
hosts:
- example_servers_group
roles:
- roles/dependencies
# - roles/dependencies
- roles/c3infodesk-deployment-role-dependencies
......@@ -5,38 +5,20 @@
###
variables:
AUTHOR: fejao
# RUN_UPSTREAM_FOR_ROLE_TEST: true
# RUN_UPSTREAM_FOR_ROLE_DEPENDENCIES: true
# RUN_UPSTREAM_FOR_ROLE_CLONE_REPOSITORIES: true
# RUN_UPSTREAM_FOR_ROLE_DOCKER_IMAGES: true
# RUN_UPSTREAM_FOR_ROLE_DOCKER_CONTAINERS: true
# RUN_UPSTREAM_FOR_ROLE_OH_MY_BASH: true
# workflow:
# rules:
# - if: $CI_MERGE_REQUEST_ID
# when: always
# - when: never
###
### INCLUDE
###
include:
### ROLE TEST
- local: ci-cd/templates/role-test.yml
# rules:
# - if: '$RUN_UPSTREAM_FOR_ROLE_TEST == "true"'
### ROLE DEPENDENCIES
- local: ci-cd/templates/role-dependencies.yml
# rules:
# - if: '$RUN_UPSTREAM_FOR_ROLE_DEPENDENCIES == "true"'
### ROLE CLONE-REPOSITORIES
- local: ci-cd/templates/role-clone-repositories.yml
# rules:
# - if: '$RUN_UPSTREAM_FOR_ROLE_CLONE_REPOSITORIES == "true"'
### ROLE DOCKER-IMAGES
- local: ci-cd/templates/role-docker-images.yml
# rules:
# - if: '$RUN_UPSTREAM_FOR_ROLE_DOCKER_IMAGES == "true"'
### ROLE DOCKER-CONTAINERS
- local: ci-cd/templates/role-docker-containers.yml
# rules:
# - if: '$RUN_UPSTREAM_FOR_ROLE_DOCKER_CONTAINERS == "true"'
### ROLE OH-MY-BASH
- local: ci-cd/templates/role-oh-my-bash.yml
# rules:
# - if: '$RUN_UPSTREAM_FOR_ROLE_OH_MY_BASH == "true"'
# - local: ci-cd/templates/role-clone-repositories.yml
# - local: ci-cd/templates/role-docker-images.yml
# - local: ci-cd/templates/role-docker-containers.yml
# - local: ci-cd/templates/role-oh-my-bash.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment