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
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rx-etersoft
nxssh
Commits
1d3bcdbe
Commit
1d3bcdbe
authored
Nov 16, 2017
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added .gitlab-ci.yml
parent
74cffc02
Pipeline
#611
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
.gitlab-ci.yml
.gitlab-ci.yml
+51
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
1d3bcdbe
stages
:
-
build
-
test
build and public
:
stage
:
build
script
:
# /tmp/.private/.. нужен для hasher, т.к. он не позволяет собирать с другим каталогом, а по умолчанию
# у gitlab-runner выставляется /tmp
-
export TMPDIR=/tmp/.private/${USER}; export TMP=${TMPDIR}
# вынимаем через ssh, чтобы потом смочь сделать коммит
-
git remote | grep -q gitlab || git remote add gitlab git@gitlab.eterfund.ru:rx-etersoft/nxssh.git
-
/usr/bin/rpmlog -q -r -l
-
korinf -f .gear/nxssh.spec x86_64/ALTLinux/p8 /var/ftp/pvt/Etersoft/RX@Etersoft/unstable
-
korinf -f .gear/nxssh.spec x86_64/ALTLinux/Sisyphus /var/ftp/pvt/Etersoft/RX@Etersoft/unstable
-
git push -f gitlab HEAD:ci/latest-build
# Приходиться делать так, потому-что gitlab-runner не позволяет обращаться к ресурсам лежащим вне сборочного каталога
-
mkdir -p RPM/log; cp -rf ${HOME}/RPM/log/*nxssh*.log RPM/log/
-
mkdir -p korinf-log; cp -rf ${HOME}/RPM/tmp/korinf-log/* korinf-log/
artifacts
:
paths
:
-
RPM/log
-
korinf-log
expire_in
:
10 days
only
:
-
devel/gitlab-ci
tags
:
-
rx-build
testsuite
:
stage
:
test
script
:
-
sudo apt-get update && sudo apt-get -fy install nxssh
# токен задаётся как VARIABLE в свойствах проекта
-
git clone https://gitlab-ci-token:${RX_TESTSUITE_TOKEN}@gitlab.eterfund.ru/rx-etersoft/rx-testsuite.git
-
cd rx-testsuite && ./rx-tests-start-all
artifacts
:
paths
:
-
report/*
expire_in
:
10 days
only
:
-
ci/latest-build
tags
:
-
rx-tests
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