CI: fix on the tag
Signed-off-by: Mohammed Ismail <mohammed.ismail@openairinterface.org>
This commit is contained in:
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: physim
|
- name: physim
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
|
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.version }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
@@ -5,150 +5,80 @@
|
|||||||
global:
|
global:
|
||||||
serviceAccountName: oai-physim-sa
|
serviceAccountName: oai-physim-sa
|
||||||
namespace: "oaicicd-ran-tmp"
|
namespace: "oaicicd-ran-tmp"
|
||||||
|
image:
|
||||||
|
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
||||||
|
version: TAG
|
||||||
|
|
||||||
## Declaring values specific to coressponding physim to overwrite
|
## Declaring values specific to coressponding physim to overwrite
|
||||||
|
|
||||||
dlsim:
|
dlsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
ulsim:
|
ulsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
ldpctest:
|
ldpctest:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
polartest:
|
polartest:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-pbchsim:
|
nr-pbchsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-dlsim:
|
nr-dlsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-dlschsim:
|
nr-dlschsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
smallblocktest:
|
smallblocktest:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-ulschsim:
|
nr-ulschsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-pucchsim:
|
nr-pucchsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-ulsim:
|
nr-ulsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
nr-prachsim:
|
nr-prachsim:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
registry: local
|
|
||||||
repository: image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-physim
|
|
||||||
version: temp
|
|
||||||
# pullPolicy: IfNotPresent or Never or Always
|
|
||||||
pullPolicy: Always
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ class PhySim:
|
|||||||
logging.debug('\u001B[1m Image "oai-physim" push to OC Cluster Registry Successfully\u001B[0m')
|
logging.debug('\u001B[1m Image "oai-physim" push to OC Cluster Registry Successfully\u001B[0m')
|
||||||
|
|
||||||
# Using helm charts deployment
|
# Using helm charts deployment
|
||||||
|
mySSH.command(f'sed -i -e "s#TAG#{imageTag}#g" ./charts/physims/values.yaml', '\$', 6)
|
||||||
mySSH.command('helm install physim ./charts/physims/ | tee -a cmake_targets/log/physim_helm_summary.txt 2>&1', '\$', 6)
|
mySSH.command('helm install physim ./charts/physims/ | tee -a cmake_targets/log/physim_helm_summary.txt 2>&1', '\$', 6)
|
||||||
if mySSH.getBefore().count('STATUS: deployed') == 0:
|
if mySSH.getBefore().count('STATUS: deployed') == 0:
|
||||||
logging.error('\u001B[1m Deploying PhySim Failed using helm chart on OC Cluster\u001B[0m')
|
logging.error('\u001B[1m Deploying PhySim Failed using helm chart on OC Cluster\u001B[0m')
|
||||||
|
|||||||
Reference in New Issue
Block a user