From 221bb8645eaa49fcfc4e2eb703d43b3158fc540c Mon Sep 17 00:00:00 2001 From: Paul Abel <128620221+pdabelf5@users.noreply.github.com> Date: Tue, 2 Jul 2024 10:28:36 +0100 Subject: [PATCH] move fips from tests, image patching & release (#5912) --- .github/config/config-plus-nginx | 6 +++--- .github/data/matrix-smoke-nap.json | 2 +- .github/workflows/update-docker-images.yml | 20 -------------------- 3 files changed, 4 insertions(+), 24 deletions(-) diff --git a/.github/config/config-plus-nginx b/.github/config/config-plus-nginx index 969f28b4d1..37f0f648fd 100644 --- a/.github/config/config-plus-nginx +++ b/.github/config/config-plus-nginx @@ -1,8 +1,8 @@ export TARGET_REGISTRY=docker-mgmt.nginx.com export TARGET_NAP_WAF_DOS_IMAGE_PREFIX="nginx-ic-nap-dos/nginx-plus-ingress" -declare -a PLUS_TAG_POSTFIX_LIST=("" "-ubi" "-alpine" "-alpine-fips") -declare -a NAP_WAF_TAG_POSTFIX_LIST=("" "-ubi" "-alpine-fips") -declare -a NAP_WAFV5_TAG_POSTFIX_LIST=("" "-ubi" "-alpine-fips") +declare -a PLUS_TAG_POSTFIX_LIST=("" "-ubi" "-alpine") +declare -a NAP_WAF_TAG_POSTFIX_LIST=("" "-ubi") +declare -a NAP_WAFV5_TAG_POSTFIX_LIST=("" "-ubi") declare -a NAP_DOS_TAG_POSTFIX_LIST=("" "-ubi") declare -a NAP_WAF_DOS_TAG_POSTFIX_LIST=("" "-ubi") declare -a ADDITIONAL_TAGS=("latest" "${ADDITIONAL_TAG}") diff --git a/.github/data/matrix-smoke-nap.json b/.github/data/matrix-smoke-nap.json index 26b70227a1..498e97b05e 100644 --- a/.github/data/matrix-smoke-nap.json +++ b/.github/data/matrix-smoke-nap.json @@ -10,7 +10,7 @@ }, { "label": "AP_WAF 2/4", - "image": "alpine-plus-nap-fips", + "image": "ubi-9-plus-nap", "type": "plus", "nap_modules": "waf", "marker": "'appprotect_waf_policies and not appprotect_waf_policies_allow'", diff --git a/.github/workflows/update-docker-images.yml b/.github/workflows/update-docker-images.yml index dd0a1641af..699c0d53a1 100644 --- a/.github/workflows/update-docker-images.yml +++ b/.github/workflows/update-docker-images.yml @@ -105,11 +105,6 @@ jobs: image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic/nginx-plus-ingress target_image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic/nginx-plus-ingress platforms: "linux/arm64, linux/amd64" - - tag: ${{ needs.variables.outputs.tag }}-alpine-fips - target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}-alpine-fips" - image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic/nginx-plus-ingress - target_image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic/nginx-plus-ingress - platforms: "linux/arm64, linux/amd64" - tag: ${{ needs.variables.outputs.tag }}-mktpl target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}-mktpl" image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic/nginx-plus-ingress @@ -120,11 +115,6 @@ jobs: image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic/nginx-plus-ingress target_image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic/nginx-plus-ingress platforms: "linux/arm64, linux/amd64" - - tag: ${{ needs.variables.outputs.tag }}-alpine-mktpl-fips - target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}-alpine-mktpl-fips" - image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic/nginx-plus-ingress - target_image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic/nginx-plus-ingress - platforms: "linux/arm64, linux/amd64" - tag: ${{ needs.variables.outputs.tag }}-ubi target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}-ubi" image: gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic/nginx-plus-ingress @@ -170,11 +160,6 @@ jobs: image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap/nginx-plus-ingress" target_image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap/nginx-plus-ingress" platforms: "linux/amd64" - - tag: "${{ needs.variables.outputs.tag }}-alpine-fips" - target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}-alpine-fips" - image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap/nginx-plus-ingress" - target_image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap/nginx-plus-ingress" - platforms: "linux/amd64" - tag: "${{ needs.variables.outputs.tag }}" target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}" image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap-v5/nginx-plus-ingress" @@ -185,11 +170,6 @@ jobs: image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap-v5/nginx-plus-ingress" target_image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap-v5/nginx-plus-ingress" platforms: "linux/amd64" - - tag: "${{ needs.variables.outputs.tag }}-alpine-fips" - target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}-alpine-fips" - image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-nap-v5/nginx-plus-ingress" - target_image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic-nap-v5/nginx-plus-ingress" - platforms: "linux/amd64" - tag: "${{ needs.variables.outputs.tag }}" target_tag: "${{ needs.variables.outputs.tag }}-${{ needs.variables.outputs.date }}" image: "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/release/nginx-ic-dos/nginx-plus-ingress"