From 3733ab15ed4411dd099700b2fb082cfda8332a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samu=CC=81el=20Jo=CC=81n=20Gunnarsson?= Date: Wed, 27 Sep 2017 13:44:30 +0200 Subject: [PATCH] wip: baby steps getting rpmbuild to work --- .travis.yml | 6 +++--- rpmbuild/.gitkeep | 0 workspace/.gitkeep | 0 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 rpmbuild/.gitkeep create mode 100644 workspace/.gitkeep diff --git a/.travis.yml b/.travis.yml index 56c1bfb..7888843 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,10 +38,10 @@ install: true script: # - docker run -v ${PWD}:/sources -v ${PWD}:/output:Z -e "SRPM_ONLY=1" ${DOCKER_IMAGE}:${OS_TYPE}-${OS_VERSION} - - docker run -v check_firewall_active:/sources -v ${PWD}:/output:Z -e "SRPM_ONLY=1" ${DOCKER_IMAGE}:${OS_TYPE}-${OS_VERSION} + - docker run -v ${PWD}/check_firewall_active:/sources -v ${PWD}:/output:Z -v ${PWD}/workspace:/workspace -v ${PWD}/rpmbuild:/rpmbuild -e "SRPM_ONLY=1" ${DOCKER_IMAGE}:${OS_TYPE}-${OS_VERSION} after_success: - pip install copr-cli simplejson - #- openssl aes-256-cbc -K $ -iv $ -in .copr.enc -out .copr -d - - openssl aes-256-cbc -K $encrypted_f965aefb5778_key -iv $encrypted_f965aefb5778_iv -in .copr.enc -out .copr -d + - openssl aes-256-cbc -K $encrypted_f965aefb5778_key -iv $encrypted_f965aefb5778_iv -in .copr.enc -out .copr -d - if [ ! -z "${TRAVIS_TAG}" ]; then copr-cli --config .copr build -r ${OS_DIST}-${OS_VERSION}-${OS_ARCH} ${COPR_REPOSITORY} *.src.rpm; fi + diff --git a/rpmbuild/.gitkeep b/rpmbuild/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workspace/.gitkeep b/workspace/.gitkeep new file mode 100644 index 0000000..e69de29