Commit 7dd05767 authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Fix application of patches in gitlab CI

parent 6e152bdb
Pipeline #1266849 passed with stages
in 31 minutes and 7 seconds
......@@ -13,7 +13,6 @@ deps-slc6:
- spectool -g -R eos-folly-deps.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp SConstruct.double-conversion ~/rpmbuild/SOURCES
- cp 0001-Apply-SLC6-patches.patch ~/rpmbuild/SOURCES
- rpmbuild -ba eos-folly-deps.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
......@@ -94,6 +93,7 @@ slc6:
- yum-builddep -y eos-folly.spec
- spectool -g -R eos-folly.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp 0001-Apply-SLC6-patches.patch ~/rpmbuild/SOURCES
- rpmbuild -ba eos-folly.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
......@@ -111,6 +111,7 @@ cc7:
- yum install -y deps-"$CI_JOB_NAME"/RPMS/x86_64/*
- yum-builddep -y eos-folly.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp 0001-Apply-SLC6-patches.patch ~/rpmbuild/SOURCES
- rpmbuild -ba --undefine=_disable_source_fetch eos-folly.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
......@@ -129,6 +130,7 @@ fedora-31:
- dnf install -y dnf-plugins-core
- dnf builddep -y eos-folly.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp 0001-Apply-SLC6-patches.patch ~/rpmbuild/SOURCES
- rpmbuild -ba --undefine=_disable_source_fetch eos-folly.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
......@@ -147,6 +149,7 @@ fedora-31-tsan:
- dnf install -y dnf-plugins-core libtsan
- dnf builddep -y eos-folly.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp 0001-Apply-SLC6-patches.patch ~/rpmbuild/SOURCES
- rpmbuild -ba --undefine=_disable_source_fetch --define '_with_tsan 1' eos-folly.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
......@@ -165,6 +168,7 @@ fedora-rawhide:
- dnf install -y deps-"$CI_JOB_NAME"/RPMS/x86_64/*
- dnf builddep --nogpg -y eos-folly.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp 0001-Apply-SLC6-patches.patch ~/rpmbuild/SOURCES
- rpmbuild -ba --undefine=_disable_source_fetch eos-folly.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
......
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