Compare commits

..

No commits in common. "3c660441890a662ef90933834fc7db012ff97728" and "0b5f36fb69b9d4216d1b79f96a75af3057b04ef4" have entirely different histories.

3 changed files with 13 additions and 12 deletions

4
.env
View File

@ -1,4 +0,0 @@
RUNNER_NAME=RunnerName
RUNNER_LABEL=RunnerLabel
RUNNER_HOST=http://92.51.12.43/
RUNNER_TOKEN=fDFMZh0CPV8CsOTVDlSHQXsp96Ji06KjyTVlwf4D

12
install.sh Normal file
View File

@ -0,0 +1,12 @@
chmod +x act_runner
./act_runner --version
cp ./act_runner.service /etc/systemd/system/act_runner.service
cp ./act_runner /usr/local/bin/act_runner
mkdir /etc/act_runner
cp ./config.yaml /etc/act_runner/config.yaml
echo 'daemon reload'
systemctl daemon-reload
systemctl enable act_runner.service
systemctl start act_runner.service

View File

@ -1,13 +1,7 @@
ifneq (,$(wildcard ./.env))
include .env
export
endif
start: start:
chmod +x act_runner chmod +x act_runner
./act_runner --version ./act_runner --version
./act_runner register --no-interactive --instance $(RUNNER_HOST) --token $(RUNNER_TOKEN) --name $(RUNNER_NAME) --labels $(RUNNER_LABEL) ./act_runner register --no-interactive --instance http://92.51.12.43/ --token fDFMZh0CPV8CsOTVDlSHQXsp96Ji06KjyTVlwf4D --name MyRunner --labels RunnerLabels
#mkdir /etc/act_runner #mkdir /etc/act_runner
#mkdir /var/lib/act_runner #mkdir /var/lib/act_runner
@ -15,7 +9,6 @@ start:
cp ./act_runner.service /etc/systemd/system/act_runner.service cp ./act_runner.service /etc/systemd/system/act_runner.service
cp ./act_runner /usr/local/bin/act_runner cp ./act_runner /usr/local/bin/act_runner
cp ./config.yaml /etc/act_runner/config.yaml cp ./config.yaml /etc/act_runner/config.yaml
cp .runner /var/lib/act_runner/.runner
systemctl daemon-reload systemctl daemon-reload
systemctl enable act_runner.service systemctl enable act_runner.service