diff options
author | Kelley Spoon <kelley.spoon@linaro.org> | 2020-12-23 05:29:57 -0600 |
---|---|---|
committer | Benjamin Copeland <ben.copeland@linaro.org> | 2021-01-11 15:44:39 +0000 |
commit | a197204be38ec80d3b614a8f7df68db104ef2aa5 (patch) | |
tree | 6bc10b17be4b6ebe6d9dd7cbb1a9cc7fdb01ccce /infrastructure-patchwork-tools.yaml | |
parent | 250d13dff8d9cb3fb650db59a71d72dc1add3a58 (diff) |
patchwork: install linaro_ldap in build directory
The previous solution of trying to install linaro-git-tools
in the test environment didn't work because the effective
user doesn't have permission to create dirs under /srv.
Instead, let's just pull linaro_ldap.py out of git and put
it in the build dir.
Change-Id: Idc91e6d4f3b358cbc812be183f7d194db252fdfd
Diffstat (limited to 'infrastructure-patchwork-tools.yaml')
-rw-r--r-- | infrastructure-patchwork-tools.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/infrastructure-patchwork-tools.yaml b/infrastructure-patchwork-tools.yaml index 43915cbc98..59ea927e9c 100644 --- a/infrastructure-patchwork-tools.yaml +++ b/infrastructure-patchwork-tools.yaml @@ -44,15 +44,15 @@ sudo apt-get update sudo apt-get install -y python-dev python-virtualenv git python-flake8 flake8 libldap2-dev libsasl2-dev libssl-dev - mkdir -p /srv - (cd /srv && git clone http://git.linaro.org/git/infrastructure/linaro-git-tools.git) git clone -b ${GERRIT_BRANCH} --depth 1 https://git.linaro.org/${GERRIT_PROJECT} - cd * + cd patchwork-tools git log -n1 git fetch https://review.linaro.org/${GERRIT_PROJECT} ${GERRIT_REFSPEC} git checkout -q FETCH_HEAD + curl -L https://git.linaro.org/infrastructure/linaro-git-tools.git/blob_plain/HEAD:/linaro_ldap.py + ./unit-test.sh - build-name-setter: name: 'version.txt' |