Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattops committed Jan 9, 2025
1 parent 32fb0fa commit e76093e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# hmpps-github-actions-runner
This deploys a self-hosted Github Runner to the organisation.
This deploys a self-hosted Github Runner to the github organisation.

Documentation about it is [here](https://tech-docs.hmpps.service.justice.gov.uk/sreinternaldocs)

Expand All @@ -22,5 +22,4 @@ It's deployed to Cloud Platforms, using Helm.
### Repo environment variables

- GH_APP_ID - the corresponding AppId for the Github App
- GH_ORG - the org to which the runner should be registered
- RUNNER_LABELS - the label by which the runner is invoked
4 changes: 2 additions & 2 deletions src/usr/local/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ else
fi
echo "Checking the runner"
bash "${ACTIONS_RUNNER_DIRECTORY}/config.sh" --check --url "https://github.com/${GH_ORG}"" --pat ${GH_AUTH_TOKEN}
bash "${ACTIONS_RUNNER_DIRECTORY}/config.sh" --check --url "https://github.com/${GH_ORG}" --pat ${GH_AUTH_TOKEN}
echo "Configuring runner"
bash "${ACTIONS_RUNNER_DIRECTORY}/config.sh" ${EPHEMERAL_FLAG} \
--unattended \
--disableupdate \
--url "https://github.com/${GH_ORG}"" \
--url "https://github.com/${GH_ORG}" \
--token "${REPO_TOKEN}" \
--name "$(hostname)" \
--labels "${RUNNER_LABELS}" \
Expand Down

0 comments on commit e76093e

Please sign in to comment.