Commit 839100f1 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Adapta CI a nueva versión de plantillas

Importa plantilla de despliegue de una rama feature, para hacer pruebas.

Elimina variables redundantes, mueve las restantes al bloque del
trabajo.

Prueba como nombre de stack el namespace del proyecto (quizá sea
incorrecto, si incluye el grupo raíz 'redmic-project' del repositorio).
parent 1b7f2f71
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
include:
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    ref: feature-updateDeployment
    file: '/deployment.yml'

stages:
  - deploy

variables:
  DD_IMAGE_NAME: nginx
  DD_IMAGE_TAG: alpine
  STACK: gateway

.deploy:
  variables:
    SERVICES_TO_CHECK: ${STACK}_${CI_PROJECT_NAME}
    STACK: ${CI_PROJECT_NAMESPACE}
    SERVICES_TO_CHECK: ${CI_PROJECT_NAMESPACE}_${CI_PROJECT_NAME}
  environment:
    url: http://${PUBLIC_HOSTNAME}
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@

Nginx service configured to redirect HTTP requests to HTTPS endoint and allow certificates validation


## Volúmenes

### acme-vol