Skip to content

Commit

Permalink
Prepare for v5.0.4 (#1906)
Browse files Browse the repository at this point in the history
Co-authored-by: David Rabkin <david@rabkin.co.il>
  • Loading branch information
sebrandon1 and rdavid committed Mar 8, 2024
1 parent f10e4ab commit 11ca867
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/runtime-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,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.0.3`.
environment variable, default to `debug-partner:5.0.4`.
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.0.3 \
--build-arg TNF_VERSION=v5.0.3 \
podman build -t cnf-certification-test:v5.0.4 \
--build-arg TNF_VERSION=v5.0.4 \
```

* `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.0.3 \
--build-arg TNF_VERSION=v5.0.3 \
podman build -t cnf-certification-test:v5.0.4 \
--build-arg TNF_VERSION=v5.0.4 \
--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.0.3 \
Specify the custom TNF image using the `-i` parameter.

```shell
./run-tnf-container.sh -i cnf-certification-test:v5.0.3
./run-tnf-container.sh -i cnf-certification-test:v5.0.4
-t ~/tnf/config -o ~/tnf/output -l "networking,access-control"
```

Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const (
cscosName = "CentOS Stream CoreOS"
rhelName = "Red Hat Enterprise Linux"
tnfPartnerRepoDef = "quay.io/testnetworkfunction"
supportImageDef = "debug-partner:5.0.3"
supportImageDef = "debug-partner:5.0.4"
)

// Node's roles labels. Node is role R if it has **any** of the labels of each list.
Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ func TestBuildImageWithVersion(t *testing.T) {
{
repoVar: "",
supportImageVar: "",
expectedOutput: "quay.io/testnetworkfunction/debug-partner:5.0.3",
expectedOutput: "quay.io/testnetworkfunction/debug-partner:5.0.4",
},
}

Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"partner_tag": "v5.0.3",
"partner_tag": "v5.0.4",
"claimFormat": "v0.4.0",
"parserTag": "v0.4.4"
}

0 comments on commit 11ca867

Please sign in to comment.