diff options
author | Colin Walters <walters@verbum.org> | 2020-02-03 15:42:28 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2020-02-03 16:57:24 +0000 |
commit | 7febd9d36ecb52292ec93f6c7697470bb40d86ed (patch) | |
tree | 2f743fb7ff0d5fbbcbdd864db656e0a02002cd86 /ci | |
parent | 96fb1decf49d0dd67f667268468eec0ead9f3c2e (diff) | |
download | ostree-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-x | ci/ci-commitmessage-submodules.sh | 6 |
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 |