Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
Project
Project
Details
Activity
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
Алексей Аляев
nxssh
Commits
e61b3cb5
Commit
e61b3cb5
authored
Jun 28, 2018
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(CI): added test build
parent
93a463a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
.gitlab-ci.yml
.gitlab-ci.yml
+28
-2
No files found.
.gitlab-ci.yml
View file @
e61b3cb5
variables
:
# Как долго хранить тестовые сборки, дней
DEV_EXPIRE_IN
:
"
7"
# Каталог куда собираются тестовые сборки
DEV_RPMDIR
:
"
/var/ftp/pvt/Etersoft/RX@Etersoft/CI"
stages
:
-
build
-
test
...
...
@@ -38,8 +44,7 @@ testsuite:
stage
:
test
script
:
-
epm --auto Install nxssh
# токен задаётся как VARIABLE в свойствах проекта
-
git clone https://gitlab-ci-token:${RX_TESTSUITE_TOKEN}@gitlab.eterfund.ru/rx-etersoft/rx-testsuite.git
-
git clone git@gitlab.eterfund.ru:rx-etersoft/rx-testsuite.git
-
cd rx-testsuite && ./rx-tests-start-all
artifacts
:
paths
:
...
...
@@ -51,3 +56,24 @@ testsuite:
tags
:
-
rx-tests
test build
:
stage
:
build
script
:
-
export TMPDIR=/tmp/.private/${USER}; export TMP=${TMPDIR}
-
export RPMDIR=${DEV_RPMDIR}/$CI_BUILD_ID
-
mkdir -p $RPMDIR/sources
-
eterremove remove --days $DEV_EXPIRE_IN dirs ${DEV_RPMDIR} || echo "ignore remove error.."
-
/usr/bin/rpmlog -q -r -l
-
korinf -f .gear/nxssh.spec x86_64/ALTLinux/p8 ${RPMDIR}
-
korinf -f .gear/nxssh.spec x86_64/ALTLinux/Sisyphus ${RPMDIR}
-
korinf -f .gear/nxssh.spec x86_64/ALTLinux/p7 ${RPMDIR}
# 32 bit
-
korinf -f .gear/nxssh.spec ALTLinux/p8 ${RPMDIR}
-
korinf -f .gear/nxssh.spec ALTLinux/Sisyphus ${RPMDIR}
-
korinf -f .gear/nxssh.spec ALTLinux/p7 ${RPMDIR}
only
:
-
/^ci-.*/
tags
:
-
rx-build
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