-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from Gua-tk/193_actionsrunner
193 actionsrunner
- Loading branch information
Showing
5 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,7 @@ gcc | |
geany | ||
geogebra | ||
gh | ||
ghrunner | ||
ghostwriter | ||
gimp | ||
git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
ghrunner_name="GitHub self-hosted runner" | ||
ghrunner_description="Program that configures a machine to run GitHub actions workflows" | ||
ghrunner_version="linux-x64-2.314.1" | ||
ghrunner_tags=("customServer") | ||
ghrunner_systemcategories=("Office" "Qt" "TextEditor" "WordProcessor") | ||
|
||
ghrunner_downloadKeys=("bundle") | ||
ghrunner_bundle_doNotInherit="yes" | ||
ghrunner_bundle_downloadPath="${BIN_FOLDER}/ghrunner/" | ||
ghrunner_bundle_URL="https://github.com/actions/runner/releases/download/v2.314.1/actions-runner-linux-x64-2.314.1.tar.gz" | ||
ghrunner_binariesinstalledpaths=("config.sh;gh-config" "run.sh;gh-run") | ||
ghrunner_bashfunctions=("ghrunner.sh") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Application to install a github self-hosted runner. | ||
|
||
Needs configuration after installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
gh-config() | ||
{ | ||
if [ $# != 4 ]; then | ||
echo "ERROR: gh-config expects 4 arguments: --url GITHUB_REPO_URL --token SECRET_TOKEN" | ||
exit 1 | ||
fi | ||
|
||
gh-config "$@" | ||
} | ||
|
||
gh-run() | ||
{ | ||
nohup gh-run &>/dev/null & | ||
} |