summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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