mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-24 19:33:46 +01:00
wip: baby steps getting rpmbuild to work
This commit is contained in:
parent
a50eb30511
commit
3733ab15ed
@ -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
|
||||
- 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
0
rpmbuild/.gitkeep
Normal file
0
workspace/.gitkeep
Normal file
0
workspace/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user