Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
57ac6ea9
Commit
57ac6ea9
authored
Oct 14, 2019
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat test yaml
parent
347c3642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
10 deletions
+33
-10
.gitlab-ci.yml
.gitlab-ci.yml
+33
-10
No files found.
.gitlab-ci.yml
View file @
57ac6ea9
variables
:
TAG_VERSION
:
"
"
stages
:
-
build
build
:
stage
:
build
-
build_in_branch
-
cleanup_build
-
build_in_master
build_in_branch
:
before_script
:
-
$env:TAG_VERSION=(git describe --tag --abbrev=0)
stage
:
build_in_branch
tags
:
-
shell
script
:
-
echo "starting build"
-
echo "starting build in branch"
-
npm install
-
npm run test-jest
-
echo $env:TAG_VERSION
allow_failure
:
true
except
:
-
master
build_in_master
:
before_script
:
-
$env:TAG_VERSION=(git describe --tag --abbrev=0)
stage
:
build_in_master
tags
:
-
shell
script
:
-
echo "starting build in master"
-
npm install
-
npm run test-jest
-
npm run release
-
git push https://reza.s:qsqzcicpbVxwhGPFBdwx@git.marcopacs.com/Reza.s/karname-ui.git --tags
-
docker-compose build --force-rm
allow_failure
:
true
only
:
-
master
on_
test
_failure
:
stage
:
build
script
:
del /S /F /Q .
on_
build
_failure
:
stage
:
cleanup_
build
script
:
RD /S /Q "C:\GitLab-Runner\builds"
when
:
on_failure
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