Marcus Young
9d18884fe2
[Automated 🤖 ] Bump to version 2.304.0
2.304.0
2023-04-26 15:10:05 -05:00
myoung34 and GitHub
6b09ca6ba8
Merge pull request #292 from wico-silva/fix/docker-compose-shebang
...
Fix docker compose shebang
2023-04-26 05:39:53 -05:00
David Silva
a8b81262a8
Fix docker compose shebang
2023-04-13 16:37:11 +02:00
myoung34 and GitHub
74db62b99d
Merge pull request #289 from barnesew/update-docker-compose
...
Update Docker Compose to v2
2023-03-28 14:06:37 -05:00
Evan Barnes
6169ef10dc
Changing docker-compose script directory to /usr/local/bin.
2023-03-28 11:18:49 -04:00
Evan Barnes
02c62cecf6
Installing docker compose via the docker plugin and creating compatibility command for "docker-compose".
2023-03-28 10:34:41 -04:00
Koen De Vleeschauwer and Marcus Young
d783e9b8b7
add whitespace around gh version number
...
Co-authored-by: myoung34 <[email protected] >
2023-03-17 13:14:52 -05:00
Marcus Young
b9ffd910f1
[Automated 🤖 ] Bump to version 2.303.0
2.303.0
2023-03-10 05:09:42 -06:00
myoung34 and GitHub
f509f9924a
Merge pull request #285 from ultrr/master
...
Add docker-buildx-plugin
2023-03-07 10:31:05 -06:00
ultrr
0b124d580e
add docker-buildx-plugin
2023-03-03 09:48:21 +01:00
Marcus Young
5bf7c43ad7
[Automated 🤖 ] Bump to version 2.302.1
2.302.1
2023-02-15 10:34:50 -06:00
Marcus Young
33c39f438d
[Automated 🤖 ] Bump to version 2.302.0
2.302.0
2023-02-14 11:17:26 -06:00
myoung34 and GitHub
38e4ef9118
Merge pull request #282 from fabfuel/fabfuel/nested-default-branch
...
Make default workdir a subfolder under /_work
2023-02-10 07:38:31 -06:00
Fabian Fuelling
4fb0cb7f90
Make default workdir a subfolder under /_work
2023-02-07 16:00:54 +01:00
myoung34 and GitHub
c15b0a8998
Merge pull request #276 from myoung34/bugfix/etc_hostname
...
Bugfix: /etc/hostname is not guaranteed, sane default to random string
2023-01-31 19:22:44 -06:00
Marcus Young
e9a5ccae9e
Add new boolean for randomized suffix
2023-01-31 08:36:49 -06:00
Marcus Young
006c50f8c7
Add empty check for /etc/hostname
2023-01-31 08:12:09 -06:00
Marcus Young
5d5d7382ad
Bugfix: /etc/hostname is not guaranteed, sane default to random string
2023-01-30 11:11:21 -06:00
Marcus Young
57b0b6b33a
[Automated 🤖 ] Bump to version 2.301.1
2.301.1
2023-01-18 19:13:36 -06:00
Marcus Young
804332b239
[Automated 🤖 ] Bump to version 2.301.0
2.301.0
2023-01-18 14:10:34 -06:00
myoung34 and GitHub
24100540fe
Merge pull request #271 from iamironz/master
...
Added using docker hostname instead manual generated random
2023-01-16 08:31:20 -06:00
Aleksandr Efremenkov
8ae5f97150
added using docker hostname instead manual generated random, updated README
2023-01-16 16:10:48 +02:00
Marcus Young
44724f2ceb
Hotfix: fix outdated key for focal on opensuse gpg
2022-12-31 18:59:13 -06:00
Marcus Young
4cbc18c7f3
[Automated 🤖 ] Bump to version 2.300.2
2.300.2
2022-12-19 13:27:52 -06:00
Marcus Young
d3a5f123b4
[Automated 🤖 ] Bump to version 2.300.1
2.300.1
2022-12-19 10:37:02 -06:00
Marcus Young
de9ff4a7ac
[Automated 🤖 ] Bump to version 2.300.0
2.300.0
2022-12-14 02:52:06 -06:00
myoung34 and GitHub
759fd9b51d
Merge pull request #264 from Abramo-Bagnara/master
...
Allow to put APP_PRIVATE_KEY in Docker env file. Introduced APP_LOGIN…
2022-12-12 14:56:59 -06:00
myoung34 and GitHub
1e844308fe
Merge pull request #268 from lumagi/remove_recursive_chown
...
Change recursive chown to flat chown for tools directory
2022-12-12 14:50:23 -06:00
Lukas Magel
21dd8bec01
Change recursive chown to flat chown for tools directory
...
If the tools cache is already populated with tooling in a derived docker
image, performing a recursive chown significantly slows down ephemeral
runner startup.
2022-12-12 20:52:43 +01:00
Abramo Bagnara
32be8f566f
Added some info about APP_LOGIN in README.md.
2022-12-12 19:03:03 +01:00
Abramo Bagnara
76e955de4e
Improved backward compatibility with sane defaults for APP_LOGIN.
2022-12-09 08:08:27 +01:00
myoung34 and GitHub
cab9ae37d9
Merge pull request #263 from ilyesAj/patch-1
...
add zip package to dockerfile
2022-12-06 13:39:43 -06:00
myoung34 and GitHub
0d206bc567
Merge pull request #265 from nmalaguti/master
...
Fix expired GPG key for opensuse kubic repository
2022-12-06 12:34:50 -06:00
Nick Malaguti
fc8208dde5
Fix expired GPG key for opensuse kubic repository
...
https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key
expired on 2022-12-06. An updated key with an expiration of 2025-01-30
is available at
https://build.opensuse.org/project/keys_and_certificates/devel:kubic .
2022-12-06 11:39:40 -05:00
Abramo Bagnara
0d5e2807ea
Allow to put APP_PRIVATE_KEY in Docker env file. Introduced APP_LOGIN to fix access token retrieval in case of multiple GitHub's App subscriber.
2022-12-06 08:50:29 +01:00
ilyes Ajroud and GitHub
0530304feb
add zip package
2022-12-05 15:24:07 +01:00
myoung34 and GitHub
d54b9126fd
Merge pull request #254 from chantra/github_app
...
Add support for GitHub app authentication
2022-11-11 09:17:41 -05:00
Manu Bretelle
5dd79b7933
entrypoint: make APP_ID/APP_PRIVATE_KEY mutually exclusive with
...
{ACCESS,RUNNER}_TOKEN.
```
$ docker run --env RUNNER_TOKEN=foo --env APP_ID=1234 --env APP_PRIVATE_KEY="$(<~/Downloads/cert.pem)" runner_app
REPO_URL required for repo runners
Runner reusage is disabled
ERROR: ACCESS_TOKEN or RUNNER_TOKEN provided but are mutually exclusive with APP_ID and APP_PRIVATE_KEY.
$ docker run --env ACCESS_TOKEN=foo --env APP_ID=1234 --env APP_PRIVATE_KEY="$(<~/Downloads/cert.pem)" runner_app
REPO_URL required for repo runners
Runner reusage is disabled
ERROR: ACCESS_TOKEN or RUNNER_TOKEN provided but are mutually exclusive with APP_ID and APP_PRIVATE_KEY.
$ docker run --env ACCESS_TOKEN=foo --env APP_ID=1234 --env APP_PRIVATE_KEY="$(<~/Downloads/cert.pem)" runner_app
$ docker run --env APP_ID=250536 runner_app
REPO_URL required for repo runners
Runner reusage is disabled
ERROR: Both APP_ID and APP_PRIVATE_KEY must be specified.
$ docker run --env APP_ID=1234 --env APP_PRIVATE_KEY="$(<~/Downloads/cert.pem)" runner_app
REPO_URL required for repo runners
Runner reusage is disabled
Obtaining access token for app_id 1234
Obtaining the token of the runner
curl: (22) The requested URL returned error: 404
Configuring
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
| | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ |
| \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ |
| |
| Self-hosted runner registration |
| |
--------------------------------------------------------------------------------
Invalid configuration provided for url. Terminating unattended configuration.
An error occurred: Not configured. Run config.(sh/cmd) to configure the runner.
```
2022-11-10 13:31:22 -08:00
Manu Bretelle
60a999a3c6
Update README.md with PR feedback
2022-11-10 13:31:22 -08:00
Manu Bretelle
f98550b162
Fix trailing space in .github/workflows/deploy.yml
2022-11-10 13:31:22 -08:00
Manu Bretelle
91120c3c92
Update README to document APP_ID/APP_PRIVATE_KEY
...
Document the new environment variables and highlight the possible
security risk and provide possible mitigations.
2022-11-10 13:31:22 -08:00
Manu Bretelle
fca69823a3
Copy app_token.sh when building the docker image
2022-11-10 13:31:22 -08:00
Manu Bretelle
b2d820fa70
Add suport for using a GitHub app to run the runner.
...
If both `APP_ID` and `APP_PRIVATE_KEY` are set, `entrypoint.sh` will
fetch an `ACCESS_TOKEN` for the GitHub app using `app_token.sh` script.
`ACCESS_TOKEN` will get set, and `entrypoint.sh` will carry on as it
used to had `ACCESS_TOKEN` been set from the environment variable.
2022-11-10 13:31:22 -08:00
Manu Bretelle
37f49b1f45
Add a script to fetch an access token for a Github App.
...
This script will fetch an access token from Github for a Github app.
It is expected that `APP_ID` and `APP_PRIVATE_KEY` environment variables are set.
Running
```
APP_ID=12345 APP_PRIVATE_KEY="$(</path/to/githubapp.pem)" bash ./app_token.sh
```
will generate a token suitable to use as `ACCESS_TOKEN`.
2022-11-10 13:31:22 -08:00
Marcus Young
e2290eb566
[Automated 🤖 ] Bump to version 2.299.1
2.299.1
2022-11-02 20:06:22 -04:00
Marcus Young
1cc693a3d3
[Automated 🤖 ] Bump to version 2.299.0
2.299.0
2022-11-02 15:10:20 -04:00
Marcus Young
6a29ed87fa
Sid is now bookworm in lsb_release -cs
2022-10-31 10:03:36 -05:00
Marcus Young
9839dff17b
[Automated 🤖 ] Bump to version 2.298.2
2.298.2
2022-10-04 11:52:15 -05:00
Marcus Young
602720b947
[Automated 🤖 ] Bump to version 2.298.1
2.298.1
2022-10-04 10:36:00 -05:00
Marcus Young
190b11ed81
[Automated 🤖 ] Bump to version 2.298.0
2.298.0
2022-10-04 07:27:21 -05:00