Skip to content

Commit

Permalink
drop! run test for all matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Sep 10, 2024
1 parent dd3bd3d commit 98b7c3c
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 510 deletions.
120 changes: 104 additions & 16 deletions .github/matrix-commitly.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,113 @@
# please see matrix-full.yml for meaning of each field
build-packages:
- label: ubuntu-24.04
image: ubuntu:24.04
package: deb
check-manifest-suite: ubuntu-24.04-amd64
# label: used to distinguish artifacts for later use
# image: docker image name if the build is running in side a container
# package: package type
# package-type: the nfpm packaging target, //:kong_{package} target; only used when package is rpm
# bazel-args: additional bazel build flags
# check-manifest-suite: the check manifest suite as defined in scripts/explain_manifest/config.py

# Ubuntu
- label: ubuntu-20.04
image: ubuntu:20.04
package: deb
check-manifest-suite: ubuntu-20.04-amd64
- label: ubuntu-22.04
image: ubuntu:22.04
package: deb
check-manifest-suite: ubuntu-22.04-amd64
- label: ubuntu-22.04-arm64
image: ubuntu:22.04
package: deb
bazel-args: --platforms=//:generic-crossbuild-aarch64
check-manifest-suite: ubuntu-22.04-arm64
- label: ubuntu-24.04
image: ubuntu:24.04
package: deb
check-manifest-suite: ubuntu-24.04-amd64
- label: ubuntu-24.04-arm64
image: ubuntu:24.04
package: deb
bazel-args: --platforms=//:generic-crossbuild-aarch64
check-manifest-suite: ubuntu-24.04-arm64
# Debian
- label: debian-11
image: debian:11
package: deb
check-manifest-suite: debian-11-amd64
- label: debian-12
image: debian:12
package: deb
check-manifest-suite: debian-12-amd64
# RHEL
- label: rhel-8
image: rockylinux:8
package: rpm
package-type: el8
check-manifest-suite: el8-amd64
- label: rhel-9
image: rockylinux:9
package: rpm
package-type: el9
check-manifest-suite: el9-amd64
- label: rhel-9-arm64
package: rpm
package-type: el9
bazel-args: --platforms=//:rhel9-crossbuild-aarch64 --//:brotli=False
check-manifest-suite: el9-arm64
# Amazon Linux
- label: amazonlinux-2
package: rpm
package-type: aws2
check-manifest-suite: amazonlinux-2-amd64
# simdjson doesn't compile on gcc7.3.1 (needs 7.4)
bazel-args: --platforms=//:aws2-crossbuild-x86_64 --//:simdjson=False
- label: amazonlinux-2023
image: amazonlinux:2023
package: rpm
package-type: aws2023
check-manifest-suite: amazonlinux-2023-amd64
- label: amazonlinux-2023-arm64
package: rpm
package-type: aws2023
bazel-args: --platforms=//:aws2023-crossbuild-aarch64 --//:brotli=False
check-manifest-suite: amazonlinux-2023-arm64
build-images:
- label: ubuntu
base-image: ubuntu:24.04
package: deb
artifact-from: ubuntu-24.04
check-manifest-suite: docker-image-ubuntu-24.04
# Only build images for the latest version of each major release.

smoke-tests:
- label: ubuntu
# label: used as compose docker image label ${github.sha}-${label}
# base-image: docker image to use as base
# package: package type
# artifact-from: label of build-packages to use
# artifact-from-alt: another label of build-packages to use for downloading package (to build multi-arch image)
# docker-platforms: comma separated list of docker buildx platforms to build for

# Ubuntu
- label: ubuntu
base-image: ubuntu:24.04
package: deb
artifact-from: ubuntu-24.04
artifact-from-alt: ubuntu-24.04-arm64
docker-platforms: linux/amd64, linux/arm64
check-manifest-suite: docker-image-ubuntu-24.04
# Debian
- label: debian
base-image: debian:12-slim
package: deb
artifact-from: debian-12
# RHEL
- label: rhel
base-image: registry.access.redhat.com/ubi9
package: rpm
rpm_platform: el9
artifact-from: rhel-9
artifact-from-alt: rhel-9-arm64
docker-platforms: linux/amd64, linux/arm64
smoke-tests:
- label: ubuntu
scan-vulnerabilities:
- label: ubuntu

- label: ubuntu
release-packages:

release-images:
- label: ubuntu
package: deb
- label: ubuntu
package: deb
Loading

0 comments on commit 98b7c3c

Please sign in to comment.