summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-04-19 13:08:52 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-04-19 13:08:52 +0200
commit66e79f2dc6d09fe335e5b004f23d7afcc344c032 (patch)
treef8a028ba75fb3f8afff7fa4efd2eeb5bb93619f7 /ci
parent9241e5cb09894658de85019625b1fccb0159bc23 (diff)
downloaddocker-66e79f2dc6d09fe335e5b004f23d7afcc344c032.tar.gz
osc.sh is not going to help, remove it
Diffstat (limited to 'ci')
-rw-r--r--ci/maipo3
-rw-r--r--ci/osc.sh46
2 files changed, 0 insertions, 49 deletions
diff --git a/ci/maipo b/ci/maipo
index 7ce218a..2fb890b 100644
--- a/ci/maipo
+++ b/ci/maipo
@@ -33,9 +33,6 @@ RUN yum clean metadata && \
awk '{print $1}' \
)
-ADD https://cgit.kolab.org/docker/plain/ci/osc.sh /
-RUN chmod 755 /osc.sh && /osc.sh
-
ADD https://cgit.kolab.org/docker/plain/ci/entrypoint.sh /
RUN chmod 755 /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
diff --git a/ci/osc.sh b/ci/osc.sh
deleted file mode 100644
index 66afc91..0000000
--- a/ci/osc.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-set -x
-
-pushd /srv
-
-rels=$(osc ls | grep -E "^Kolab:")
-dists=$(osc ls | grep -vE "^(cyrus-imapd|deleted|home|Kolab|Kontact)")
-
-rels="Kolab:Development"
-
-for rel in ${rels}; do
- osc co ${rel}
-
- pushd ${rel}
-
- for pkg in $(find . -mindepth 1 -maxdepth 1 -type d ! -name ".osc"); do
- pushd ${pkg}
-
- for dist in ${dists}; do
- dist=$(echo ${dist} | sed -e 's/:/_/g')
- ( sleep 10; echo 1 ) | osc build \
- --no-verify \
- --download-api-only \
- --disable-cpio-bulk-download \
- --local-package \
- --preload \
- ${dist} \
- *.spec ||
- ( sleep 10; echo 1 ) | osc build \
- --no-verify \
- --download-api-only \
- --disable-cpio-bulk-download \
- --local-package \
- --preload \
- ${dist} \
- *.dsc
- done
-
- popd
- done
-
- popd
-done
-
-popd