From 16261699c359379fb1fec62ba29b31b538efac6b Mon Sep 17 00:00:00 2001 From: Sergey Kalinin Date: Fri, 16 Feb 2018 09:24:48 +0000 Subject: [PATCH] =?UTF-8?q?bitbucket-pipelines.yml=20=D0=BE=D1=82=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=20=D0=BE=D0=BD=D0=BB=D0=B0=D0=B9=D0=BD=20=D0=BD=D0=B0=20?= =?UTF-8?q?Bitbucket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bitbucket-pipelines.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 3654e19..dc3ddc0 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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 \ No newline at end of file + #- 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'