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
5 years ago
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat test yaml
parent
347c3642
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
9 deletions
+32
-9
.gitlab-ci.yml
.gitlab-ci.yml
+32
-9
No files found.
.gitlab-ci.yml
View file @
57ac6ea9
variables
:
TAG_VERSION
:
"
"
stages
:
-
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 in branch"
-
npm install
-
npm run test-jest
-
echo $env:TAG_VERSION
allow_failure
:
true
except
:
-
master
build
:
stage
:
build
build_in_master
:
before_script
:
-
$env:TAG_VERSION=(git describe --tag --abbrev=0)
stage
:
build_in_master
tags
:
-
shell
script
:
-
echo "starting build"
-
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
This diff is collapsed.
Click to expand it.
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