Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Agiliza
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
evologica
Agiliza
Commits
c63d476d
Commit
c63d476d
authored
Sep 08, 2021
by
Rafael
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrige arquivo de CI
parent
de8aa8ef
Pipeline
#7948
failed with stage
in 4 minutes and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
42 deletions
+20
-42
.gitlab-ci.yml
.gitlab-ci.yml
+20
-42
No files found.
.gitlab-ci.yml
View file @
c63d476d
...
...
@@ -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/
cli
ente/dist
-
cli/web/
ag
ente/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/
ag
ente/dist
-
cli/web/
cli
ente/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 #
#################################################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment