1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-22 09:03:54 +01:00

wip: baby steps getting rpmbuild to work

This commit is contained in:
Samúel Jón Gunnarsson 2017-09-27 13:44:30 +02:00
parent a50eb30511
commit 3733ab15ed
3 changed files with 3 additions and 3 deletions

View File

@ -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 $<ENCRYPTED KEY VAR> -iv $<ENCRYPTED KEY VAR> -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

0
rpmbuild/.gitkeep Normal file
View File

0
workspace/.gitkeep Normal file
View File