Skip to content
Snippets Groups Projects
Commit e5ac49c6 authored by Favio Masulli Becker's avatar Favio Masulli Becker
Browse files

basic deploys

parent fe89b4b6
No related branches found
No related tags found
4 merge requests!46Develop,!44Release Cut: release-cut-1-5-2025,!42basic deploys,!41Deploys
# This file is a template, and might need editing before it works on your project.
# You can copy and paste this template into a new `.gitlab-ci.yml` file.
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
#
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Bash.gitlab-ci.yml
# See https://docs.gitlab.com/ee/ci/yaml/index.html for all available options
# you can delete this line if you're not using Docker
# Variables
variables:
CI_DEBUG_TRACE: "false"
# Stages
stages:
- deploy
# Dev Pipeline
deploy_develop:
stage: deploy
script:
- echo "Deploying to Dev environment..."
- sleep 30
environment:
name: D
only:
- develop
# Uat Pipeline
deploy_uat:
stage: deploy
script:
- echo "Deploying to Uat environment..."
- sleep 30
environment:
name: Uat
only:
- main
# PROD Pipeline
deploy_prod:
stage: deploy
script:
- echo "Deploying last Uat commit..."
- echo "Deploying to Prod..."
- sleep 30
environment:
name: Prod
when: manual
only:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment