File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 33
44export COMMIT_MSG=$( git show HEAD^2 -s)
55export 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}' )
67
78pip install -r test_requirements.txt
89
@@ -15,9 +16,18 @@ if [ -n "$PULP_PR_NUMBER" ]; then
1516 popd
1617fi
1718
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
2131
2232cd pulp_python
2333pip install -e .
You can’t perform that action at this time.
0 commit comments