File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
export COMMIT_MSG=$( git show HEAD^2 -s)
5
5
export PULP_PR_NUMBER=$( echo $COMMIT_MSG | grep -oP ' Required\ PR:\ https\:\/\/github\.com\/pulp\/pulp\/pull\/(\d+)' | awk -F' /' ' {print $7}' )
6
+ export PULP_PLUGIN_PR_NUMBER=$( echo $COMMIT_MSG | grep -oP ' Required\ PR:\ https\:\/\/github\.com\/pulp\/pulpcore-plugin\/pull\/(\d+)' | awk -F' /' ' {print $7}' )
6
7
7
8
pip install -r test_requirements.txt
8
9
@@ -15,9 +16,18 @@ if [ -n "$PULP_PR_NUMBER" ]; then
15
16
popd
16
17
fi
17
18
18
- pushd pulp/common/ && pip install -e . && popd
19
- pushd pulp/pulpcore/ && pip install -e . && popd
20
- pushd pulp/plugin/ && pip install -e . && popd
19
+ pip install -e ./pulp
20
+
21
+ git clone https://github.com/pulp/pulpcore-plugin.git
22
+
23
+ if [ -n " $PULP_PLUGIN_PR_NUMBER " ]; then
24
+ pushd pulpcore-plugin
25
+ git fetch origin +refs/pull/$PULP_PLUGIN_PR_NUMBER /merge
26
+ git checkout FETCH_HEAD
27
+ popd
28
+ fi
29
+
30
+ pip install -e ./pulpcore-plugin
21
31
22
32
cd pulp_python
23
33
pip install -e .
You can’t perform that action at this time.
0 commit comments