bitbucket-pipelines.yml отредактирован онлайн на Bitbucket

This commit is contained in:
Sergey Kalinin 2018-02-16 09:37:21 +00:00
parent cbb471b523
commit 800a4c8831

View File

@ -13,7 +13,7 @@
# - tar -czvf projman-0.4.5-1.tgz * # - tar -czvf projman-0.4.5-1.tgz *
# - curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-last.tgz # - curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-last.tgz
image: appropriate/curl image: jitakirin/rpmbuild
pipelines: pipelines:
default: default:
@ -21,11 +21,7 @@ pipelines:
script: script:
#- mkdir SOURCES #- mkdir SOURCES
- tar -czvf projman-0.4.5-1.tgz * - tar -czvf projman-0.4.5-1.tgz *
#- runuser rpmbuild /usr/local/bin/docker-rpm-build.sh projman.spec - TOPDIR=$BUILD_DIR/home/rpmbuild/rpmbuild runuser rpmbuild /usr/local/bin/docker-rpm-build.sh projman.spec
- builder --volume=$BUILD_DIR:/src --workdir=/src projman.spec
#- rpmbuild -r /opt/atlassian/pipelines/agent/build -ba projman.spec #- rpmbuild -r /opt/atlassian/pipelines/agent/build -ba projman.spec
#- curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-0.4.5-1.tgz #- curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-0.4.5-1.tgz
definitions:
services:
builder:
image: jitakirin/rpmbuild