Commit 76776579 authored by akiraohgaki's avatar akiraohgaki
Browse files

CI job

parent e9b34b39
Pipeline #313 failed with stage
in 11 minutes and 1 second
...@@ -24,12 +24,12 @@ fedora_rpm: ...@@ -24,12 +24,12 @@ fedora_rpm:
- ./scripts/package fedora_rpm - ./scripts/package fedora_rpm
artifacts: artifacts:
paths: paths:
- build_*/ocs-url*.rpm - build_*/RPMS/x86_64/ocs-url*.rpm
expire_in: 2 days expire_in: 2 days
opensuse_rpm: opensuse_rpm:
stage: build stage: build
image: opensuse:42.1 image: opensuse:42.3
only: only:
- master - master
- /^release\-.+/ - /^release\-.+/
...@@ -37,7 +37,7 @@ opensuse_rpm: ...@@ -37,7 +37,7 @@ opensuse_rpm:
- ./scripts/package opensuse_rpm - ./scripts/package opensuse_rpm
artifacts: artifacts:
paths: paths:
- build_*/ocs-url*.rpm - build_*/RPMS/x86_64/ocs-url*.rpm
expire_in: 2 days expire_in: 2 days
archlinux_pkg: archlinux_pkg:
......
...@@ -55,7 +55,7 @@ build_fedora_rpm() { ...@@ -55,7 +55,7 @@ build_fedora_rpm() {
rpmbuild --define "_topdir ${BUILDDIR}" -bb "${BUILDDIR}/SPECS/${PKGNAME}.spec" 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 install_build_deps_opensuse_rpm
add_pkguser add_pkguser
su -c "export HOME=/home/${PKGUSER} && "${PKGSCRIPT}" build_opensuse_rpm" ${PKGUSER} su -c "export HOME=/home/${PKGUSER} && "${PKGSCRIPT}" build_opensuse_rpm" ${PKGUSER}
......
Supports Markdown
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