File tree Expand file tree Collapse file tree 8 files changed +15
-14
lines changed
Expand file tree Collapse file tree 8 files changed +15
-14
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 @@ -204,7 +204,7 @@ jobs:
204204 if : always()
205205 run : |
206206 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
207- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
207+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
208208 docker images || true
209209 docker ps -a || true
210210 docker logs pulp || true
@@ -334,7 +334,7 @@ jobs:
334334 if : always()
335335 run : |
336336 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
337- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
337+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
338338 docker images || true
339339 docker ps -a || true
340340 docker logs pulp || true
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ jobs:
161161 if : always()
162162 run : |
163163 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
164- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
164+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
165165 docker images || true
166166 docker ps -a || true
167167 docker logs pulp || true
@@ -358,7 +358,7 @@ jobs:
358358 if : always()
359359 run : |
360360 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
361- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
361+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
362362 docker images || true
363363 docker ps -a || true
364364 docker logs pulp || true
@@ -476,7 +476,7 @@ jobs:
476476 if : always()
477477 run : |
478478 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
479- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
479+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
480480 docker images || true
481481 docker ps -a || true
482482 docker logs pulp || true
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ jobs:
234234 if : always()
235235 run : |
236236 echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
237- http --timeout 30 --check-status --pretty format --print hb https://pulp/pulp/ api/v3/status/ || true
237+ http --timeout 30 --check-status --pretty format --print hb " https://pulp${PULP_API_ROOT} api/v3/status/" || true
238238 docker images || true
239239 docker ps -a || true
240240 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
@@ -120,7 +122,6 @@ if [ "$TEST" = "s3" ]; then
120122 sed -i -e ' $a s3_test: true\
121123minio_access_key: "' $MINIO_ACCESS_KEY ' "\
122124minio_secret_key: "' $MINIO_SECRET_KEY ' "' vars/main.yaml
123- echo " PULP_API_ROOT=/rerouted/djnd/" >> " $GITHUB_ENV "
124125 export PULP_API_ROOT=" /rerouted/djnd/"
125126fi
126127
@@ -140,6 +141,8 @@ if [ "$TEST" = "azure" ]; then
140141 sed -i -e ' $a azure_test: true' vars/main.yaml
141142fi
142143
144+ echo " PULP_API_ROOT=${PULP_API_ROOT} " >> " $GITHUB_ENV "
145+
143146if [ " ${PULP_API_ROOT:- } " ]; then
144147 sed -i -e ' $a api_root: "' " $PULP_API_ROOT " ' "' vars/main.yaml
145148fi
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 file --arg legacy_plugin pulp_file -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-file/$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_repos :
77- branch : main
88 name : pulp-certguard
99aiohttp_fixtures_origin : 172.18.0.1
10+ api_root : /pulp/
1011black : true
1112check_commit_message : true
1213check_gettext : true
You can’t perform that action at this time.
0 commit comments