Business workflow (trunk-based)
- Cloud Runners
- Self-Hosted Runners
- Hybrid Runners
1. In your main branch create a YAML file named .gitlab-ci.yml with the following content:
###################################################################################################
############################### ShamanOps pipeline | GitLab CI ####################################
###################################################################################################
include:
- remote: 'https://raw.githubusercontent.com/shamanops/resources/main/gitlab/trunk/base-stable.yaml'
variables:
# Environments:
# full-with-drp (dev/stg/prod/drp) | full (dev/stg/prod) | mid (stg/prod) | minimal (prod)
environments: 'full'
# Project
projectName: 'examples'
#-------------------------------------------------------------------------------------------------#
## Features -------------------------------------------------------------------------------------#
# Approvals
shamanopsBusinessApprovers: 'business-user@customer.com'
shamanopsTechnicalApprovers: 'technical-user@customer.com'
shamanopsBusinessApproversMinimalProd: '1'
shamanopsTechnicalApproversMinimalProd: '1'
#-------------------------------------------------------------------------------------------------#
###################################################################################################
Remember to replace the approvers emails business-user@customer.com and technical-user@customer.com with own addresses.
This pipeline contains the minimum configuration to be used, to customize the pipeline please check the Customizations section.
2. Commit and enjoy! ✨
1. In your main branch create a YAML file named .gitlab-ci.yml with the following content:
###################################################################################################
############################### ShamanOps pipeline | GitLab CI ####################################
###################################################################################################
include:
- remote: 'https://raw.githubusercontent.com/shamanops/resources/main/gitlab/trunk/base-stable.yaml'
variables:
# Runner type
runs_on: 'self-hosted'
runs_on_build: 'self-hosted'
# Environments:
# full-with-drp (dev/stg/prod/drp) | full (dev/stg/prod) | mid (stg/prod) | minimal (prod)
environments: 'full'
# Project:
projectName: 'examples'
#-------------------------------------------------------------------------------------------------#
## Features -------------------------------------------------------------------------------------#
# Approvals
shamanopsBusinessApprovers: 'business-user@customer.com'
shamanopsTechnicalApprovers: 'technical-user@customer.com'
shamanopsBusinessApproversMinimalProd: '1'
shamanopsTechnicalApproversMinimalProd: '1'
#-------------------------------------------------------------------------------------------------#
###################################################################################################
Remember to replace the approvers emails business-user@customer.com and technical-user@customer.com with own addresses.
This pipeline contains the minimum configuration to be used, to customize the pipeline please check the Customizations section.
2. Commit and enjoy! ✨
This pipeline executes the jobs that are related to the image compilation in the cloud runners.
It is important that the registry can be resolved through the Internet.
1. In your main branch create a YAML file named .gitlab-ci.yml with the following content:
###################################################################################################
############################### ShamanOps pipeline | GitLab CI ####################################
###################################################################################################
include:
- remote: 'https://raw.githubusercontent.com/shamanops/resources/main/gitlab/trunk/base-stable.yaml'
variables:
# Runner type
runs_on: 'self-hosted'
runs_on_build: 'docker'
# Environments:
# full-with-drp (dev/stg/prod/drp) | full (dev/stg/prod) | mid (stg/prod) | minimal (prod)
environments: 'full'
# Project:
projectName: 'examples'
#-------------------------------------------------------------------------------------------------#
## Features -------------------------------------------------------------------------------------#
# Approvals
shamanopsBusinessApprovers: 'business-user@customer.com'
shamanopsTechnicalApprovers: 'technical-user@customer.com'
shamanopsBusinessApproversMinimalProd: '1'
shamanopsTechnicalApproversMinimalProd: '1'
#-------------------------------------------------------------------------------------------------#
###################################################################################################
Remember to replace the approvers emails business-user@customer.com and technical-user@customer.com with own addresses.
This pipeline contains the minimum configuration to be used, to customize the pipeline please check the Customizations section.
2. Commit and enjoy! ✨