config: load public cc-ci runtime environment
This commit is contained in:
@@ -71,7 +71,7 @@ log "writing report $REPORT ..."
|
||||
if [ -f "$SUMMARY" ]; then cat "$SUMMARY"; else echo "(no dated summary at $SUMMARY — /upgrade-all may have stalled on the usage limit or errored; check the cc-ci-upgrader session + $LOG)"; fi
|
||||
echo
|
||||
echo "## Open PRs per recipe (post-run)"
|
||||
set -a; . /srv/cc-ci/.testenv 2>/dev/null; set +a
|
||||
set -a; . /srv/cc-ci/cc-ci-plan/load-env.sh; set +a
|
||||
G="https://${GITEA_USERNAME}:${GITEA_PASSWORD}@${GITEA_URL}/api/v1"
|
||||
for r in $(curl -fsS "$G/orgs/recipe-maintainers/repos?limit=100" 2>/dev/null | python3 -c "import sys,json;print('\n'.join(sorted(x['name'] for x in json.load(sys.stdin))))" 2>/dev/null); do
|
||||
case "$r" in cc-ci|cc-ci-orchestrator|cc-ci-secrets|archived-*) continue;; esac
|
||||
|
||||
Reference in New Issue
Block a user