File tree Expand file tree Collapse file tree 8 files changed +14
-13
lines changed
Expand file tree Collapse file tree 8 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 2121}
2222
2323if not initial_branch or initial_branch not in branches :
24- starting = - 2
24+ exit ( "Initial branch not found" )
2525else :
2626 starting = branches .index (initial_branch )
2727
Original file line number Diff line number Diff line change 1- 2021.08.26-127-gfedbecb
1+ 2021.08.26-129-gf780fda
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ jobs:
198198 if : always()
199199 run : |
200200 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
201- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
201+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
202202 docker images || true
203203 docker ps -a || true
204204 docker logs pulp || true
@@ -326,7 +326,7 @@ jobs:
326326 if : always()
327327 run : |
328328 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
329- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
329+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
330330 docker images || true
331331 docker ps -a || true
332332 docker logs pulp || true
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ jobs:
159159 if : always()
160160 run : |
161161 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
162- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
162+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
163163 docker images || true
164164 docker ps -a || true
165165 docker logs pulp || true
@@ -356,7 +356,7 @@ jobs:
356356 if : always()
357357 run : |
358358 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
359- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
359+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
360360 docker images || true
361361 docker ps -a || true
362362 docker logs pulp || true
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ jobs:
233233 if : always()
234234 run : |
235235 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
236- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
236+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
237237 docker images || true
238238 docker ps -a || true
239239 docker logs pulp || true
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ set -euv
1515
1616source .github/workflows/scripts/utils.sh
1717
18+ export PULP_API_ROOT=" /pulp/"
19+
1820if [[ " $TEST " = " docs" || " $TEST " = " publish" ]]; then
1921 pip install -r ../pulpcore/doc_requirements.txt
2022 pip install -r doc_requirements.txt
@@ -93,7 +95,6 @@ if [ "$TEST" = "s3" ]; then
9395 sed -i -e ' $a s3_test: true\
9496minio_access_key: "' $MINIO_ACCESS_KEY ' "\
9597minio_secret_key: "' $MINIO_SECRET_KEY ' "' vars/main.yaml
96- echo " PULP_API_ROOT=/rerouted/djnd/" >> " $GITHUB_ENV "
9798 export PULP_API_ROOT=" /rerouted/djnd/"
9899fi
99100
@@ -113,6 +114,8 @@ if [ "$TEST" = "azure" ]; then
113114 sed -i -e ' $a azure_test: true' vars/main.yaml
114115fi
115116
117+ echo " PULP_API_ROOT=${PULP_API_ROOT} " >> " $GITHUB_ENV "
118+
116119if [ " ${PULP_API_ROOT:- } " ]; then
117120 sed -i -e ' $a api_root: "' " $PULP_API_ROOT " ' "' vars/main.yaml
118121fi
Original file line number Diff line number Diff line change @@ -45,10 +45,7 @@ if [[ "$TEST" = "docs" ]]; then
4545fi
4646
4747if [[ " ${RELEASE_WORKFLOW:- false} " == " true" ]]; then
48- STATUS_ENDPOINT=" ${PULP_URL} /pulp/api/v3/status/"
49- if [ " ${PULP_API_ROOT:- } " ]; then
50- STATUS_ENDPOINT=" ${PULP_URL}${PULP_API_ROOT} api/v3/status/"
51- fi
48+ STATUS_ENDPOINT=" ${PULP_URL}${PULP_API_ROOT} api/v3/status/"
5249 echo $STATUS_ENDPOINT
5350 REPORTED_VERSION=$( http $STATUS_ENDPOINT | jq --arg plugin python --arg legacy_plugin pulp_python -r ' .versions[] | select(.component == $plugin or .component == $legacy_plugin) | .version' )
5451 response=$( curl --write-out %{http_code} --silent --output /dev/null https://pypi.org/project/pulp-python/$REPORTED_VERSION /)
Original file line number Diff line number Diff line change 11# This config represents the latest values used when running the plugin-template. Any settings that
22# were not present before running plugin-template have been added with their default values.
33
4- # generated with [email protected] 125-g1923e98 4+ # generated with [email protected] 129-gf780fda 55
66additional_plugins : []
77additional_repos : []
88aiohttp_fixtures_origin : 172.18.0.1
9+ api_root : /pulp/
910black : false
1011check_commit_message : true
1112check_gettext : true
You can’t perform that action at this time.
0 commit comments