Commit 57d580d2 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Actualiza plantilla, incluye jobs de mantenimiento

parent 5f61870e
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -16,7 +16,10 @@ include:
    file: '/deployment-custom-image.yml'
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/deployment-external-backup-files.yml'
    file: '/deployment-external-service/backup-files.yml'
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/maintenance.yml'

stages:
  - build
@@ -26,9 +29,11 @@ stages:
  - post-package
  - deploy
  - deploy-external-service
  - maintenance

variables:
  PROJECT_PARENT_NAME: api
  DEVELOPMENT_MAINTENANCE_DISABLED: 'true'

.maven-build:
  variables:
@@ -217,3 +222,9 @@ variables:
.deploy-external-service:
  variables:
    STACK: ${PROJECT_PARENT_NAME}
    DD_AWS_REGION: ${AWS_REGION}

.scheduled-run:
  variables:
    STACK: ${PROJECT_PARENT_NAME}
    SERVICE: ${PROJECT_PARENT_NAME}_backup-files