Skip to content

Commit

Permalink
Prepare for v5.1.2 (#2176)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Jun 18, 2024
1 parent 8e28fc8 commit 4044829
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/certsuite/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion docs/runtime-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
10 changes: 5 additions & 5 deletions docs/test-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
```

Expand All @@ -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"
```

Expand Down
2 changes: 1 addition & 1 deletion pkg/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit 4044829

Please sign in to comment.