Skip to content

ministryofjustice/analytical-platform-actions-runner

Repository files navigation

Analytical Platform Actions Runner

Ministry of Justice Repository Compliance Badge

Open in Dev Container

Open in GitHub Codespaces

This repository contains the code for building the image used by Analytical Platform's self-hosted GitHub Actions runner service

Running Locally

Build

make build

Test

make test

Run

make run

Versions

Ubuntu

Dependabot is configured to do this in .github/dependabot.yml, but if you need to get the digest, do the following

docker pull --platform linux/amd64 public.ecr.aws/ubuntu/ubuntu:24.04

docker image inspect --format='{{ index .RepoDigests 0 }}' public.ecr.aws/ubuntu/ubuntu:24.04

APT Packages

The latest versions of the APT packages can be obtained by running the following

docker run -it --rm --platform linux/amd64 public.ecr.aws/ubuntu/ubuntu:24.04

apt-get update

apt-cache policy ${PACKAGE} # for example curl, git or gpg

GitHub Action Runner

Releases for GitHub Actions Runner are maintained on GitHub.

Microsoft ODBC driver for SQL Server

The latest version of Microsoft ODBC driver for SQL Server can be obtained by running:

docker run -it --rm --platform linux/amd64 public.ecr.aws/ubuntu/ubuntu:24.04

apt-get update --yes

apt-get install --yes curl gpg

curl --location --fail-with-body \
  "https://packages.microsoft.com/keys/microsoft.asc" \
  --output microsoft.asc

cat microsoft.asc | gpg --dearmor --output microsoft-prod.gpg

install -D --owner root --group root --mode 644 microsoft-prod.gpg /usr/share/keyrings/microsoft-prod.gpg

echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/ubuntu/24.04/prod noble main" > /etc/apt/sources.list.d/mssql-release.list

apt-get update --yes

apt-cache policy msodbcsql18

apt-cache policy mssql-tools18

Maintenance

Maintenance of this component is scheduled in this workflow, which generates a maintenance ticket as per this example.

About

Analytical Platform Actions Runner • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 8