Commit c63d476d authored by Rafael's avatar Rafael

Corrige arquivo de CI

parent de8aa8ef
Pipeline #7948 failed with stage
in 4 minutes and 22 seconds
......@@ -2,8 +2,8 @@ stages:
- deploy
variables:
LC_ALL: 'en_US.UTF-8'
LANG: 'en_US.UTF-8'
LC_ALL: "en_US.UTF-8"
LANG: "en_US.UTF-8"
.has_no_tags: &has_no_tags
only:
......@@ -48,23 +48,6 @@ variables:
variables:
- $CI_COMMIT_TAG =~ /AppAgente[/]web[/][0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}/
.has_tag_api_internal: &has_tag_api_internal
stage: deploy
only:
refs:
- tags
variables:
- $CI_COMMIT_TAG =~ /api[/][0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}/
.has_tag_server: &has_tag_server
stage: deploy
only:
refs:
- tags
variables:
- $CI_COMMIT_TAG =~ /srv[/][0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}/
#################################################################################################
# WEB APP BUILD #
#################################################################################################
......@@ -83,38 +66,36 @@ variables:
- rm node_modules
- rm dist
deploy_app_cliente_web:
<<: *has_tag_cliente_web
<<: *web
<<: *build_app_cliente_web
script:
- cp -R cli/web/cliente/dist ~/services/agiliza/cliente
.build_app_agente_web: &build_app_agente_web
before_script:
- cd cli/web/agente
- yarn
- yarn build
artifacts:
name: dist
paths:
- cli/web/cliente/dist
- cli/web/agente/dist
expire_in: 2 weeks
after_script:
- rm node_modules
- rm dist
.build_app_agente_web: &build_app_agente_web
before_script:
- cd cli/web/agente
- yarn
- yarn build
deploy_app_cliente_web:
<<: *has_tag_cliente_web
<<: *web
<<: *build_app_cliente_web
script:
- cp -R cli/web/cliente/dist ~/services/agiliza/cliente
artifacts:
name: dist
paths:
- cli/web/agente/dist
- cli/web/cliente/dist
expire_in: 2 weeks
after_script:
- rm node_modules
- rm dist
deploy_app_cliente_web:
deploy_app_agente_web:
<<: *web
<<: *has_tag_agente_web
<<: *build_app_agente_web
......@@ -128,9 +109,6 @@ deploy_app_cliente_web:
after_script:
- rm node_modules
- rm dist
#################################################################################################
# BADGES #
#################################################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment