1
0
mirror of https://github.com/hegerdes/gitlab-actions.git synced 2025-10-06 05:36:52 +02:00

Merge branch 'feat/hosted-arm-runners' into 'main'

feat: switch to hosted arm runners

See merge request hegerdes/gitlab-actions!17
This commit is contained in:
Henrik Gerdes
2024-12-21 12:33:12 +00:00
2 changed files with 11 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ pre-commit:
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
snippets:
image: $IMAGE
@@ -70,7 +70,7 @@ snippets:
matrix:
- RUNNER: saas-linux-small-amd64
IMAGE: ["debian:bookworm-slim", "alpine"]
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
IMAGE: ["debian:bookworm-slim", "alpine"]
script:
- !reference [.snippets, debian-core-tools]
@@ -112,7 +112,7 @@ BUILDAH:build:
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
KANIKO:build:
tags: [$RUNNER]
@@ -121,7 +121,7 @@ KANIKO:build:
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
TRIVY:container-scan:
tags: [$RUNNER]
@@ -129,28 +129,28 @@ TRIVY:container-scan:
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
COSIGN:container-sign:
tags: [$RUNNER]
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
merge-image-manifests:
tags: [$RUNNER]
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
HELM:package:
tags: [$RUNNER]
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
HELM:install:
tags: [$RUNNER]
@@ -160,7 +160,7 @@ HELM:install:
parallel:
matrix:
- RUNNER: saas-linux-small-amd64
- RUNNER: hegerdes-linux-arm64
- RUNNER: saas-linux-small-arm64
# before_script:
# - !reference [.snippets, debian-core-tools]
# - !reference [.snippets, kubectl-install]

View File

@@ -44,7 +44,7 @@ Currently supported snippets are:
**NOTE:** All components and snippets are `arm64` ready. Gitlab now offers hosted ARM runners. You can use these when setting:
```yaml
default:
tags: [saas-linux-medium-arm64]
tags: [saas-linux-small-arm64]
# or by including as a template and setting it by extending the job
include:
@@ -53,7 +53,7 @@ include:
as_job: .my-kaniko-build
my-kaniko-build:
tags: [saas-linux-medium-arm64]
tags: [saas-linux-small-arm64]
extends: .my-kaniko-build
```