From 40448298706a5a56cc2185c688a439aa604f7374 Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Tue, 18 Jun 2024 10:27:14 -0500 Subject: [PATCH] Prepare for v5.1.2 (#2176) --- cmd/certsuite/run/run.go | 2 +- docs/runtime-env.md | 2 +- docs/test-container.md | 10 +++++----- pkg/configuration/configuration.go | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/certsuite/run/run.go b/cmd/certsuite/run/run.go index 3479aa9c6..d4f1ba6f5 100644 --- a/cmd/certsuite/run/run.go +++ b/cmd/certsuite/run/run.go @@ -38,7 +38,7 @@ func NewCommand() *cobra.Command { runCmd.PersistentFlags().Bool("enable-data-collection", false, "Allow sending test results to an external data collector") runCmd.PersistentFlags().Bool("create-xml-junit-file", false, "Create a JUnit file with the test results") runCmd.PersistentFlags().String("tnf-image-repository", "quay.io/testnetworkfunction", "The repository where TNF images are stored") - runCmd.PersistentFlags().String("tnf-debug-image", "debug-partner:5.1.1", "Name of the TNF debug image") + runCmd.PersistentFlags().String("tnf-debug-image", "debug-partner:5.1.2", "Name of the TNF debug image") return runCmd } diff --git a/docs/runtime-env.md b/docs/runtime-env.md index f4ef6e74f..03b58da5a 100644 --- a/docs/runtime-env.md +++ b/docs/runtime-env.md @@ -75,4 +75,4 @@ export TNF_PARTNER_REPO=registry.dfwt5g.lab:5000/testnetworkfunction ``` Note that you can also specify the debug pod image to use with `SUPPORT_IMAGE` -environment variable, default to `debug-partner:5.1.1`. +environment variable, default to `debug-partner:5.1.2`. diff --git a/docs/test-container.md b/docs/test-container.md index 6ac2e4acc..f452f1a1c 100644 --- a/docs/test-container.md +++ b/docs/test-container.md @@ -112,8 +112,8 @@ Two env vars allow to control the web artifacts and the the new tar.gz file gene ### Build locally ```shell -podman build -t cnf-certification-test:v5.1.1 \ - --build-arg TNF_VERSION=v5.1.1 \ +podman build -t cnf-certification-test:v5.1.2 \ + --build-arg TNF_VERSION=v5.1.2 \ ``` * `TNF_VERSION` value is set to a branch, a tag, or a hash of a commit that will be installed into the image @@ -125,8 +125,8 @@ The unofficial source could be a fork of the TNF repository. Use the `TNF_SRC_URL` build argument to override the URL to a source repository. ```shell -podman build -t cnf-certification-test:v5.1.1 \ - --build-arg TNF_VERSION=v5.1.1 \ +podman build -t cnf-certification-test:v5.1.2 \ + --build-arg TNF_VERSION=v5.1.2 \ --build-arg TNF_SRC_URL=https://github.com/test-network-function/cnf-certification-test . ``` @@ -135,7 +135,7 @@ podman build -t cnf-certification-test:v5.1.1 \ Specify the custom TNF image using the `-i` parameter. ```shell -./run-tnf-container.sh -i cnf-certification-test:v5.1.1 +./run-tnf-container.sh -i cnf-certification-test:v5.1.2 -t ~/tnf/config -o ~/tnf/output -l "networking,access-control" ``` diff --git a/pkg/configuration/configuration.go b/pkg/configuration/configuration.go index ab4fe8b03..2c6174262 100644 --- a/pkg/configuration/configuration.go +++ b/pkg/configuration/configuration.go @@ -110,5 +110,5 @@ type TestParameters struct { DaemonsetMemReq string `default:"100M" split_words:"true"` DaemonsetMemLim string `default:"100M" split_words:"true"` TnfPartnerRepo string `split_words:"true" default:"quay.io/testnetworkfunction"` - SupportImage string `split_words:"true" default:"debug-partner:5.1.1"` + SupportImage string `split_words:"true" default:"debug-partner:5.1.2"` }