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

This commit is contained in:
Sergey Kalinin 2018-02-16 09:31:34 +00:00
parent fc800af953
commit cbb471b523

View File

@ -22,12 +22,10 @@ pipelines:
#- 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 #- 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 - 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: definitions:
# services: services:
# docker: builder:
# image: jitakirin/rpmbuild image: jitakirin/rpmbuild
# environment:
# MYSQL_DATABASE: 'db'