This repository has been archived by the owner on Feb 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f740829
commit 74d23c9
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
task: | ||
env: | ||
RELEASEVER: 7 | ||
name: el$RELEASEVER | ||
container: | ||
image: centos:$RELEASEVER | ||
epel_script: yum --assumeyes install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm | ||
toolchain_script: yum --assumeyes install yum-utils rpmdevtools @buildsys-build | ||
sources_script: spectool --get-files $CIRRUS_REPO_NAME.spec | ||
srpm_script: rpmbuild -bs --define "_sourcedir $PWD" --define "_specdir $PWD" --define "dist .el$RELEASEVER.ius" $CIRRUS_REPO_NAME.spec | ||
builddep_script: yum-builddep --assumeyes $HOME/rpmbuild/SRPMS/$CIRRUS_REPO_NAME-*.src.rpm | ||
rpm_script: rpmbuild -bb --define "_sourcedir $PWD" --define "_specdir $PWD" --define "dist .el$RELEASEVER.ius" $CIRRUS_REPO_NAME.spec | ||
gather_script: | ||
- mv --verbose $HOME/rpmbuild/SRPMS/*.src.rpm . | ||
- mv --verbose $HOME/rpmbuild/RPMS/*/*.rpm . | ||
results_artifacts: | ||
path: '*.rpm' |