Commit 76776579 authored by akiraohgaki's avatar akiraohgaki
Browse files

CI job

parent e9b34b39
......@@ -24,12 +24,12 @@ fedora_rpm:
- ./scripts/package fedora_rpm
artifacts:
paths:
- build_*/ocs-url*.rpm
- build_*/RPMS/x86_64/ocs-url*.rpm
expire_in: 2 days
opensuse_rpm:
stage: build
image: opensuse:42.1
image: opensuse:42.3
only:
- master
- /^release\-.+/
......@@ -37,7 +37,7 @@ opensuse_rpm:
- ./scripts/package opensuse_rpm
artifacts:
paths:
- build_*/ocs-url*.rpm
- build_*/RPMS/x86_64/ocs-url*.rpm
expire_in: 2 days
archlinux_pkg:
......
......@@ -55,7 +55,7 @@ build_fedora_rpm() {
rpmbuild --define "_topdir ${BUILDDIR}" -bb "${BUILDDIR}/SPECS/${PKGNAME}.spec"
}
opensuse_rpm() { # docker-image: opensuse:42.1
opensuse_rpm() { # docker-image: opensuse:42.3
install_build_deps_opensuse_rpm
add_pkguser
su -c "export HOME=/home/${PKGUSER} && "${PKGSCRIPT}" build_opensuse_rpm" ${PKGUSER}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment