summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2020-02-03 15:42:28 +0000
committerColin Walters <walters@verbum.org>2020-02-03 16:57:24 +0000
commit7febd9d36ecb52292ec93f6c7697470bb40d86ed (patch)
tree2f743fb7ff0d5fbbcbdd864db656e0a02002cd86 /ci
parent96fb1decf49d0dd67f667268468eec0ead9f3c2e (diff)
downloadostree-7febd9d36ecb52292ec93f6c7697470bb40d86ed.tar.gz
Add .cci.jenkinsfile
See https://github.com/jlebon/coreos-ci This is just a start to test, cut down from the rpm-ostree version.
Diffstat (limited to 'ci')
-rwxr-xr-xci/ci-commitmessage-submodules.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/ci-commitmessage-submodules.sh b/ci/ci-commitmessage-submodules.sh
index 38481aaf..35d828e4 100755
--- a/ci/ci-commitmessage-submodules.sh
+++ b/ci/ci-commitmessage-submodules.sh
@@ -29,8 +29,10 @@ cleanup_tmp() {
}
trap cleanup_tmp EXIT
-pkg_upgrade
-pkg_install git
+if ! [ -x /usr/bin/git ]; then
+ pkg_upgrade
+ pkg_install git
+fi
gitdir=$(realpath $(pwd))
# Create a temporary copy of this (using cp not git clone) so git doesn't