File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
.github/scripts/ppc64le/self-hosted-builder Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
33set -e -u
44
5+
56# first import docker image
67if [ -f ./manywheel-ppc64le.tar ] ; then
78 docker image load --input manywheel-ppc64le.tar
1819 -X POST \
1920 -H " Accept: application/vnd.github.v3+json" \
2021 -H " Authorization: Bearer ${ACCESS_TOKEN} " \
21- " https://api.github.com/orgs /${ORG } /actions/runners/registration-token" \
22+ " https://api.github.com/repos /${OWNER} / ${REPO } /actions/runners/registration-token" \
2223 -o " $token_file "
2324
2425unset ACCESS_TOKEN
@@ -32,7 +33,7 @@ cd /opt/runner
3233./config.sh \
3334 --unattended \
3435 --ephemeral \
35- --url " https://github.com/${ORG } " \
36+ --url " https://github.com/${OWNER} / ${REPO }" \
3637 --token " ${registration_token} " \
3738 --name " ${NAME} " \
3839 --no-default-labels \
@@ -44,7 +45,7 @@ rm -f "$token_file"
4445# enter into python virtual environment.
4546# build workflows use "python -m pip install ...",
4647# and it doesn't work for non-root user
47- source venv/bin/activate
48+ # source venv/bin/activate
4849
4950# Run one job.
5051./run.sh
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ APP_PRIVATE_KEY=$3
77DST_FILE=" $4 "
88
99ACCESS_TOKEN=" $( APP_ID=" $( < " ${APP_ID} " ) " INSTALL_ID=" $( < " ${INSTALL_ID} " ) " APP_PRIVATE_KEY=" ${APP_PRIVATE_KEY} " " ${SCRIPT_DIR} /app_token.sh" ) "
10- echo " ACCESS_TOKEN= ${ACCESS_TOKEN} " > " ${DST_FILE} "
10+ echo " ${ACCESS_TOKEN} " > " ${DST_FILE} "
You can’t perform that action at this time.
0 commit comments