Browse Source

Networking-sfc is very dynamic, stick to last know working commit

Change-Id: I209ca922f29e039ab8963e40dac0db490a32d4aa
Bartosz Kupidura 2 years ago
parent
commit
287bbec41e
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      pre_build_hook

+ 4
- 0
pre_build_hook View File

@@ -7,6 +7,7 @@ set -eux
7 7
 
8 8
 #git reposotory with source code
9 9
 GIT_REPOSITORY_URL=https://github.com/openstack/networking-sfc.git
10
+GIT_LAST_WORKING_COMMIT=5d69969e999c5fb9a98fb37bb627f1fca789c54c
10 11
 
11 12
 #package information
12 13
 VERSION_NUMBER=${VERSION_NUMBER:-0.0.1}
@@ -30,6 +31,9 @@ mkdir -p "${TMP_DIR}"
30 31
 pushd $TMP_DIR
31 32
 
32 33
 git clone $GIT_REPOSITORY_URL networking-sfc
34
+pushd networking-sfc
35
+git checkout $GIT_LAST_WORKING_COMMIT
36
+popd
33 37
 
34 38
 pushd "${DIR}/repositories/ubuntu/"
35 39
 fpm --architecture all --force -s python --no-python-dependencies -t deb -m "${MAINTAINERS}" --python-install-lib /usr/lib/python2.7/dist-packages ${TMP_DIR}/networking-sfc/setup.py

Loading…
Cancel
Save