Skip to content

Latest commit

 

History

History
91 lines (53 loc) · 3.02 KB

File metadata and controls

91 lines (53 loc) · 3.02 KB

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.

ACTIONS_RUNNER_PKG_SHA is found under SHA-256 Checksums in the new version release notes. Use the checksum for actions-runner-linux-x64-{VERSION_NUMBER}.tar.gz

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.