diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ccba90f61..b607056aa4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2063,6 +2063,7 @@ foreach(myExe dlsim dlsim_tm7 ulsim pbchsim scansim mbmssim pdcchsim pucchsim pr pthread m rt CONFIG_LIB ${T_LIB} dl shlib_loader ) target_link_libraries(${myExe} PRIVATE asn1_lte_rrc_hdrs) + add_dependencies(${myExe} coding) endforeach(myExe) @@ -2115,12 +2116,18 @@ include(${OPENAIR1_DIR}/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/CMakeLists.txt) set(ENABLE_TESTS OFF CACHE STRING "Activate build of tests") set_property(CACHE ENABLE_TESTS PROPERTY TYPE BOOL) -if(ENABLE_TESTS) - # activates globally adding tests such that they can be run using ctest - enable_testing() +set(ENABLE_PHYSIM_TESTS OFF CACHE STRING "Activate build of physim tests") +set_property(CACHE ENABLE_PHYSIM_TESTS PROPERTY TYPE BOOL) + +if(ENABLE_TESTS OR ENABLE_PHYSIM_TESTS) # meta-target: each test is supposed to add_dependencies(tests ${NEWTEST}) # then, it is possible to build and execute all tests using "ninja tests && ctest" add_custom_target(tests) + # activates globally adding tests such that they can be run using ctest + enable_testing() +endif() + +if(ENABLE_TESTS) find_package(GTest) if (NOT GTest_FOUND) message(STATUS "GTest package not found, will download googletest automatically. To prevent that install google test on your system (libgtest-dev)") diff --git a/charts/physims/Chart.yaml b/charts/physims-4g/Chart.yaml similarity index 100% rename from charts/physims/Chart.yaml rename to charts/physims-4g/Chart.yaml diff --git a/charts/physims/charts/ulsim/Chart.yaml b/charts/physims-4g/charts/physims.4g/Chart.yaml similarity index 93% rename from charts/physims/charts/ulsim/Chart.yaml rename to charts/physims-4g/charts/physims.4g/Chart.yaml index 2311d729b4..bd10179fc5 100644 --- a/charts/physims/charts/ulsim/Chart.yaml +++ b/charts/physims-4g/charts/physims.4g/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 -name: oai-ulsim -description: A Helm subchart for ulsim network function +name: oai-physims-4g +description: A Helm subchart for 4G physims network function # A chart can be either an 'application' or a 'library' chart. # @@ -24,7 +24,6 @@ appVersion: v1 keywords: - Physical Simulator - - ulsim - RAN - 4G diff --git a/charts/physims/charts/polartest/templates/_helpers.tpl b/charts/physims-4g/charts/physims.4g/templates/_helpers.tpl similarity index 73% rename from charts/physims/charts/polartest/templates/_helpers.tpl rename to charts/physims-4g/charts/physims.4g/templates/_helpers.tpl index ce81dbe525..2f6253d744 100644 --- a/charts/physims/charts/polartest/templates/_helpers.tpl +++ b/charts/physims-4g/charts/physims.4g/templates/_helpers.tpl @@ -2,7 +2,7 @@ {{/* Expand the name of the chart. */}} -{{- define "oai-polartest.name" -}} +{{- define "oai-physims-4g.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} @@ -11,7 +11,7 @@ Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} -{{- define "oai-polartest.fullname" -}} +{{- define "oai-physims-4g.fullname" -}} {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} {{- else -}} @@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name. {{/* Create chart name and version as used by the chart label. */}} -{{- define "oai-polartest.chart" -}} +{{- define "oai-physims-4g.chart" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Common labels */}} -{{- define "oai-polartest.labels" -}} -helm.sh/chart: {{ include "oai-polartest.chart" . }} -{{ include "oai-polartest.selectorLabels" . }} +{{- define "oai-physims-4g.labels" -}} +helm.sh/chart: {{ include "oai-physims-4g.chart" . }} +{{ include "oai-physims-4g.selectorLabels" . }} {{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} @@ -46,17 +46,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{/* Selector labels */}} -{{- define "oai-polartest.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-polartest.name" . }} +{{- define "oai-physims-4g.selectorLabels" -}} +app.kubernetes.io/name: {{ include "oai-physims-4g.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- end -}} {{/* Create the name of the service account to use */}} -{{- define "oai-polartest.serviceAccountName" -}} +{{- define "oai-physims-4g.serviceAccountName" -}} {{- if .Values.serviceAccount.create -}} - {{ default (include "oai-polartest.fullname" .) .Values.serviceAccount.name }} + {{ default (include "oai-physims-4g.fullname" .) .Values.serviceAccount.name }} {{- else -}} {{ default "default" .Values.serviceAccount.name }} {{- end -}} diff --git a/charts/physims/charts/nr-dlsim.basic/templates/job.yaml b/charts/physims-4g/charts/physims.4g/templates/job.yaml similarity index 81% rename from charts/physims/charts/nr-dlsim.basic/templates/job.yaml rename to charts/physims-4g/charts/physims.4g/templates/job.yaml index cbe1a9cbbc..03bf54a9ee 100644 --- a/charts/physims/charts/nr-dlsim.basic/templates/job.yaml +++ b/charts/physims-4g/charts/physims.4g/templates/job.yaml @@ -31,8 +31,9 @@ spec: command: ["/bin/sh", "-c"] args: - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.basic" -d bin/ && - echo "FINISHED" && sleep infinity + ctest -R 4g --show-only=json-v1 >> physims-4g-tests.json && + ctest -R 4g -j$(nproc) --output-junit physims-4g-run.xml --test-output-size-passed 100000 --test-output-size-failed 100000 ; + echo "FINISHED" && sleep 15 dnsPolicy: ClusterFirst restartPolicy: Never schedulerName: default-scheduler @@ -43,5 +44,5 @@ spec: {{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- end }} {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrdlsimbasic }} + nodeName: {{ .Values.global.nodeName.physims5g }} {{- end }} diff --git a/charts/physims/charts/ulsim/values.yaml b/charts/physims-4g/charts/physims.4g/values.yaml similarity index 94% rename from charts/physims/charts/ulsim/values.yaml rename to charts/physims-4g/charts/physims.4g/values.yaml index 94038fa6df..52b751afd6 100644 --- a/charts/physims/charts/ulsim/values.yaml +++ b/charts/physims-4g/charts/physims.4g/values.yaml @@ -1,4 +1,4 @@ -# Default values for oai-ulsim. +# Default values for oai-physims-4g # This is a YAML-formatted file. # Declare variables to be passed into your templates. @@ -20,7 +20,7 @@ serviceAccount: annotations: {} # The name of the service account to use. # If not set and create is true, a name is generated using the fullname template - name: "oai-ulsim-sa" + name: "oai-physims-4g" podSecurityContext: runAsUser: 0 diff --git a/charts/physims/templates/rbac.yaml b/charts/physims-4g/templates/rbac.yaml similarity index 100% rename from charts/physims/templates/rbac.yaml rename to charts/physims-4g/templates/rbac.yaml diff --git a/charts/physims/templates/serviceaccount.yaml b/charts/physims-4g/templates/serviceaccount.yaml similarity index 100% rename from charts/physims/templates/serviceaccount.yaml rename to charts/physims-4g/templates/serviceaccount.yaml diff --git a/charts/physims/values.yaml b/charts/physims-4g/values.yaml similarity index 94% rename from charts/physims/values.yaml rename to charts/physims-4g/values.yaml index 60a685179c..ce9ff32c90 100644 --- a/charts/physims/values.yaml +++ b/charts/physims-4g/values.yaml @@ -6,7 +6,7 @@ global: namespace: "OAICICD_PROJECT" image: registry: local - repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran/oai-physim + repository: image-registry.openshift-image-registry.svc:5000/oaicicd-core-for-ci-ran/oai-physim version: TAG # pullPolicy: IfNotPresent or Never or Always pullPolicy: Always diff --git a/charts/physims/charts/polartest/Chart.yaml b/charts/physims-5g/Chart.yaml similarity index 89% rename from charts/physims/charts/polartest/Chart.yaml rename to charts/physims-5g/Chart.yaml index ae5f5ca263..0a6abe4caa 100644 --- a/charts/physims/charts/polartest/Chart.yaml +++ b/charts/physims-5g/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 -name: oai-polartest -description: A Helm subchart for polartest network function +name: oai-physim +description: A Helm chart for physical simulators network function # A chart can be either an 'application' or a 'library' chart. # @@ -16,17 +16,17 @@ icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_fin # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.1.1 +version: 1.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: v1 keywords: - - Physical Simulator - - polartest + - Physical Simulators - RAN - 4G + - 5G sources: - https://gitlab.eurecom.fr/oai/openairinterface5g diff --git a/charts/physims/charts/ldpctest/Chart.yaml b/charts/physims-5g/charts/physims.5g/Chart.yaml similarity index 92% rename from charts/physims/charts/ldpctest/Chart.yaml rename to charts/physims-5g/charts/physims.5g/Chart.yaml index 667bd3d8aa..4da4ad2faa 100644 --- a/charts/physims/charts/ldpctest/Chart.yaml +++ b/charts/physims-5g/charts/physims.5g/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 -name: oai-ldpctest -description: A Helm subchart for ldpctest network function +name: oai-physims-5g +description: A Helm subchart for 5G physims network function # A chart can be either an 'application' or a 'library' chart. # @@ -24,7 +24,6 @@ appVersion: v1 keywords: - Physical Simulator - - ldpctest - RAN - 5G diff --git a/charts/physims/charts/ulsim/templates/_helpers.tpl b/charts/physims-5g/charts/physims.5g/templates/_helpers.tpl similarity index 73% rename from charts/physims/charts/ulsim/templates/_helpers.tpl rename to charts/physims-5g/charts/physims.5g/templates/_helpers.tpl index 67b6500479..f18b616e58 100644 --- a/charts/physims/charts/ulsim/templates/_helpers.tpl +++ b/charts/physims-5g/charts/physims.5g/templates/_helpers.tpl @@ -2,7 +2,7 @@ {{/* Expand the name of the chart. */}} -{{- define "oai-ulsim.name" -}} +{{- define "oai-physims-5g.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} @@ -11,7 +11,7 @@ Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} -{{- define "oai-ulsim.fullname" -}} +{{- define "oai-physims-5g.fullname" -}} {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} {{- else -}} @@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name. {{/* Create chart name and version as used by the chart label. */}} -{{- define "oai-ulsim.chart" -}} +{{- define "oai-physims-5g.chart" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Common labels */}} -{{- define "oai-ulsim.labels" -}} -helm.sh/chart: {{ include "oai-ulsim.chart" . }} -{{ include "oai-ulsim.selectorLabels" . }} +{{- define "oai-physims-5g.labels" -}} +helm.sh/chart: {{ include "oai-physims-5g.chart" . }} +{{ include "oai-physims-5g.selectorLabels" . }} {{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} @@ -46,17 +46,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{/* Selector labels */}} -{{- define "oai-ulsim.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-ulsim.name" . }} +{{- define "oai-physims-5g.selectorLabels" -}} +app.kubernetes.io/name: {{ include "oai-physims-5g.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- end -}} {{/* Create the name of the service account to use */}} -{{- define "oai-ulsim.serviceAccountName" -}} +{{- define "oai-physims-5g.serviceAccountName" -}} {{- if .Values.serviceAccount.create -}} - {{ default (include "oai-ulsim.fullname" .) .Values.serviceAccount.name }} + {{ default (include "oai-physims-5g.fullname" .) .Values.serviceAccount.name }} {{- else -}} {{ default "default" .Values.serviceAccount.name }} {{- end -}} diff --git a/charts/physims/charts/ldpctest/templates/job.yaml b/charts/physims-5g/charts/physims.5g/templates/job.yaml similarity index 81% rename from charts/physims/charts/ldpctest/templates/job.yaml rename to charts/physims-5g/charts/physims.5g/templates/job.yaml index 4386d12a3e..7becb17f17 100644 --- a/charts/physims/charts/ldpctest/templates/job.yaml +++ b/charts/physims-5g/charts/physims.5g/templates/job.yaml @@ -31,8 +31,9 @@ spec: command: ["/bin/sh", "-c"] args: - > - cmake_targets/autotests/run_exec_autotests.bash -g "ldpctest" -d bin/ && - echo "FINISHED" && sleep infinity + ctest -R 5g --show-only=json-v1 >> physims-5g-tests.json && + ctest -R 5g -j$(nproc) --output-junit physims-5g-run.xml --test-output-size-passed 100000 --test-output-size-failed 100000 ; + echo "FINISHED" && sleep 20 dnsPolicy: ClusterFirst restartPolicy: Never schedulerName: default-scheduler @@ -43,5 +44,5 @@ spec: {{- toYaml .Values.global.nodeSelector | nindent 12 }} {{- end }} {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.ldpctest }} + nodeName: {{ .Values.global.nodeName.physims5g }} {{- end }} diff --git a/charts/physims/charts/ldpctest/values.yaml b/charts/physims-5g/charts/physims.5g/values.yaml similarity index 94% rename from charts/physims/charts/ldpctest/values.yaml rename to charts/physims-5g/charts/physims.5g/values.yaml index 0ff1153a2c..eb97064ebf 100644 --- a/charts/physims/charts/ldpctest/values.yaml +++ b/charts/physims-5g/charts/physims.5g/values.yaml @@ -1,4 +1,4 @@ -# Default values for oai-ldpctest. +# Default values for oai-physims-5g # This is a YAML-formatted file. # Declare variables to be passed into your templates. @@ -20,7 +20,7 @@ serviceAccount: annotations: {} # The name of the service account to use. # If not set and create is true, a name is generated using the fullname template - name: "oai-ldpctest-sa" + name: "oai-physims-5g" podSecurityContext: runAsUser: 0 diff --git a/charts/physims-5g/templates/rbac.yaml b/charts/physims-5g/templates/rbac.yaml new file mode 100644 index 0000000000..989988baca --- /dev/null +++ b/charts/physims-5g/templates/rbac.yaml @@ -0,0 +1,26 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ .Chart.Name }}-{{ .Release.Namespace }}-role +rules: +- apiGroups: + - security.openshift.io + resourceNames: + - anyuid + resources: + - securitycontextconstraints + verbs: + - use +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ .Chart.Name }}-{{ .Release.Namespace }}-binding +subjects: +- kind: ServiceAccount + name: {{ .Values.global.serviceAccountName }} + namespace: {{ .Release.Namespace }} +roleRef: + kind: Role + name: {{ .Chart.Name }}-{{ .Release.Namespace }}-role + apiGroup: rbac.authorization.k8s.io diff --git a/charts/physims-5g/templates/serviceaccount.yaml b/charts/physims-5g/templates/serviceaccount.yaml new file mode 100644 index 0000000000..0810702f4f --- /dev/null +++ b/charts/physims-5g/templates/serviceaccount.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: oai-physim-sa #{{ .Values.global.serviceAccountName }} diff --git a/charts/physims-5g/values.yaml b/charts/physims-5g/values.yaml new file mode 100644 index 0000000000..ce9ff32c90 --- /dev/null +++ b/charts/physims-5g/values.yaml @@ -0,0 +1,21 @@ +# Default values for oai-physim. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. +global: + serviceAccountName: oai-physim-sa + namespace: "OAICICD_PROJECT" + image: + registry: local + repository: image-registry.openshift-image-registry.svc:5000/oaicicd-core-for-ci-ran/oai-physim + version: TAG + # pullPolicy: IfNotPresent or Never or Always + pullPolicy: Always + # removing the node selector + # will place on two nodes intel 3rd gen and 5th gen with RT kernel + nodeSelector: + type: ran + nodeName: '' + resources: + define: false + requests: + cpu: 1.5 diff --git a/charts/physims/charts/dlsim.100rb+tm2/Chart.yaml b/charts/physims/charts/dlsim.100rb+tm2/Chart.yaml deleted file mode 100644 index 4d7cea8e23..0000000000 --- a/charts/physims/charts/dlsim.100rb+tm2/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-dlsim-100rb-tm2 -description: A Helm subchart for dlsim network function ("100rb+tm2" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - dlsim - - RAN - - 4G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/dlsim.100rb+tm2/templates/_helpers.tpl b/charts/physims/charts/dlsim.100rb+tm2/templates/_helpers.tpl deleted file mode 100644 index ee2418aee1..0000000000 --- a/charts/physims/charts/dlsim.100rb+tm2/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-dlsim-100rb-tm2.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-dlsim-100rb-tm2.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-dlsim-100rb-tm2.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-dlsim-100rb-tm2.labels" -}} -helm.sh/chart: {{ include "oai-dlsim-100rb-tm2.chart" . }} -{{ include "oai-dlsim-100rb-tm2.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-dlsim-100rb-tm2.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-dlsim-100rb-tm2.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-dlsim-100rb-tm2.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-dlsim-100rb-tm2.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/dlsim.100rb+tm2/templates/job.yaml b/charts/physims/charts/dlsim.100rb+tm2/templates/job.yaml deleted file mode 100644 index 4fbac5304d..0000000000 --- a/charts/physims/charts/dlsim.100rb+tm2/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "dlsim.100rb+tm2" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.dlsim100rbtm2 }} - {{- end }} diff --git a/charts/physims/charts/dlsim.100rb+tm2/values.yaml b/charts/physims/charts/dlsim.100rb+tm2/values.yaml deleted file mode 100644 index aae621bd84..0000000000 --- a/charts/physims/charts/dlsim.100rb+tm2/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-dlsim-100rb+tm2 -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-dlsim-100rb-tm2" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/dlsim.basic/Chart.yaml b/charts/physims/charts/dlsim.basic/Chart.yaml deleted file mode 100644 index 8fadf3e6b2..0000000000 --- a/charts/physims/charts/dlsim.basic/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-dlsim-basic -description: A Helm subchart for dlsim network function ("basic" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - dlsim - - RAN - - 4G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/dlsim.basic/templates/_helpers.tpl b/charts/physims/charts/dlsim.basic/templates/_helpers.tpl deleted file mode 100644 index d6dac8be45..0000000000 --- a/charts/physims/charts/dlsim.basic/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-dlsim-basic.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-dlsim-basic.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-dlsim-basic.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-dlsim-basic.labels" -}} -helm.sh/chart: {{ include "oai-dlsim-basic.chart" . }} -{{ include "oai-dlsim-basic.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-dlsim-basic.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-dlsim-basic.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-dlsim-basic.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-dlsim-basic.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/dlsim.basic/templates/job.yaml b/charts/physims/charts/dlsim.basic/templates/job.yaml deleted file mode 100644 index fac60059f2..0000000000 --- a/charts/physims/charts/dlsim.basic/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "dlsim.basic" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.dlsimbasic }} - {{- end }} diff --git a/charts/physims/charts/dlsim.basic/values.yaml b/charts/physims/charts/dlsim.basic/values.yaml deleted file mode 100644 index ae197e12ea..0000000000 --- a/charts/physims/charts/dlsim.basic/values.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# Default values for oai-dlsim-basic -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-dlsim-basic" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: - limits: - cpu: 100m - memory: 128Mi - requests: - cpu: 100m - memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/ldpctest/templates/_helpers.tpl b/charts/physims/charts/ldpctest/templates/_helpers.tpl deleted file mode 100644 index 018eaa5af5..0000000000 --- a/charts/physims/charts/ldpctest/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-ldpctest.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-ldpctest.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-ldpctest.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-ldpctest.labels" -}} -helm.sh/chart: {{ include "oai-ldpctest.chart" . }} -{{ include "oai-ldpctest.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-ldpctest.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-ldpctest.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-ldpctest.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-ldpctest.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-dlschsim/Chart.yaml b/charts/physims/charts/nr-dlschsim/Chart.yaml deleted file mode 100644 index 3837f0cd2b..0000000000 --- a/charts/physims/charts/nr-dlschsim/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-dlschsim -description: A Helm subchart for nr-dlschsim network function - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-dlschsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-dlschsim/templates/_helpers.tpl b/charts/physims/charts/nr-dlschsim/templates/_helpers.tpl deleted file mode 100644 index 6b6a5181e9..0000000000 --- a/charts/physims/charts/nr-dlschsim/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-dlschsim.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-dlschsim.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-dlschsim.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-dlschsim.labels" -}} -helm.sh/chart: {{ include "oai-nr-dlschsim.chart" . }} -{{ include "oai-nr-dlschsim.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-dlschsim.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-dlschsim.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-dlschsim.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-dlschsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-dlschsim/templates/job.yaml b/charts/physims/charts/nr-dlschsim/templates/job.yaml deleted file mode 100644 index 6d1a798cb8..0000000000 --- a/charts/physims/charts/nr-dlschsim/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlschsim" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrdlschsim }} - {{- end }} diff --git a/charts/physims/charts/nr-dlschsim/values.yaml b/charts/physims/charts/nr-dlschsim/values.yaml deleted file mode 100644 index a75437a0d6..0000000000 --- a/charts/physims/charts/nr-dlschsim/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-dlschsim. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-dlschsim-sa" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-dlsim.basic/Chart.yaml b/charts/physims/charts/nr-dlsim.basic/Chart.yaml deleted file mode 100644 index b2a090a4b2..0000000000 --- a/charts/physims/charts/nr-dlsim.basic/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-dlsim-basic -description: A Helm subchart for nr-dlsim network function ("basic" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-dlsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-dlsim.basic/templates/_helpers.tpl b/charts/physims/charts/nr-dlsim.basic/templates/_helpers.tpl deleted file mode 100644 index 733a367061..0000000000 --- a/charts/physims/charts/nr-dlsim.basic/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-dlsim-basic.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-dlsim-basic.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-dlsim-basic.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-dlsim-basic.labels" -}} -helm.sh/chart: {{ include "oai-nr-dlsim-basic.chart" . }} -{{ include "oai-nr-dlsim-basic.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-dlsim-basic.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-dlsim-basic.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-dlsim-basic.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-dlsim-basic.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-dlsim.basic/values.yaml b/charts/physims/charts/nr-dlsim.basic/values.yaml deleted file mode 100644 index 88e5a2caaa..0000000000 --- a/charts/physims/charts/nr-dlsim.basic/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-dlsim-basic -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-dlsim-basic" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-dlsim.dmrs+ptrs/Chart.yaml b/charts/physims/charts/nr-dlsim.dmrs+ptrs/Chart.yaml deleted file mode 100644 index c5f51341c4..0000000000 --- a/charts/physims/charts/nr-dlsim.dmrs+ptrs/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-dlsim-dmrs-ptrs -description: A Helm subchart for nr-dlsim network function ("dmrs+ptrs" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-dlsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-dlsim.dmrs+ptrs/templates/_helpers.tpl b/charts/physims/charts/nr-dlsim.dmrs+ptrs/templates/_helpers.tpl deleted file mode 100644 index 85bf9e860c..0000000000 --- a/charts/physims/charts/nr-dlsim.dmrs+ptrs/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-dlsim-dmrs-ptrs.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-dlsim-dmrs-ptrs.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-dlsim-dmrs-ptrs.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-dlsim-dmrs-ptrs.labels" -}} -helm.sh/chart: {{ include "oai-nr-dlsim-dmrs-ptrs.chart" . }} -{{ include "oai-nr-dlsim-dmrs-ptrs.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-dlsim-dmrs-ptrs.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-dlsim-dmrs-ptrs.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-dlsim-dmrs-ptrs.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-dlsim-dmrs-ptrs.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-dlsim.dmrs+ptrs/templates/job.yaml b/charts/physims/charts/nr-dlsim.dmrs+ptrs/templates/job.yaml deleted file mode 100644 index 77f8dd061d..0000000000 --- a/charts/physims/charts/nr-dlsim.dmrs+ptrs/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.dmrs+ptrs" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrdlsimdmrsptrs }} - {{- end }} diff --git a/charts/physims/charts/nr-dlsim.dmrs+ptrs/values.yaml b/charts/physims/charts/nr-dlsim.dmrs+ptrs/values.yaml deleted file mode 100644 index 357e6c2861..0000000000 --- a/charts/physims/charts/nr-dlsim.dmrs+ptrs/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-dlsim-dmrs+ptrs -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-dlsim-dmrs-ptrs" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-dlsim.mcs+mimo/Chart.yaml b/charts/physims/charts/nr-dlsim.mcs+mimo/Chart.yaml deleted file mode 100644 index 55ea194f07..0000000000 --- a/charts/physims/charts/nr-dlsim.mcs+mimo/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-dlsim-mcs-mimo -description: A Helm subchart for nr-dlsim network function ("mcs+mimo" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-dlsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-dlsim.mcs+mimo/templates/_helpers.tpl b/charts/physims/charts/nr-dlsim.mcs+mimo/templates/_helpers.tpl deleted file mode 100644 index 246383d370..0000000000 --- a/charts/physims/charts/nr-dlsim.mcs+mimo/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-dlsim-mcs-mimo.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-dlsim-mcs-mimo.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-dlsim-mcs-mimo.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-dlsim-mcs-mimo.labels" -}} -helm.sh/chart: {{ include "oai-nr-dlsim-mcs-mimo.chart" . }} -{{ include "oai-nr-dlsim-mcs-mimo.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-dlsim-mcs-mimo.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-dlsim-mcs-mimo.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-dlsim-mcs-mimo.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-dlsim-mcs-mimo.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-dlsim.mcs+mimo/templates/job.yaml b/charts/physims/charts/nr-dlsim.mcs+mimo/templates/job.yaml deleted file mode 100644 index 4625667c2b..0000000000 --- a/charts/physims/charts/nr-dlsim.mcs+mimo/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.mcs+mimo" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrdlsimmcsmimo }} - {{- end }} diff --git a/charts/physims/charts/nr-dlsim.mcs+mimo/values.yaml b/charts/physims/charts/nr-dlsim.mcs+mimo/values.yaml deleted file mode 100644 index 5ef75a1672..0000000000 --- a/charts/physims/charts/nr-dlsim.mcs+mimo/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-dlsim-mcs-mimo -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-dlsim-mcs-mimo" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-dlsim.offset/Chart.yaml b/charts/physims/charts/nr-dlsim.offset/Chart.yaml deleted file mode 100644 index e4fa9a4100..0000000000 --- a/charts/physims/charts/nr-dlsim.offset/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-dlsim-offset -description: A Helm subchart for nr-dlsim network function ("offset" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-dlsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-dlsim.offset/templates/_helpers.tpl b/charts/physims/charts/nr-dlsim.offset/templates/_helpers.tpl deleted file mode 100644 index 74417c21d9..0000000000 --- a/charts/physims/charts/nr-dlsim.offset/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-dlsim-offset.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-dlsim-offset.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-dlsim-offset.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-dlsim-offset.labels" -}} -helm.sh/chart: {{ include "oai-nr-dlsim-offset.chart" . }} -{{ include "oai-nr-dlsim-offset.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-dlsim-offset.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-dlsim-offset.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-dlsim-offset.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-dlsim-offset.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-dlsim.offset/templates/job.yaml b/charts/physims/charts/nr-dlsim.offset/templates/job.yaml deleted file mode 100644 index dabe3749e6..0000000000 --- a/charts/physims/charts/nr-dlsim.offset/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_dlsim.offset" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrdlsimoffset }} - {{- end }} diff --git a/charts/physims/charts/nr-dlsim.offset/values.yaml b/charts/physims/charts/nr-dlsim.offset/values.yaml deleted file mode 100644 index efef89ce4a..0000000000 --- a/charts/physims/charts/nr-dlsim.offset/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-dlsim-offset -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-dlsim-offset" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-pbchsim.106rb/Chart.yaml b/charts/physims/charts/nr-pbchsim.106rb/Chart.yaml deleted file mode 100644 index ea93f8da58..0000000000 --- a/charts/physims/charts/nr-pbchsim.106rb/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-pbchsim-106rb -description: A Helm subchart for nr-pbchsim network function ("106rb" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-pbchsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-pbchsim.106rb/templates/_helpers.tpl b/charts/physims/charts/nr-pbchsim.106rb/templates/_helpers.tpl deleted file mode 100644 index 1ea88a4681..0000000000 --- a/charts/physims/charts/nr-pbchsim.106rb/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-pbchsim-106rb.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-pbchsim-106rb.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-pbchsim-106rb.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-pbchsim-106rb.labels" -}} -helm.sh/chart: {{ include "oai-nr-pbchsim-106rb.chart" . }} -{{ include "oai-nr-pbchsim-106rb.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-pbchsim-106rb.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-pbchsim-106rb.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-pbchsim-106rb.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-pbchsim-106rb.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-pbchsim.106rb/templates/job.yaml b/charts/physims/charts/nr-pbchsim.106rb/templates/job.yaml deleted file mode 100644 index c477116131..0000000000 --- a/charts/physims/charts/nr-pbchsim.106rb/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.106rb" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrpbschsim106rb }} - {{- end }} diff --git a/charts/physims/charts/nr-pbchsim.106rb/values.yaml b/charts/physims/charts/nr-pbchsim.106rb/values.yaml deleted file mode 100644 index 8f8104146a..0000000000 --- a/charts/physims/charts/nr-pbchsim.106rb/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-pbchsim-106rb -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-pbchsim-106rb" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-pbchsim.217rb/Chart.yaml b/charts/physims/charts/nr-pbchsim.217rb/Chart.yaml deleted file mode 100644 index 74561a42e9..0000000000 --- a/charts/physims/charts/nr-pbchsim.217rb/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-pbchsim-217rb -description: A Helm subchart for nr-pbchsim network function ("217rb" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-pbchsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-pbchsim.217rb/templates/_helpers.tpl b/charts/physims/charts/nr-pbchsim.217rb/templates/_helpers.tpl deleted file mode 100644 index 28bb7fa4a0..0000000000 --- a/charts/physims/charts/nr-pbchsim.217rb/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-pbchsim-217rb.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-pbchsim-217rb.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-pbchsim-217rb.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-pbchsim-217rb.labels" -}} -helm.sh/chart: {{ include "oai-nr-pbchsim-217rb.chart" . }} -{{ include "oai-nr-pbchsim-217rb.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-pbchsim-217rb.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-pbchsim-217rb.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-pbchsim-217rb.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-pbchsim-217rb.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-pbchsim.217rb/templates/job.yaml b/charts/physims/charts/nr-pbchsim.217rb/templates/job.yaml deleted file mode 100644 index 70eeec8eda..0000000000 --- a/charts/physims/charts/nr-pbchsim.217rb/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.217rb" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrpbchsim217rb }} - {{- end }} diff --git a/charts/physims/charts/nr-pbchsim.217rb/values.yaml b/charts/physims/charts/nr-pbchsim.217rb/values.yaml deleted file mode 100644 index 96b3f860df..0000000000 --- a/charts/physims/charts/nr-pbchsim.217rb/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-pbchsim-217rb -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-pbchsim-217rb" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-pbchsim.273rb/Chart.yaml b/charts/physims/charts/nr-pbchsim.273rb/Chart.yaml deleted file mode 100644 index 6fab0faad8..0000000000 --- a/charts/physims/charts/nr-pbchsim.273rb/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-pbchsim-273rb -description: A Helm subchart for nr-pbchsim network function ("273rb" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-pbchsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-pbchsim.273rb/templates/_helpers.tpl b/charts/physims/charts/nr-pbchsim.273rb/templates/_helpers.tpl deleted file mode 100644 index 2682e2f699..0000000000 --- a/charts/physims/charts/nr-pbchsim.273rb/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-pbchsim-273rb.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-pbchsim-273rb.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-pbchsim-273rb.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-pbchsim-273rb.labels" -}} -helm.sh/chart: {{ include "oai-nr-pbchsim-273rb.chart" . }} -{{ include "oai-nr-pbchsim-273rb.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-pbchsim-273rb.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-pbchsim-273rb.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-pbchsim-273rb.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-pbchsim-273rb.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-pbchsim.273rb/templates/job.yaml b/charts/physims/charts/nr-pbchsim.273rb/templates/job.yaml deleted file mode 100644 index ab002fe664..0000000000 --- a/charts/physims/charts/nr-pbchsim.273rb/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.273rb" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrpbchsim273rb }} - {{- end }} diff --git a/charts/physims/charts/nr-pbchsim.273rb/values.yaml b/charts/physims/charts/nr-pbchsim.273rb/values.yaml deleted file mode 100644 index 36b62e0146..0000000000 --- a/charts/physims/charts/nr-pbchsim.273rb/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-pbchsim-273rb -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-pbchsim-273rb" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-pbchsim.scs/Chart.yaml b/charts/physims/charts/nr-pbchsim.scs/Chart.yaml deleted file mode 100644 index c590bfff38..0000000000 --- a/charts/physims/charts/nr-pbchsim.scs/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-pbchsim-scs -description: A Helm subchart for nr-pbchsim network function ("Other SCS" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-pbchsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-pbchsim.scs/templates/_helpers.tpl b/charts/physims/charts/nr-pbchsim.scs/templates/_helpers.tpl deleted file mode 100644 index 4734fc898e..0000000000 --- a/charts/physims/charts/nr-pbchsim.scs/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-pbchsim-scs.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-pbchsim-scs.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-pbchsim-scs.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-pbchsim-scs.labels" -}} -helm.sh/chart: {{ include "oai-nr-pbchsim-scs.chart" . }} -{{ include "oai-nr-pbchsim-scs.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-pbchsim-scs.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-pbchsim-scs.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-pbchsim-scs.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-pbchsim-scs.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-pbchsim.scs/templates/job.yaml b/charts/physims/charts/nr-pbchsim.scs/templates/job.yaml deleted file mode 100644 index 74077c2dfb..0000000000 --- a/charts/physims/charts/nr-pbchsim.scs/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_pbchsim.otherSCS" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrpbchsim273rb }} - {{- end }} diff --git a/charts/physims/charts/nr-pbchsim.scs/values.yaml b/charts/physims/charts/nr-pbchsim.scs/values.yaml deleted file mode 100644 index f7753924f1..0000000000 --- a/charts/physims/charts/nr-pbchsim.scs/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-pbchsim-scs -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-pbchsim-scs" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-prachsim/Chart.yaml b/charts/physims/charts/nr-prachsim/Chart.yaml deleted file mode 100644 index 8c88587a7f..0000000000 --- a/charts/physims/charts/nr-prachsim/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-prachsim -description: A Helm subchart for nr-prachsim network function - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-prachsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-prachsim/templates/_helpers.tpl b/charts/physims/charts/nr-prachsim/templates/_helpers.tpl deleted file mode 100644 index 6362c72b2a..0000000000 --- a/charts/physims/charts/nr-prachsim/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-prachsim.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-prachsim.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-prachsim.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-prachsim.labels" -}} -helm.sh/chart: {{ include "oai-nr-prachsim.chart" . }} -{{ include "oai-nr-prachsim.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-prachsim.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-prachsim.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-prachsim.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-prachsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-prachsim/templates/job.yaml b/charts/physims/charts/nr-prachsim/templates/job.yaml deleted file mode 100644 index 050ee2f3bc..0000000000 --- a/charts/physims/charts/nr-prachsim/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_prachsim" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrprachsim }} - {{- end }} diff --git a/charts/physims/charts/nr-prachsim/values.yaml b/charts/physims/charts/nr-prachsim/values.yaml deleted file mode 100644 index 8404ea4192..0000000000 --- a/charts/physims/charts/nr-prachsim/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-prachsim. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-prachsim-sa" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-psbchsim/Chart.yaml b/charts/physims/charts/nr-psbchsim/Chart.yaml deleted file mode 100644 index 8f1af6d648..0000000000 --- a/charts/physims/charts/nr-psbchsim/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-psbchsim -description: A Helm subchart for nr-psbchsim network function - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-psbchsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-psbchsim/templates/_helpers.tpl b/charts/physims/charts/nr-psbchsim/templates/_helpers.tpl deleted file mode 100644 index ef7fc150b5..0000000000 --- a/charts/physims/charts/nr-psbchsim/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-psbchsim.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-psbchsim.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-psbchsim.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-psbchsim.labels" -}} -helm.sh/chart: {{ include "oai-nr-psbchsim.chart" . }} -{{ include "oai-nr-psbchsim.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-psbchsim.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-psbchsim.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-psbchsim.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-psbchsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-psbchsim/templates/job.yaml b/charts/physims/charts/nr-psbchsim/templates/job.yaml deleted file mode 100644 index 04c6a410cb..0000000000 --- a/charts/physims/charts/nr-psbchsim/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_psbchsim" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrpsbchsim }} - {{- end }} diff --git a/charts/physims/charts/nr-psbchsim/values.yaml b/charts/physims/charts/nr-psbchsim/values.yaml deleted file mode 100644 index b6fa992ccf..0000000000 --- a/charts/physims/charts/nr-psbchsim/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-psbchsim -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-psbchsim" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-pucchsim/Chart.yaml b/charts/physims/charts/nr-pucchsim/Chart.yaml deleted file mode 100644 index bb0033175f..0000000000 --- a/charts/physims/charts/nr-pucchsim/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-pucchsim -description: A Helm subchart for nr-pucchsim network function - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-pucchsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-pucchsim/templates/_helpers.tpl b/charts/physims/charts/nr-pucchsim/templates/_helpers.tpl deleted file mode 100644 index 210ba26db2..0000000000 --- a/charts/physims/charts/nr-pucchsim/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-pucchsim.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-pucchsim.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-pucchsim.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-pucchsim.labels" -}} -helm.sh/chart: {{ include "oai-nr-pucchsim.chart" . }} -{{ include "oai-nr-pucchsim.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-pucchsim.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-pucchsim.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-pucchsim.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-pucchsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-pucchsim/templates/job.yaml b/charts/physims/charts/nr-pucchsim/templates/job.yaml deleted file mode 100644 index d9081bb926..0000000000 --- a/charts/physims/charts/nr-pucchsim/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_pucchsim" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrpucchsim }} - {{- end }} diff --git a/charts/physims/charts/nr-pucchsim/values.yaml b/charts/physims/charts/nr-pucchsim/values.yaml deleted file mode 100644 index 1c2c822088..0000000000 --- a/charts/physims/charts/nr-pucchsim/values.yaml +++ /dev/null @@ -1,52 +0,0 @@ -# Default values for oai-nr-pucchsim. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-pucchsim-sa" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -service: - type: ClusterIP - port: 80 - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-ulschsim/Chart.yaml b/charts/physims/charts/nr-ulschsim/Chart.yaml deleted file mode 100644 index e2525f0032..0000000000 --- a/charts/physims/charts/nr-ulschsim/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-ulschsim -description: A Helm subchart for nr-ulschsim network function - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-ulschsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-ulschsim/templates/_helpers.tpl b/charts/physims/charts/nr-ulschsim/templates/_helpers.tpl deleted file mode 100644 index 9aa13a81f0..0000000000 --- a/charts/physims/charts/nr-ulschsim/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-ulschsim.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-ulschsim.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-ulschsim.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-ulschsim.labels" -}} -helm.sh/chart: {{ include "oai-nr-ulschsim.chart" . }} -{{ include "oai-nr-ulschsim.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-ulschsim.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-ulschsim.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-ulschsim.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-ulschsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-ulschsim/templates/job.yaml b/charts/physims/charts/nr-ulschsim/templates/job.yaml deleted file mode 100644 index b75963898b..0000000000 --- a/charts/physims/charts/nr-ulschsim/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulschsim" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrulschsim }} - {{- end }} diff --git a/charts/physims/charts/nr-ulschsim/values.yaml b/charts/physims/charts/nr-ulschsim/values.yaml deleted file mode 100644 index 770cb43bb1..0000000000 --- a/charts/physims/charts/nr-ulschsim/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-ulschsim. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-ulschsim-sa" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-ulsim.3gpp/Chart.yaml b/charts/physims/charts/nr-ulsim.3gpp/Chart.yaml deleted file mode 100644 index e2de26c5e8..0000000000 --- a/charts/physims/charts/nr-ulsim.3gpp/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-ulsim-3gpp -description: A Helm subchart for nr-ulsim network function ("3gpp" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-ulsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-ulsim.3gpp/templates/_helpers.tpl b/charts/physims/charts/nr-ulsim.3gpp/templates/_helpers.tpl deleted file mode 100644 index 4655516f35..0000000000 --- a/charts/physims/charts/nr-ulsim.3gpp/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-ulsim-3gpp.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-ulsim-3gpp.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-ulsim-3gpp.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-ulsim-3gpp.labels" -}} -helm.sh/chart: {{ include "oai-nr-ulsim-3gpp.chart" . }} -{{ include "oai-nr-ulsim-3gpp.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-ulsim-3gpp.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-ulsim-3gpp.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-ulsim-3gpp.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-ulsim.3gpp/templates/job.yaml b/charts/physims/charts/nr-ulsim.3gpp/templates/job.yaml deleted file mode 100644 index 6b9d4a1a39..0000000000 --- a/charts/physims/charts/nr-ulsim.3gpp/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.3gpp" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrulsim3gpp }} - {{- end }} diff --git a/charts/physims/charts/nr-ulsim.3gpp/values.yaml b/charts/physims/charts/nr-ulsim.3gpp/values.yaml deleted file mode 100644 index b2aedcba03..0000000000 --- a/charts/physims/charts/nr-ulsim.3gpp/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-ulsim-3gpp -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-ulsim-3gpp" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-ulsim.mimo/Chart.yaml b/charts/physims/charts/nr-ulsim.mimo/Chart.yaml deleted file mode 100644 index b4a691f14a..0000000000 --- a/charts/physims/charts/nr-ulsim.mimo/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-ulsim-mimo -description: A Helm subchart for nr-ulsim network function ("mimo" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-ulsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-ulsim.mimo/templates/_helpers.tpl b/charts/physims/charts/nr-ulsim.mimo/templates/_helpers.tpl deleted file mode 100644 index ead3e5ca41..0000000000 --- a/charts/physims/charts/nr-ulsim.mimo/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-ulsim-mimo.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-ulsim-mimo.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-ulsim-mimo.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-ulsim-mimo.labels" -}} -helm.sh/chart: {{ include "oai-nr-ulsim-mimo.chart" . }} -{{ include "oai-nr-ulsim-mimo.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-ulsim-mimo.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-ulsim-mimo.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-ulsim-mimo.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-ulsim.mimo/templates/job.yaml b/charts/physims/charts/nr-ulsim.mimo/templates/job.yaml deleted file mode 100644 index 337329a6fe..0000000000 --- a/charts/physims/charts/nr-ulsim.mimo/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.mimo" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrulsimmimo }} - {{- end }} diff --git a/charts/physims/charts/nr-ulsim.mimo/values.yaml b/charts/physims/charts/nr-ulsim.mimo/values.yaml deleted file mode 100644 index b2dd42d3be..0000000000 --- a/charts/physims/charts/nr-ulsim.mimo/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-ulsim-mimo -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-ulsim-mimo" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-ulsim.misc/Chart.yaml b/charts/physims/charts/nr-ulsim.misc/Chart.yaml deleted file mode 100644 index 6770f26b76..0000000000 --- a/charts/physims/charts/nr-ulsim.misc/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-ulsim-misc -description: A Helm subchart for nr-ulsim network function ("misc" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-ulsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-ulsim.misc/templates/_helpers.tpl b/charts/physims/charts/nr-ulsim.misc/templates/_helpers.tpl deleted file mode 100644 index 6b5906a8e7..0000000000 --- a/charts/physims/charts/nr-ulsim.misc/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-ulsim-misc.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-ulsim-misc.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-ulsim-misc.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-ulsim-misc.labels" -}} -helm.sh/chart: {{ include "oai-nr-ulsim-misc.chart" . }} -{{ include "oai-nr-ulsim-misc.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-ulsim-misc.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-ulsim-misc.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-ulsim-misc.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-ulsim.misc/templates/job.yaml b/charts/physims/charts/nr-ulsim.misc/templates/job.yaml deleted file mode 100644 index 8a2feff183..0000000000 --- a/charts/physims/charts/nr-ulsim.misc/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.misc" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrulsimmisc }} - {{- end }} diff --git a/charts/physims/charts/nr-ulsim.misc/values.yaml b/charts/physims/charts/nr-ulsim.misc/values.yaml deleted file mode 100644 index 8d15fca39e..0000000000 --- a/charts/physims/charts/nr-ulsim.misc/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-ulsim-misc -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-ulsim-misc" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/nr-ulsim.sc-fdma/Chart.yaml b/charts/physims/charts/nr-ulsim.sc-fdma/Chart.yaml deleted file mode 100644 index c4460cd6a0..0000000000 --- a/charts/physims/charts/nr-ulsim.sc-fdma/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-nr-ulsim-sc-fdma -description: A Helm subchart for nr-ulsim network function ("sc-fdma" tests) - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - nr-ulsim - - RAN - - 5G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/nr-ulsim.sc-fdma/templates/_helpers.tpl b/charts/physims/charts/nr-ulsim.sc-fdma/templates/_helpers.tpl deleted file mode 100644 index b608389dc8..0000000000 --- a/charts/physims/charts/nr-ulsim.sc-fdma/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-nr-ulsim-sc-fdma.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-nr-ulsim-sc-fdma.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-nr-ulsim-sc-fdma.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-nr-ulsim-sc-fdma.labels" -}} -helm.sh/chart: {{ include "oai-nr-ulsim-sc-fdma.chart" . }} -{{ include "oai-nr-ulsim-sc-fdma.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-nr-ulsim-sc-fdma.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-nr-ulsim-sc-fdma.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-nr-ulsim-sc-fdma.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-nr-ulsim.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/nr-ulsim.sc-fdma/templates/job.yaml b/charts/physims/charts/nr-ulsim.sc-fdma/templates/job.yaml deleted file mode 100644 index 6915790c2c..0000000000 --- a/charts/physims/charts/nr-ulsim.sc-fdma/templates/job.yaml +++ /dev/null @@ -1,49 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - ports: - - containerPort: 80 - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "nr_ulsim.sc-fdma" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.nrulsimscfdma }} - {{- end }} diff --git a/charts/physims/charts/nr-ulsim.sc-fdma/values.yaml b/charts/physims/charts/nr-ulsim.sc-fdma/values.yaml deleted file mode 100644 index c617eeafec..0000000000 --- a/charts/physims/charts/nr-ulsim.sc-fdma/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-nr-ulsim-sc-fdma -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-nr-ulsim-sc-fdma" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/polartest/templates/job.yaml b/charts/physims/charts/polartest/templates/job.yaml deleted file mode 100644 index e3850514d7..0000000000 --- a/charts/physims/charts/polartest/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "polartest" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.polartest }} - {{- end }} diff --git a/charts/physims/charts/polartest/values.yaml b/charts/physims/charts/polartest/values.yaml deleted file mode 100644 index 12386f02bc..0000000000 --- a/charts/physims/charts/polartest/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-polartest. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-polartest-sa" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/smallblocktest/Chart.yaml b/charts/physims/charts/smallblocktest/Chart.yaml deleted file mode 100644 index 74092783ae..0000000000 --- a/charts/physims/charts/smallblocktest/Chart.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -name: oai-smallblocktest -description: A Helm subchart for smallblocktest network function - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -icon: http://www.openairinterface.org/wp-content/uploads/2015/06/cropped-oai_final_logo.png - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: v1 - -keywords: - - Physical Simulator - - smallblocktest - - RAN - - 4G - -sources: - - https://gitlab.eurecom.fr/oai/openairinterface5g - -maintainers: - - name: OPENAIRINTERFACE - email: contact@openairinterface.org diff --git a/charts/physims/charts/smallblocktest/templates/_helpers.tpl b/charts/physims/charts/smallblocktest/templates/_helpers.tpl deleted file mode 100644 index a3c264b33e..0000000000 --- a/charts/physims/charts/smallblocktest/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "oai-smallblocktest.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "oai-smallblocktest.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "oai-smallblocktest.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "oai-smallblocktest.labels" -}} -helm.sh/chart: {{ include "oai-smallblocktest.chart" . }} -{{ include "oai-smallblocktest.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "oai-smallblocktest.selectorLabels" -}} -app.kubernetes.io/name: {{ include "oai-smallblocktest.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "oai-smallblocktest.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "oai-smallblocktest.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/physims/charts/smallblocktest/templates/job.yaml b/charts/physims/charts/smallblocktest/templates/job.yaml deleted file mode 100644 index 1b695fe670..0000000000 --- a/charts/physims/charts/smallblocktest/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "smallblocktest" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.smallblocktest }} - {{- end }} diff --git a/charts/physims/charts/smallblocktest/values.yaml b/charts/physims/charts/smallblocktest/values.yaml deleted file mode 100644 index 7f116091ac..0000000000 --- a/charts/physims/charts/smallblocktest/values.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Default values for oai-smallblocktest. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - # pullPolicy: IfNotPresent or Never or Always - pullPolicy: Always - -imagePullSecrets: [] - -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "oai-smallblocktest-sa" - -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 - -securityContext: - privileged: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/physims/charts/ulsim/templates/job.yaml b/charts/physims/charts/ulsim/templates/job.yaml deleted file mode 100644 index ca6c1be16c..0000000000 --- a/charts/physims/charts/ulsim/templates/job.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Chart.Name }} -spec: - template: - metadata: - labels: - app: physim - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - {{- if .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - containers: - - name: physim - image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if .Values.global.resources.define}} - resources: - requests: - cpu: {{ .Values.global.resources.requests.cpu | quote }} - {{- end}} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - env: - - name: OPENAIR_DIR - value: /opt/oai-physim - command: ["/bin/sh", "-c"] - args: - - > - cmake_targets/autotests/run_exec_autotests.bash -g "ulsim" -d bin/ && - echo "FINISHED" && sleep infinity - dnsPolicy: ClusterFirst - restartPolicy: Never - schedulerName: default-scheduler - serviceAccountName: {{ .Values.global.serviceAccountName }} - terminationGracePeriodSeconds: 30 - {{- if .Values.global.nodeSelector}} - nodeSelector: - {{- toYaml .Values.global.nodeSelector | nindent 12 }} - {{- end }} - {{- if .Values.global.nodeName}} - nodeName: {{ .Values.global.nodeName.ulsim }} - {{- end }} diff --git a/ci-scripts/Jenkinsfile-GitLab-Container b/ci-scripts/Jenkinsfile-GitLab-Container index a4da765bf5..62ab0266b1 100644 --- a/ci-scripts/Jenkinsfile-GitLab-Container +++ b/ci-scripts/Jenkinsfile-GitLab-Container @@ -246,11 +246,11 @@ pipeline { stage ("Image Test Processes") { when { expression {doBuild} } parallel { - stage ("PhySim-Cluster") { - when { expression {do4Gtest || do5Gtest || do5GUeTest} } + stage ("PhySim-Cluster-5G") { + when { expression {do5Gtest || do5GUeTest} } steps { script { - triggerSlaveJob ('RAN-PhySim-Cluster', 'PhySim-Cluster') + triggerSlaveJob ('RAN-PhySim-Cluster-5G', 'PhySim-Cluster-5G') } } post { @@ -258,13 +258,36 @@ pipeline { script { // Using a unique variable name for each test stage to avoid overwriting on a global variable // due to parallel-time concurrency - physimStatus = finalizeSlaveJob('RAN-PhySim-Cluster') + physim5GStatus = finalizeSlaveJob('RAN-PhySim-Cluster-5G') } } failure { script { currentBuild.result = 'FAILURE' - failingStages += physimStatus + failingStages += physim5GStatus + } + } + } + } + stage ("PhySim-Cluster-4G") { + when { expression {do4Gtest} } + steps { + script { + triggerSlaveJob ('RAN-PhySim-Cluster-4G', 'PhySim-Cluster-4G') + } + } + post { + always { + script { + // Using a unique variable name for each test stage to avoid overwriting on a global variable + // due to parallel-time concurrency + physim4GStatus = finalizeSlaveJob('RAN-PhySim-Cluster-4G') + } + } + failure { + script { + currentBuild.result = 'FAILURE' + failingStages += physim4GStatus } } } diff --git a/ci-scripts/args_parse.py b/ci-scripts/args_parse.py index 4bb999bd9d..cb3cd6a4ed 100644 --- a/ci-scripts/args_parse.py +++ b/ci-scripts/args_parse.py @@ -41,7 +41,7 @@ import constants as CONST #----------------------------------------------------------- -def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): +def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,CLUSTER): py_param_file_present = False @@ -84,7 +84,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): HTML.ranRepository=matchReg.group(1) CONTAINERS.ranRepository=matchReg.group(1) SCA.ranRepository=matchReg.group(1) - PHYSIM.ranRepository=matchReg.group(1) CLUSTER.ranRepository=matchReg.group(1) elif re.match(r'^\-\-eNB_AllowMerge=(.+)$|^\-\-ranAllowMerge=(.+)$', myArgv, re.IGNORECASE): if re.match(r'^\-\-eNB_AllowMerge=(.+)$', myArgv, re.IGNORECASE): @@ -98,7 +97,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): HTML.ranAllowMerge=True CONTAINERS.ranAllowMerge=True SCA.ranAllowMerge=True - PHYSIM.ranAllowMerge=True CLUSTER.ranAllowMerge=True elif re.match(r'^\-\-eNBBranch=(.+)$|^\-\-ranBranch=(.+)$', myArgv, re.IGNORECASE): if re.match(r'^\-\-eNBBranch=(.+)$', myArgv, re.IGNORECASE): @@ -110,7 +108,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): HTML.ranBranch=matchReg.group(1) CONTAINERS.ranBranch=matchReg.group(1) SCA.ranBranch=matchReg.group(1) - PHYSIM.ranBranch=matchReg.group(1) CLUSTER.ranBranch=matchReg.group(1) elif re.match(r'^\-\-eNBCommitID=(.*)$|^\-\-ranCommitID=(.*)$', myArgv, re.IGNORECASE): if re.match(r'^\-\-eNBCommitID=(.*)$', myArgv, re.IGNORECASE): @@ -122,7 +119,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): HTML.ranCommitID=matchReg.group(1) CONTAINERS.ranCommitID=matchReg.group(1) SCA.ranCommitID=matchReg.group(1) - PHYSIM.ranCommitID=matchReg.group(1) CLUSTER.ranCommitID=matchReg.group(1) elif re.match(r'^\-\-eNBTargetBranch=(.*)$|^\-\-ranTargetBranch=(.*)$', myArgv, re.IGNORECASE): if re.match(r'^\-\-eNBTargetBranch=(.*)$', myArgv, re.IGNORECASE): @@ -134,7 +130,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): HTML.ranTargetBranch=matchReg.group(1) CONTAINERS.ranTargetBranch=matchReg.group(1) SCA.ranTargetBranch=matchReg.group(1) - PHYSIM.ranTargetBranch=matchReg.group(1) CLUSTER.ranTargetBranch=matchReg.group(1) elif re.match(r'^\-\-eNBIPAddress=(.+)$|^\-\-eNB[1-2]IPAddress=(.+)$', myArgv, re.IGNORECASE): if re.match(r'^\-\-eNBIPAddress=(.+)$', myArgv, re.IGNORECASE): @@ -142,7 +137,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): RAN.eNBIPAddress=matchReg.group(1) CONTAINERS.eNBIPAddress=matchReg.group(1) SCA.eNBIPAddress=matchReg.group(1) - PHYSIM.eNBIPAddress=matchReg.group(1) CLUSTER.eNBIPAddress=matchReg.group(1) elif re.match(r'^\-\-eNB1IPAddress=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-eNB1IPAddress=(.+)$', myArgv, re.IGNORECASE) @@ -158,7 +152,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): RAN.eNBUserName=matchReg.group(1) CONTAINERS.eNBUserName=matchReg.group(1) SCA.eNBUserName=matchReg.group(1) - PHYSIM.eNBUserName=matchReg.group(1) CLUSTER.eNBUserName=matchReg.group(1) elif re.match(r'^\-\-eNB1UserName=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-eNB1UserName=(.+)$', myArgv, re.IGNORECASE) @@ -174,7 +167,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): RAN.eNBPassword=matchReg.group(1) CONTAINERS.eNBPassword=matchReg.group(1) SCA.eNBPassword=matchReg.group(1) - PHYSIM.eNBPassword=matchReg.group(1) CLUSTER.eNBPassword=matchReg.group(1) elif re.match(r'^\-\-eNB1Password=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-eNB1Password=(.+)$', myArgv, re.IGNORECASE) @@ -190,7 +182,6 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): RAN.eNBSourceCodePath=matchReg.group(1) CONTAINERS.eNBSourceCodePath=matchReg.group(1) SCA.eNBSourceCodePath=matchReg.group(1) - PHYSIM.eNBSourceCodePath=matchReg.group(1) CLUSTER.eNBSourceCodePath=matchReg.group(1) elif re.match(r'^\-\-eNB1SourceCodePath=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-eNB1SourceCodePath=(.+)$', myArgv, re.IGNORECASE) @@ -236,15 +227,12 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,PHYSIM,CLUSTER): CiTestObj.finalStatus = True elif re.match(r'^\-\-OCUserName=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-OCUserName=(.+)$', myArgv, re.IGNORECASE) - PHYSIM.OCUserName = matchReg.group(1) CLUSTER.OCUserName = matchReg.group(1) elif re.match(r'^\-\-OCPassword=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-OCPassword=(.+)$', myArgv, re.IGNORECASE) - PHYSIM.OCPassword = matchReg.group(1) CLUSTER.OCPassword = matchReg.group(1) elif re.match(r'^\-\-OCProjectName=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-OCProjectName=(.+)$', myArgv, re.IGNORECASE) - PHYSIM.OCProjectName = matchReg.group(1) CLUSTER.OCProjectName = matchReg.group(1) elif re.match(r'^\-\-OCUrl=(.+)$', myArgv, re.IGNORECASE): matchReg = re.match(r'^\-\-OCUrl=(.+)$', myArgv, re.IGNORECASE) diff --git a/ci-scripts/cls_analysis.py b/ci-scripts/cls_analysis.py index 25d9b0c659..ac591b52fb 100644 --- a/ci-scripts/cls_analysis.py +++ b/ci-scripts/cls_analysis.py @@ -20,8 +20,11 @@ # */ #--------------------------------------------------------------------- -import logging import re +import os + +import xml.etree.ElementTree as ET +import json # Define the mapping of physim_test values to search patterns PHYSIM_PATTERN_MAPPING = { @@ -80,3 +83,65 @@ class Analysis(): msg = f'{time1_match.group(1)}: {time1_match.group(2)} us\n{time2_match.group(1)}: {time2_match.group(2)} us exceeds a limit of {threshold} us' return success,msg + + def analyze_oc_physim(result_junit, details_json): + try: + tree = ET.parse(result_junit) + root = tree.getroot() + nb_tests = int(root.attrib["tests"]) + nb_failed = int(root.attrib["failures"]) + except ET.ParseError as e: + return False, False, f'Could not parse XML log file {result_junit}: {e}' + except FileNotFoundError as e: + return False, False, f'JUnit XML log file {result_junit} not found: {e}' + except Exception as e: + return False, False, f'While parsing JUnit XML log file: exception: {e}' + + try: + with open(details_json) as f: + j = json.load(f) + # prepare JSON for easier access of strings + json_test_desc = {} + for e in j["tests"]: + json_test_desc[e["name"]] = e + + except json.JSONDecodeError as e: + return False, False, f'Could not decode JSON log file {details_json}: {e}' + except FileNotFoundError as e: + return False, False, f'Physim JSON log file {details_json} not found: {e}' + except Exception as e: + return False, False, f'While parsing physim JSON log file: exception: {e}' + + test_result = {} + for test in root: # for each test + test_name = test.attrib["name"] + test_exec = json_test_desc[test_name]["properties"][1]["value"][0] + desc = json_test_desc[test_name]["properties"][1]["value"][1] + # get runtime and checks + test_check = test.attrib["status"] == "run" + time = round(float(test.attrib["time"]), 1) + time_check = time < 150 + output = test.findtext("system-out") + output_check = "exceeds the threshold" not in output + # collect logs + log_dir = f'../cmake_targets/log/{test_exec}' + os.makedirs(log_dir, exist_ok=True) + with open(f'{log_dir}/{test_name}.log', 'w') as f: + f.write(output) + # prepare result and info + info = f"Runtime: {f'{time:.3f}'[:5]} s" + resultstr = 'PASS' if (test_check and time_check and output_check) else 'FAIL' + if test_check: + if not output_check: + info += " Test log exceeds maximal allowed length 100 kB" + if not time_check: + info += " Test exceeds 150s" + if not (time_check and output_check): + nb_failed += 1 # time threshold/output length error, not counted for by ctest as of now + test_result[test_name] = [desc, info, resultstr] + + test_summary = {} + test_summary['Nbtests'] = nb_tests + test_summary['Nbpass'] = nb_tests - nb_failed + test_summary['Nbfail'] = nb_failed + return nb_failed == 0, test_summary, test_result diff --git a/ci-scripts/cls_cluster.py b/ci-scripts/cls_cluster.py index ed7c638195..7e88c6b07b 100644 --- a/ci-scripts/cls_cluster.py +++ b/ci-scripts/cls_cluster.py @@ -31,8 +31,10 @@ import logging import re import time +import os import cls_oai_html +import cls_analysis import constants as CONST import helpreadme as HELP import cls_containerize @@ -457,3 +459,38 @@ class Cluster: HTML.CreateHtmlNextTabHeaderTestRow(collectInfo, imageSize) return status + + def deploy_oc_physim(self, HTML, oc_release, svr_id): + if self.ranRepository == '' or self.ranBranch == '' or self.ranCommitID == '': + HELP.GenericHelp(CONST.Version) + raise ValueError(f'Insufficient Parameter: ranRepository {self.ranRepository} ranBranch {self.ranBranch} ranCommitID {self.ranCommitID}') + image_tag = cls_containerize.CreateTag(self.ranCommitID, self.ranBranch, self.ranAllowMerge) + logging.debug(f'Running physims from server: {svr_id}') + script = "scripts/oc-deploy-physims.sh" + options = f"oaicicd-core-for-ci-ran {oc_release} {image_tag} {self.eNBSourceCodePath}" + ret = cls_cmd.runScript(svr_id, script, 600, options) + logging.debug(f'"{script}" finished with code {ret.returncode}, output:\n{ret.stdout}') + log_dir = f'{os.getcwd()}/../cmake_targets/log' + os.makedirs(log_dir, exist_ok=True) + result_junit = f'{oc_release}-run.xml' + details_json = f'{oc_release}-tests.json' + with cls_cmd.getConnection(svr_id) as ssh: + ssh.copyin(src=f'{self.eNBSourceCodePath}/ci-scripts/{details_json}', tgt=f'{log_dir}/{details_json}') + ssh.copyin(src=f'{self.eNBSourceCodePath}/ci-scripts/{result_junit}', tgt=f'{log_dir}/{result_junit}') + ssh.copyin(src=f'{self.eNBSourceCodePath}/ci-scripts/physim_log.txt', tgt=f'{log_dir}/physim_log.txt') + ssh.copyin(src=f'{self.eNBSourceCodePath}/ci-scripts/physim_pods_summary.txt', tgt=f'{log_dir}/physim_pods_summary.txt') + ssh.copyin(src=f'{self.eNBSourceCodePath}/ci-scripts/LastTestsFailed.log', tgt=f'{log_dir}/LastTestsFailed.log') + test_status, test_summary, test_result = cls_analysis.Analysis.analyze_oc_physim(f'{log_dir}/{result_junit}', f'{log_dir}/{details_json}') + if test_summary: + if test_status: + HTML.CreateHtmlTestRow('N/A', 'OK', CONST.ALL_PROCESSES_OK) + HTML.CreateHtmlTestRowPhySimTestResult(test_summary, test_result) + logging.info('\u001B[1m Physical Simulator Pass\u001B[0m') + else: + HTML.CreateHtmlTestRow('Some test(s) failed!', 'KO', CONST.OC_PHYSIM_DEPLOY_FAIL) + HTML.CreateHtmlTestRowPhySimTestResult(test_summary, test_result) + logging.error('\u001B[1m Physical Simulator Fail\u001B[0m') + else: + HTML.CreateHtmlTestRowQueue('Physical simulator failed', 'KO', [test_result]) + logging.error('\u001B[1m Physical Simulator Fail\u001B[0m') + return test_status diff --git a/ci-scripts/cls_oai_html.py b/ci-scripts/cls_oai_html.py index 8e99b20de7..478cbd1860 100644 --- a/ci-scripts/cls_oai_html.py +++ b/ci-scripts/cls_oai_html.py @@ -564,13 +564,13 @@ class HTMLManagement(): self.htmlFile.write('