Skip to content

Commit 528bdcb

Browse files
committed
Rename script file.
1 parent 9fd8721 commit 528bdcb

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
- name: Help
4141
run: |
4242
echo "Hi from .github/workflows/tests.yml!"
43-
./github-runner --help
43+
./github-runner-installer --help
4444
4545
- name: Run
4646
run: |
47-
./github-runner \
47+
./github-runner-installer \
4848
--name=${RUNNER_CONFIG_NAME} \
4949
--config-sh-options=--ephemeral
5050

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ RUN yum install -y \
1010
jq
1111

1212
# This codebase. The runner wrapper script.
13-
COPY ./ /github-runner
14-
WORKDIR /github-runner
13+
COPY ./ /github-runner-installer
14+
WORKDIR /github-runner-installer
1515
RUN chown runner:runner . -R
1616

1717
# GitHub Runner code.
1818
# Install runner to a path that won't ever be in a volume.
1919
ENV RUNNER_PATH /usr/share/github-runner
2020
# We are installing as root then switching back because we need to use the install-dependencies script.
21-
RUN ./github-runner --no-run --no-config --runner-path=${RUNNER_PATH}
21+
RUN ./github-runner-installer --no-run --no-config --runner-path=${RUNNER_PATH}
2222
RUN ${RUNNER_PATH}/bin/installdependencies.sh
2323
RUN chown runner:runner ${RUNNER_PATH} -R
2424

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# github-runner
1+
# github-runner-installer
22
A single script to install, configure, launch, and cleanup GitHub runners.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
],
1212
"require": {},
1313
"bin": [
14-
"github-runner"
14+
"github-runner-installer"
1515
]
1616
}

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ services:
77
image: jonpugh/github-runner
88
hostname: localhost
99
volumes:
10-
- ./:/github-runner
10+
- ./:/github-runner-installer
1111
environment:
1212
GITHUB_TOKEN: ${GITHUB_TOKEN}
1313
GITHUB_REPOSITORY: jonpugh/github-runner
1414
RUNNER_CONFIG_LABELS: ${RUNNER_CONFIG_LABELS:-runner@localhost}
1515
entrypoint: ./docker-entrypoint
16-
command: ./github-runner
16+
command: ./github-runner-installer
1717
build: ./
1818

1919
# Give the containers more time to shutdown before being cancelled.

github-runner renamed to github-runner-installer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ verify() {
9393
# Defaults. If ENV vars exist, use them. If not, use these values.
9494
RUNNER_PATH=${RUNNER_PATH:-"runner"}
9595
RUNNER_CONFIG_NAME=${RUNNER_CONFIG_NAME:-$(whoami)@$(hostname -f)}
96-
RUNNER_CONFIG_LABELS=${RUNNER_CONFIG_LABELS:-"jonpugh/github-runner"}
96+
RUNNER_CONFIG_LABELS=${RUNNER_CONFIG_LABELS:-"jonpugh/github-runner-installer"}
9797
RUNNER_CONFIG_OPTIONS=${RUNNER_CONFIG_OPTIONS:-""}
9898

9999
# Whether to run the runner

0 commit comments

Comments
 (0)