Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregated Codecov Reports #372

Merged
merged 2 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions charts/meep-ams/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-ams" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-ams.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
Expand Down
2 changes: 1 addition & 1 deletion charts/meep-app-enablement/templates/codecov-pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
hostPath:
path: "/home/englab/.meep/codecov/meep-app-enablement"
path: {{ .Values.codecov.location }}

---
kind: StorageClass
Expand Down
4 changes: 0 additions & 4 deletions charts/meep-app-enablement/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-app-enablement" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-app-enablement.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
Expand Down
4 changes: 0 additions & 4 deletions charts/meep-auth-svc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-auth-svc" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-auth-svc.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
Expand Down
6 changes: 1 addition & 5 deletions charts/meep-gis-engine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-gis-engine" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-gis-engine.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.codecov.enabled}}
volumeMounts:
Expand Down
4 changes: 0 additions & 4 deletions charts/meep-loc-serv/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-loc-serv" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-loc-serv.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
Expand Down
6 changes: 1 addition & 5 deletions charts/meep-metrics-engine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-metrics-engine" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-metrics-engine.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.codecov.enabled}}
volumeMounts:
Expand Down
6 changes: 1 addition & 5 deletions charts/meep-mg-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-mg-manager" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-mg-manager.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.codecov.enabled}}
volumeMounts:
Expand Down
6 changes: 1 addition & 5 deletions charts/meep-mon-engine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-mon-engine" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-mon-engine.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- range $key, $value := .Values.image.envSecret }}
- name: {{ $key }}
Expand Down
6 changes: 1 addition & 5 deletions charts/meep-platform-ctrl/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-platform-ctrl" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-platform-ctrl.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote}}
{{- end }}
{{- range $key, $value := .Values.image.envSecret }}
- name: {{ $key }}
Expand Down
4 changes: 0 additions & 4 deletions charts/meep-rnis/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-rnis" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-rnis.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
Expand Down
6 changes: 1 addition & 5 deletions charts/meep-sandbox-ctrl/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-sandbox-ctrl" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-sandbox-ctrl.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.user.swagger.enabled}}
- name: USER_SWAGGER
Expand Down
2 changes: 1 addition & 1 deletion charts/meep-tc-engine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.codecov.enabled}}
volumeMounts:
Expand Down
2 changes: 0 additions & 2 deletions charts/meep-virt-chart-templates/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@ spec:
tolerations:
{{toYaml .Values.deployment.tolerations | indent 8}}
{{- end}}


6 changes: 1 addition & 5 deletions charts/meep-virt-engine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,14 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.codecov.enabled}}
command: [ "/meep-virt-engine" ]
args: [ "-test.coverprofile=/codecov/codecov-meep-virt-engine.out", "__DEVEL--code-cov" ]
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.deployment.port }}
protocol: {{ .Values.deployment.protocol }}
env:
{{- range $key, $value := .Values.image.env }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
{{- range $key, $value := .Values.image.envSecret }}
- name: {{ $key }}
Expand Down
10 changes: 9 additions & 1 deletion go-apps/meep-ams/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-ams
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-ams-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-ams -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-ams
fi
10 changes: 9 additions & 1 deletion go-apps/meep-app-enablement/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-app-enablement
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-app-enablement-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-app-enablement -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-app-enablement
fi
10 changes: 9 additions & 1 deletion go-apps/meep-auth-svc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-auth-svc
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-auth-svc-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-auth-svc -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-auth-svc
fi
10 changes: 9 additions & 1 deletion go-apps/meep-gis-engine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-gis-engine
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-gis-engine-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-gis-engine -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-gis-engine
fi
10 changes: 9 additions & 1 deletion go-apps/meep-loc-serv/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-loc-serv
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-loc-serv-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-loc-serv -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-loc-serv
fi
10 changes: 9 additions & 1 deletion go-apps/meep-metrics-engine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-metrics-engine
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-metrics-engine-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-metrics-engine -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-metrics-engine
fi
10 changes: 9 additions & 1 deletion go-apps/meep-mg-manager/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-mg-manager
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-mg-manager-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-mg-manager -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-mg-manager
fi
10 changes: 9 additions & 1 deletion go-apps/meep-mon-engine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "MEEP_CODECOV: ${MEEP_CODECOV}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
Expand Down Expand Up @@ -38,4 +39,11 @@ for file in /user-api/*; do
done

# Start service
exec /meep-mon-engine
currenttime=`date "+%Y%m%d-%H%M%S"`
filepath="/codecov/codecov-meep-mon-engine-"
filename=$filepath$currenttime".out"
if [ "$MEEP_CODECOV" = 'true' ]; then
exec /meep-mon-engine -test.coverprofile=$filename __DEVEL--code-cov
else
exec /meep-mon-engine
fi
Loading