Skip to content

About

A custom image with pre-installed dependencies for Github self-hosted runners

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

Bratislava Github Runner

A custom image with some pre-installed dependencies for Github self-hosted runner.

Build

You can build the image by any standard Docker image building way, such as

docker buildx build -t gh-runner:latest .

The image will install following packages/tools

Rootless variant

Dockerfile.rootless builds a separate image without sudo that only installs build-essential (no envsubst, kustomize or yarn). It is pushed as actions-runner-rootless and used by the bratislava-rootless runner scale set, where jobs talk to a rootless Docker daemon. Jobs there can't install system packages, so any tool they need has to be added to Dockerfile.rootless.

docker buildx build -f Dockerfile.rootless -t gh-runner-rootless:latest .

There is also a GitHub workflow, that will build both images, tag them with appropriate ARC runner version and push them to Harbor.

Every monday at 9 AM UTC, the workflow will check for updates and if there are any, it will create a pull request with the updated version adn send update to #alerts-github channel.

Note

Please note, that yarn will need some valid NodeJS runtime to work. You can install such runtime, for example, by setup-node action.

Deploy

To deploy/redeploy new version of this runner, you have to:

  1. Execute the GitHub workflow. If you see that it already run this week, just take the latest image from our Harbor repository.
  2. Once you have the correct image tag, you need to change this line in our Azure Infrastructure repository, through Pull Request.
  3. Merge it, automatic pipeline will run and deploy the change.

Tip

If you decide to build image locally, tag it with latest version from this ARC Docker repository. The tag should be something like vX.XXX.X-ubuntu-20.04.

About

A custom image with pre-installed dependencies for Github self-hosted runners

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages