Skip to content

Commit

Permalink
Update to new TM image 0.5.1 (#52)
Browse files Browse the repository at this point in the history
* tm - update to image 0.5.1, removing VIAVI_KPI_START_DELAY_SECONDS variable.

* updated github actions

* updated actions/setup-python

* tm - updated to image v0.5.2

* Updated github workflow
  • Loading branch information
markjrouse authored Apr 9, 2024
1 parent d2cf3b7 commit fb24a6f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 48 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down
4 changes: 2 additions & 2 deletions charts/testmanager/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: testmanager
appVersion: 0.4.42
appVersion: 0.5.1
description: A generated Helm Chart for Soniclabs T&M testmanager
version: 1.0.16
version: 1.0.17
type: application
maintainers:
- name: cdecatapult
Expand Down
71 changes: 35 additions & 36 deletions charts/testmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,52 +4,51 @@

### TestManager Parameters

| Name | Description | Value |
| ------------------------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| `config.replicaCount` | The amount of containers to run | `1` |
| `config.type` | The type of service to create | `LoadBalancer` |
| `config.appPort` | The port to expose the service and application on | `8000` |
| `config.nodePort` | The nodePort to use if the the service type is LoadBalancer or NodePort | `30342` |
| `config.commonAnnotations` | The annotations to set on the Test Manager application | `{}` |
| `config.debug` | Whether or not to enable debug mode for the application | `False` |
| `config.logLevel` | The log level to use for the application | `debug` |
| `config.rtcPort` | The port of the Viavi RTC | `5099` |
| `config.protocolsFilePath` | The location of the Protocols File | `./` |
| `config.viaviPollIntervalSeconds` | The Viavi polling interval in seconds. | `10` |
| `config.viaviKpiStartDelaySeconds` | The Viavi start delay in seconds. | `30` |
| `config.tmaPath` | The path on the "Control Host" to use to execute the TMA. | `C:/Program Files (x86)/VIAVI/TM500/5G NR - NLA 6.21.0/Test Mobile Application/` |
| Name | Description | Value |
| ------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `config.replicaCount` | The amount of containers to run | `1` |
| `config.type` | The type of service to create | `LoadBalancer` |
| `config.appPort` | The port to expose the service and application on | `8000` |
| `config.nodePort` | The nodePort to use if the the service type is LoadBalancer or NodePort | `30342` |
| `config.commonAnnotations` | The annotations to set on the Test Manager application | `{}` |
| `config.debug` | Whether or not to enable debug mode for the application | `False` |
| `config.logLevel` | The log level to use for the application | `debug` |
| `config.rtcPort` | The port of the Viavi RTC | `5099` |
| `config.protocolsFilePath` | The location of the Protocols File | `.` |
| `config.viaviPollIntervalSeconds` | The Viavi polling interval in seconds. | `10` |
| `config.tmaPath` | The path on the "Control Host" to use to execute the TMA. | `C:/Program Files (x86)/VIAVI/TM500/5G NR - NLA 7.3.0/Test Mobile Application/` |
| `config.sshKey` | The SSH key to use for accessing ORAN components | `blahblah
blahblahblah
blahblahblahblah
` |
| `config.pcapStorage.accessMode` | The access mode to use for the PCAP storage PVC | `ReadWriteMany` |
| `config.pcapStorage.path` | The path to use for the PCAP storage PVC | `/mnt/pcaps` |
| `config.pcapStorage.size` | The size to use for the PCAP storage PVC | `10Gi` |
| `config.pcapStorage.storageClassName` | The storage class to use for the PCAP storage PVC | `azurefile` |
| `config.gui.host` | The hostname of the GUI service | `portal` |
| `config.gui.port` | The port of the GUI service | `8000` |
| `config.sma.host` | The hostname of the Suite Manager service | `suitemanager` |
| `config.sma.port` | The port of the Suite Manager service | `8000` |
| `config.cma.host` | The hostname of the Config Manager service | `configmanager` |
| `config.cma.port` | The port of the Config Manager service | `8000` |
| `config.rma.host` | The hostname of the Results Manager service | `resultsmanager` |
| `config.rma.port` | The port of the Results Manager service | `8000` |
| `config.apg.host` | The hostname of the API Gateway service | `apigateway` |
| `config.apg.port` | The port of the API Gateway service | `8000` |
| `config.dma.host` | The hostname of the Deploy Manager service | `deploymanager` |
| `config.dma.port` | The port of the Deploy Manager service | `8000` |
| `config.controlHost` | The hostname for the the Control TMA Host | `example` |
| `config.controlShare` | The name of the Samba Sharename on the Control TMA Host | `Public` |
| `config.controlUsername` | The username to use for the Control TMA Host | `username` |
| `config.controlPassword` | The password to use for the Control TMA Host | `password` |
` |
| `config.pcapStorage.accessMode` | The access mode to use for the PCAP storage PVC | `ReadWriteMany` |
| `config.pcapStorage.path` | The path to use for the PCAP storage PVC | `/mnt/pcaps` |
| `config.pcapStorage.size` | The size to use for the PCAP storage PVC | `10Gi` |
| `config.pcapStorage.storageClassName` | The storage class to use for the PCAP storage PVC | `azurefile` |
| `config.gui.host` | The hostname of the GUI service | `portal` |
| `config.gui.port` | The port of the GUI service | `8000` |
| `config.sma.host` | The hostname of the Suite Manager service | `suitemanager` |
| `config.sma.port` | The port of the Suite Manager service | `8000` |
| `config.cma.host` | The hostname of the Config Manager service | `configmanager` |
| `config.cma.port` | The port of the Config Manager service | `8000` |
| `config.rma.host` | The hostname of the Results Manager service | `resultsmanager` |
| `config.rma.port` | The port of the Results Manager service | `8000` |
| `config.apg.host` | The hostname of the API Gateway service | `apigateway` |
| `config.apg.port` | The port of the API Gateway service | `8000` |
| `config.dma.host` | The hostname of the Deploy Manager service | `deploymanager` |
| `config.dma.port` | The port of the Deploy Manager service | `8000` |
| `config.controlHost` | The hostname for the the Control TMA Host | `example` |
| `config.controlShare` | The name of the Samba Sharename on the Control TMA Host | `Public` |
| `config.controlUsername` | The username to use for the Control TMA Host | `username` |
| `config.controlPassword` | The password to use for the Control TMA Host | `password` |

### TestManager Image Parameters

| Name | Description | Value |
| ------------------- | -------------------------------------------------- | ---------------------------------------------- |
| `image.repository` | The repository to use for the Test Manager image | `ghcr.io/cdecatapult/soniclabs-testmanager-ts` |
| `image.pullPolicy` | The pull policy to use for the Test Manager image | `Always` |
| `image.tag` | The tag to use for the Test Manager image | `v0.4.42` |
| `image.tag` | The tag to use for the Test Manager image | `v0.5.2` |
| `image.pullSecrets` | The pull secrets to use for the Test Manager image | `["soniclabs"]` |

### TestManager Ingress parameters
Expand Down
2 changes: 0 additions & 2 deletions charts/testmanager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ spec:
value: {{ .Values.config.protocolsFilePath | quote }}
- name: VIAVI_POLL_INTERVAL_SECONDS
value: {{ .Values.config.viaviPollIntervalSeconds | quote }}
- name: VIAVI_KPI_START_DELAY_SECONDS
value: {{ .Values.config.viaviKpiStartDelaySeconds | quote }}
- name: DB_USERNAME
valueFrom:
secretKeyRef:
Expand Down
8 changes: 3 additions & 5 deletions charts/testmanager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ config:
## @param config.rtcPort The port of the Viavi RTC
rtcPort: 5099
## @param config.protocolsFilePath The location of the Protocols File
protocolsFilePath: ./
protocolsFilePath: .
## @param config.viaviPollIntervalSeconds The Viavi polling interval in seconds.
viaviPollIntervalSeconds: 10
## @param config.viaviKpiStartDelaySeconds The Viavi start delay in seconds.
viaviKpiStartDelaySeconds: 30
## @param config.tmaPath The path on the "Control Host" to use to execute the TMA.
tmaPath: 'C:/Program Files (x86)/VIAVI/TM500/5G NR - NLA 6.21.0/Test Mobile Application/'
tmaPath: 'C:/Program Files (x86)/VIAVI/TM500/5G NR - NLA 7.3.0/Test Mobile Application/'
## @param config.sshKey The SSH key to use for accessing ORAN components
sshKey: |
blahblah
Expand Down Expand Up @@ -85,7 +83,7 @@ image:
## @param image.pullPolicy The pull policy to use for the Test Manager image
pullPolicy: Always
## @param image.tag The tag to use for the Test Manager image
tag: v0.4.42
tag: v0.5.2
## @param image.pullSecrets The pull secrets to use for the Test Manager image
pullSecrets: ['soniclabs']

Expand Down

0 comments on commit fb24a6f

Please sign in to comment.