bitbucket-pipelines.yml отредактирован онлайн на Bitbucket
This commit is contained in:
parent
88183e9b06
commit
16261699c3
|
@ -13,12 +13,21 @@
|
|||
# - tar -czvf projman-0.4.5-1.tgz *
|
||||
# - curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-last.tgz
|
||||
|
||||
image: jitakirin/rpmbuild
|
||||
image: appropriate/curl
|
||||
|
||||
pipelines:
|
||||
default:
|
||||
- step:
|
||||
script:
|
||||
- mkdir SOURCES
|
||||
#- mkdir SOURCES
|
||||
- tar -czvf SOURCES/projman-0.4.5-1.tgz *
|
||||
- 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
|
||||
#- runuser rpmbuild /usr/local/bin/docker-rpm-build.sh projman.spec
|
||||
- docker run -e VERBOSE=1 --rm --volume=$BUILD_DIR:/src --workdir=/src jitakirin/rpmbuild 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
|
||||
definitions:
|
||||
services:
|
||||
docker:
|
||||
image: jitakirin/rpmbuild
|
||||
# environment:
|
||||
# MYSQL_DATABASE: 'db'
|
||||
|
|
Loading…
Reference in New Issue
Block a user