Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend-MECRED
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MECRED
Frontend-MECRED
Commits
e76fd213
Commit
e76fd213
authored
1 week ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Downloads
Patches
Plain Diff
HOTFIX gitlab CI
parent
e4fa2b39
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#42766
passed
1 week ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-25
4 additions, 25 deletions
.gitlab-ci.yml
with
4 additions
and
25 deletions
.gitlab-ci.yml
+
4
−
25
View file @
e76fd213
...
@@ -16,6 +16,8 @@ lint-job:
...
@@ -16,6 +16,8 @@ lint-job:
-
corepack enable pnpm
-
corepack enable pnpm
-
pnpm i --frozen-lockfile --silent
-
pnpm i --frozen-lockfile --silent
-
pnpm run lint
-
pnpm run lint
tags
:
-
mecred
rules
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"'
...
@@ -25,31 +27,8 @@ build-job:
...
@@ -25,31 +27,8 @@ build-job:
-
corepack enable pnpm
-
corepack enable pnpm
-
pnpm i --frozen-lockfile --silent
-
pnpm i --frozen-lockfile --silent
-
pnpm run build
-
pnpm run build
tags
:
-
mecred
rules
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
deploy-homologa-job
:
stage
:
deploy
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
mkdir -p ~/.ssh
-
eval $(ssh-agent -s)
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
script
:
-
ssh-add <(echo "$SSH_RUNNER" | tr -d '\r')
-
ssh root@mecredhomologa.c3sl.ufpr.br "git config --global --add safe.directory '/home/mecred/frontend-mecred' && cd /home/mecred/frontend-mecred && git checkout homologa && git pull && ./deploy.sh"
only
:
-
homologa
deploy-prod-job
:
stage
:
deploy
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
mkdir -p ~/.ssh
-
eval $(ssh-agent -s)
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
script
:
-
ssh-add <(echo "$SSH_RUNNER" | tr -d '\r')
-
ssh root@mecred.c3sl.ufpr.br "git config --global --add safe.directory '/home/mecred/frontend-mecred' && cd /home/mecred/frontend-mecred && git checkout producao && git pull && ./deploy.sh"
only
:
-
producao
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment