447 Commits
Author SHA1 Message Date
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
myoung34andGitHub 855fa1595c Merge pull request #250 from chantra/fix_ephemeral
Fix ephemeral support
2022-10-02 08:31:55 -05:00
chantra d36049625a Fix ephemeral support
The quotes added in d6e229ec5d cause
`ephemeral` to evaluate as false when `DISABLE_AUTO_UPDATE` was not set.

This is explained in details in #249. This diff changes the logic to use
an array where extra parameters are being added.
When calling config.sh, the array is expanded.

Testing:
../self_hosted_runner.env contains
```
EPHEMERAL=true
```

Before: https://gist.github.com/chantra/443dfaa60d964d938bcb1c020781ca00
we can see multiple jobs got scheduled on the runner

After: https://gist.github.com/chantra/061dc471c63964c01a2e3733a53bd3ec
we can see that when the job finished, the container shutdown.

After with DISABLE_AUTO_UPDATE set: https://gist.github.com/chantra/df0102c7340b8f6bfd458ec56d9fa29c

Also adding `set -x` before the call to `config.sh` revealed the
arguments were correctly added.

Fixes #249
2022-09-30 14:49:04 -07:00
Marcus Young becabea1c5 Hotfix: more lenient sid to bullseye sub 2022-09-28 01:48:12 -05:00
Marcus Young b8f41da1fe Fix ghcli installer by using API and not html parsing 2022-09-26 12:08:03 -05:00
Marcus Young e28f9c5b9f Fix permissions for release creation 2.297.0 2022-09-26 11:27:59 -05:00
Marcus Young 610667a189 [Automated 🤖 ] Bump to version 2.297.0 2022-09-26 10:54:33 -05:00
Marcus Young 8ccc845c12 Port ghcr to latest build 2022-09-16 11:21:21 -05:00
Marcus Young 90f3ce9721 Force a latest release build 2022-09-16 11:14:02 -05:00
myoung34andGitHub 68711a894a Merge pull request #245 from jkroepke/patch-1
Add ghcr.io as image mirror
2022-09-16 11:07:26 -05:00
Jan-Otto KröpkeandGitHub 1b0abddbf3 Add ghcr.io as image mirror 2022-09-16 08:27:22 +02:00
myoung34andGitHub deeea3a153 Merge pull request #242 from myoung34/test_on_pr
Test on pr
2022-09-12 10:56:05 -05:00
Marcus Young 4731be7005 Test on pr 2022-09-12 10:55:17 -05:00
myoung34andGitHub 0c2ccf2f87 Merge pull request #241 from myoung34/contributing
add contributing.md
2022-09-12 10:51:40 -05:00
Marcus Young 9a629ce2c0 add contributing.md 2022-09-12 10:48:14 -05:00
myoung34andGitHub f975901955 Merge pull request #240 from myoung34/chown_optimization
Chown optimization
2022-09-12 09:10:45 -05:00
Marcus Young c437ed6e7c remove unnecessary echo from workflow 2022-09-10 19:49:06 -05:00
Marcus Young bd3554e89c Fix typos 2022-09-10 19:32:13 -05:00
Marcus Young 0fdcf663ba Fix workflow name 2022-09-10 19:24:14 -05:00
Marcus Young d6e229ec5d shellcheck entrypoint.sh 2022-09-10 19:23:25 -05:00
Marcus Young a384f0df6e Set up pre-commit 2022-09-10 19:21:17 -05:00
Marcus Young be89b0b426 Add chown optimization, set up shellcheck 2022-09-10 19:08:40 -05:00
Marcus Young 5020a80319 [Automated 🤖 ] Bump to version 2.296.2 2.296.2 2022-09-08 12:46:35 -05:00
myoung34andGitHub e3d7039671 Merge pull request #234 from Rumbles/master
Check to see if not running as root
2022-09-06 19:41:53 -05:00
myoung34andGitHub 24200494ce Merge pull request #238 from nmalaguti/feature/github-cli-gpg-key-problem
Change gh cli install method to github releases
2022-09-06 19:24:04 -05:00
Nick Malaguti 770434ca9f Change gh cli install method to github releases
The apt repo for the gh cli is broken due to an expired GPG key:
https://github.com/cli/cli/issues/6175

They want to retire the debian packaging altogether
https://github.com/cli/cli/issues/5941 and this is the recommended "long
term" solution
https://github.com/cli/cli/issues/6175#issuecomment-1235984381.

Adapted from https://github.com/cli/cli/issues/6175#issuecomment-1236264607

Fixes #236
2022-09-06 09:59:23 -04:00
James Stocker 66be83e2d0 Update logic at the end as requested 2022-09-02 12:26:29 +02:00
41e804d8f3 Update entrypoint.sh
Co-authored-by: myoung34 <[email protected]>
2022-09-02 12:23:31 +02:00
845c8560f2 Update entrypoint.sh
Co-authored-by: myoung34 <[email protected]>
2022-09-02 12:23:22 +02:00
dbfb56f306 Update entrypoint.sh
Co-authored-by: myoung34 <[email protected]>
2022-09-02 12:23:16 +02:00
12193fe94a Update entrypoint.sh
Co-authored-by: myoung34 <[email protected]>
2022-09-02 12:22:36 +02:00
Marcus Young dfb6bbbbe9 [Automated 🤖 ] Bump to version 2.296.1 2.296.1 2022-08-31 12:45:45 -05:00
James Stocker 5efaecb8fb Check to see if not running as root
Change logic slightly avoid edge case
2022-08-30 10:22:25 +02:00
myoung34andGitHub 578ffc38ef Merge pull request #179 from jarrett-confrey/feat/add-gh-cli
feat: add github cli (gh)
2022-08-29 13:43:48 -05:00
jarrett-confrey 1fd6159c67 feat: add github cli (gh) 2022-08-29 11:04:46 -07:00
Marcus Young 71324bab6f [Automated 🤖 ] Bump to version 2.296.0 2.296.0 2022-08-23 09:57:53 -05:00
myoung34andGitHub a1fd1ae76c Merge pull request #231 from nikeee/master
Add git-lfs to base image
2022-08-17 09:27:15 -05:00
b8f1144165 Update Dockerfile.base
Co-authored-by: myoung34 <[email protected]>
2022-08-17 16:19:18 +02:00
Niklas MollenhauerandGitHub 84a9af0e82 Add git-lfs to base image
Using the checkout action with `lfs: true` currently fails with the error: 
```
Unable to locate executable file: git-lfs.
```

See: https://git-lfs.github.com
2022-08-17 13:54:58 +02:00
Marcus Young abc2d18761 [Automated 🤖 ] Bump to version 2.295.0 2.295.0 2022-08-10 09:54:08 -05:00
Marcus Young 2560bbb789 Dont run as non-root by default 2022-08-01 16:52:32 -05:00
myoung34andGitHub fbb6a91dbd Merge pull request #226 from marcus-bcl/patch-1
Set ownership of /opt/hostedtoolcache
2022-07-27 09:47:23 -05:00
Marcus AspinandGitHub 9aedb25929 Set ownership of /opt/hostedtoolcache 2022-07-27 15:45:02 +01:00
Marcus Young 1f2f6433f1 Fix sudoers for runner user 2022-07-27 07:53:48 -05:00
Marcus Young c6fcbc55fd Last changes for run-as runner user 2022-07-26 12:07:03 -05:00