From 7ebedc3a1c5fd08dfc4613e0084a0f44fb27dd09 Mon Sep 17 00:00:00 2001 From: Water-Melon Date: Mon, 23 Sep 2024 02:30:20 +0000 Subject: [PATCH] aws2 compile issue --- .github/matrix-commitly.yml | 45 +++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/.github/matrix-commitly.yml b/.github/matrix-commitly.yml index 1a2962ab225..ea86a7712aa 100644 --- a/.github/matrix-commitly.yml +++ b/.github/matrix-commitly.yml @@ -1,25 +1,42 @@ -# 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 + + # 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 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. + +# 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 + smoke-tests: -- label: ubuntu scan-vulnerabilities: -- label: ubuntu release-packages: +# Amazon Linux +- label: amazonlinux-2 + package: rpm + artifact-from: amazonlinux-2 + artifact-version: 2 + artifact-type: amazonlinux + artifact: kong.aws2.amd64.rpm + release-images: -- label: ubuntu - package: deb