Commit 84457a78 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Introduce trabajos de backup de ficheros

parent 05f8a4dd
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -2,12 +2,25 @@ include:
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/deployment.yml'
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/deployment-external-service/backup-files.yml'

stages:
  - deploy

variables:
  PROJECT_PARENT_NAME: gis

.deploy:
  variables:
    STACK: gis
    STACK: ${PROJECT_PARENT_NAME}
  environment:
    url: https://${DD_GEOSERVER_SUBDOMAIN}.${PUBLIC_HOSTNAME}

.deploy-external-service:
  variables:
    STACK: ${PROJECT_PARENT_NAME}
    DD_BACKUP_VOL_NAME: geoserver-data-vol
    DD_PATHS_TO_EXCLUDE: cluster logs temp tmp
    DD_PUSHGATEWAY_LABEL: files-backup-redmic-geoserver