Commit 5a49dd9a authored by Bipin Adhikari's avatar Bipin Adhikari Committed by Raphael Defosseux

aligning all test docker-compose files for image tagging

parent ea123a2a
...@@ -891,7 +891,8 @@ class Containerize(): ...@@ -891,7 +891,8 @@ class Containerize():
mySSH.run('cp docker-compose.y*ml ci-docker-compose.yml', 5) mySSH.run('cp docker-compose.y*ml ci-docker-compose.yml', 5)
for image in IMAGES: for image in IMAGES:
imageTag = ImageTagToUse(image, self.ranCommitID, self.ranBranch, self.ranAllowMerge) imageTag = ImageTagToUse(image, self.ranCommitID, self.ranBranch, self.ranAllowMerge)
mySSH.run(f'sed -i -e "s#image: {image}:latest#image: oai-ci/{imageTag}#" ci-docker-compose.yml', 2) mySSH.run(f'sed -i -e "s@oaisoftwarealliance/{image}:develop@oai-ci/{imageTag}@" ci-docker-compose.yml',silent=True)
mySSH.run(f'sed -i -e "s@{image}:latest@oai-ci/{imageTag}@" ci-docker-compose.yml',silent=True) # temporary solution for not using the new branch
# Currently support only one # Currently support only one
svcName = self.services[self.eNB_instance] svcName = self.services[self.eNB_instance]
......
...@@ -30,7 +30,7 @@ services: ...@@ -30,7 +30,7 @@ services:
entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'" entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'"
oai_hss: oai_hss:
image: oai-hss:latest image: oaisoftwarealliance/oai-hss:latest
container_name: l2sim4g-oai-hss container_name: l2sim4g-oai-hss
privileged: true privileged: true
depends_on: [cassandra] depends_on: [cassandra]
...@@ -73,7 +73,7 @@ services: ...@@ -73,7 +73,7 @@ services:
retries: 5 retries: 5
magma_mme: magma_mme:
image: magma-mme:latest image: oaisoftwarealliance/magma-mme:latest
container_name: l2sim4g-magma-mme container_name: l2sim4g-magma-mme
hostname: mme hostname: mme
privileged: true privileged: true
...@@ -102,7 +102,7 @@ services: ...@@ -102,7 +102,7 @@ services:
retries: 5 retries: 5
oai_spgwc: oai_spgwc:
image: oai-spgwc:latest image: oaisoftwarealliance/oai-spgwc:latest
privileged: true privileged: true
depends_on: [magma_mme] depends_on: [magma_mme]
container_name: l2sim4g-oai-spgwc container_name: l2sim4g-oai-spgwc
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
retries: 5 retries: 5
oai_spgwu: oai_spgwu:
image: oai-spgwu-tiny:latest image: oaisoftwarealliance/oai-spgwu-tiny:latest
privileged: true privileged: true
container_name: l2sim4g-oai-spgwu-tiny container_name: l2sim4g-oai-spgwu-tiny
depends_on: [oai_spgwc] depends_on: [oai_spgwc]
......
...@@ -30,7 +30,7 @@ services: ...@@ -30,7 +30,7 @@ services:
entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'" entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'"
oai_hss: oai_hss:
image: oai-hss:latest image: oaisoftwarealliance/oai-hss:latest
container_name: rfsim4g-oai-hss container_name: rfsim4g-oai-hss
privileged: true privileged: true
depends_on: [cassandra] depends_on: [cassandra]
...@@ -73,7 +73,7 @@ services: ...@@ -73,7 +73,7 @@ services:
retries: 5 retries: 5
magma_mme: magma_mme:
image: magma-mme:latest image: oaisoftwarealliance/magma-mme:latest
container_name: rfsim4g-magma-mme container_name: rfsim4g-magma-mme
hostname: mme hostname: mme
privileged: true privileged: true
...@@ -102,7 +102,7 @@ services: ...@@ -102,7 +102,7 @@ services:
retries: 5 retries: 5
oai_spgwc: oai_spgwc:
image: oai-spgwc:latest image: oaisoftwarealliance/oai-spgwc:latest
privileged: true privileged: true
depends_on: [magma_mme] depends_on: [magma_mme]
container_name: rfsim4g-oai-spgwc container_name: rfsim4g-oai-spgwc
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
retries: 5 retries: 5
oai_spgwu: oai_spgwu:
image: oai-spgwu-tiny:latest image: oaisoftwarealliance/oai-spgwu-tiny:latest
privileged: true privileged: true
container_name: rfsim4g-oai-spgwu-tiny container_name: rfsim4g-oai-spgwu-tiny
depends_on: [oai_spgwc] depends_on: [oai_spgwc]
......
...@@ -30,7 +30,7 @@ services: ...@@ -30,7 +30,7 @@ services:
entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'" entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'"
oai_hss: oai_hss:
image: oai-hss:latest image: oaisoftwarealliance/oai-hss:latest
container_name: rfsim4g-oai-hss container_name: rfsim4g-oai-hss
privileged: true privileged: true
depends_on: [cassandra] depends_on: [cassandra]
...@@ -73,7 +73,7 @@ services: ...@@ -73,7 +73,7 @@ services:
retries: 5 retries: 5
magma_mme: magma_mme:
image: magma-mme:latest image: oaisoftwarealliance/magma-mme:latest
container_name: rfsim4g-magma-mme container_name: rfsim4g-magma-mme
hostname: mme hostname: mme
privileged: true privileged: true
...@@ -102,7 +102,7 @@ services: ...@@ -102,7 +102,7 @@ services:
retries: 5 retries: 5
oai_spgwc: oai_spgwc:
image: oai-spgwc:latest image: oaisoftwarealliance/oai-spgwc:latest
privileged: true privileged: true
depends_on: [magma_mme] depends_on: [magma_mme]
container_name: rfsim4g-oai-spgwc container_name: rfsim4g-oai-spgwc
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
retries: 5 retries: 5
oai_spgwu: oai_spgwu:
image: oai-spgwu-tiny:latest image: oaisoftwarealliance/oai-spgwu-tiny:latest
privileged: true privileged: true
container_name: rfsim4g-oai-spgwu-tiny container_name: rfsim4g-oai-spgwu-tiny
depends_on: [oai_spgwc] depends_on: [oai_spgwc]
......
...@@ -30,7 +30,7 @@ services: ...@@ -30,7 +30,7 @@ services:
entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'" entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'"
oai_hss: oai_hss:
image: oai-hss:latest image: oaisoftwarealliance/oai-hss:latest
container_name: rfsim4g-oai-hss container_name: rfsim4g-oai-hss
privileged: true privileged: true
depends_on: [cassandra] depends_on: [cassandra]
...@@ -73,7 +73,7 @@ services: ...@@ -73,7 +73,7 @@ services:
retries: 5 retries: 5
magma_mme: magma_mme:
image: magma-mme:latest image: oaisoftwarealliance/magma-mme:latest
container_name: rfsim4g-magma-mme container_name: rfsim4g-magma-mme
hostname: mme hostname: mme
privileged: true privileged: true
...@@ -102,7 +102,7 @@ services: ...@@ -102,7 +102,7 @@ services:
retries: 5 retries: 5
oai_spgwc: oai_spgwc:
image: oai-spgwc:latest image: oaisoftwarealliance/oai-spgwc:latest
privileged: true privileged: true
depends_on: [magma_mme] depends_on: [magma_mme]
container_name: rfsim4g-oai-spgwc container_name: rfsim4g-oai-spgwc
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
retries: 5 retries: 5
oai_spgwu: oai_spgwu:
image: oai-spgwu-tiny:latest image: oaisoftwarealliance/oai-spgwu-tiny:latest
privileged: true privileged: true
container_name: rfsim4g-oai-spgwu-tiny container_name: rfsim4g-oai-spgwu-tiny
depends_on: [oai_spgwc] depends_on: [oai_spgwc]
......
...@@ -30,7 +30,7 @@ services: ...@@ -30,7 +30,7 @@ services:
entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'" entrypoint: /bin/bash -c "cqlsh --file /home/oai_db.cql 192.168.68.2 && echo 'OK'"
oai_hss: oai_hss:
image: oai-hss:latest image: oaisoftwarealliance/oai-hss:latest
container_name: rfsim4g-oai-hss container_name: rfsim4g-oai-hss
privileged: true privileged: true
depends_on: [cassandra] depends_on: [cassandra]
...@@ -73,7 +73,7 @@ services: ...@@ -73,7 +73,7 @@ services:
retries: 5 retries: 5
magma_mme: magma_mme:
image: magma-mme:latest image: oaisoftwarealliance/magma-mme:latest
container_name: rfsim4g-magma-mme container_name: rfsim4g-magma-mme
hostname: mme hostname: mme
privileged: true privileged: true
...@@ -102,7 +102,7 @@ services: ...@@ -102,7 +102,7 @@ services:
retries: 5 retries: 5
oai_spgwc: oai_spgwc:
image: oai-spgwc:latest image: oaisoftwarealliance/oai-spgwc:latest
privileged: true privileged: true
depends_on: [magma_mme] depends_on: [magma_mme]
container_name: rfsim4g-oai-spgwc container_name: rfsim4g-oai-spgwc
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
retries: 5 retries: 5
oai_spgwu: oai_spgwu:
image: oai-spgwu-tiny:latest image: oaisoftwarealliance/oai-spgwu-tiny:latest
privileged: true privileged: true
container_name: rfsim4g-oai-spgwu-tiny container_name: rfsim4g-oai-spgwu-tiny
depends_on: [oai_spgwc] depends_on: [oai_spgwc]
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
network_mode: "host" network_mode: "host"
container_name: oai-gnb container_name: oai-gnb
cap_drop: cap_drop:
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
network_mode: "host" network_mode: "host"
container_name: oai-gnb container_name: oai-gnb
cap_drop: cap_drop:
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
network_mode: "host" network_mode: "host"
container_name: oai-gnb container_name: oai-gnb
cap_drop: cap_drop:
......
services: services:
oai-nr-ue: oai-nr-ue:
image: oai-nr-ue:latest image: oaisoftwarealliance/oai-nr-ue:develop
network_mode: host network_mode: host
container_name: oai-nr-ue container_name: oai-nr-ue
cap_drop: cap_drop:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: prod-enb-mono-fdd container_name: prod-enb-mono-fdd
environment: environment:
......
services: services:
rru_fdd: rru_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-rru-fdd-05Mhz-tm1 container_name: lte-b200-rru-fdd-05Mhz-tm1
network_mode: "host" network_mode: "host"
...@@ -17,7 +17,7 @@ services: ...@@ -17,7 +17,7 @@ services:
timeout: 5s timeout: 5s
retries: 5 retries: 5
rcc_fdd: rcc_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-rcc-fdd-05Mhz-tm1 container_name: lte-b200-rcc-fdd-05Mhz-tm1
network_mode: "host" network_mode: "host"
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-fdd-05Mhz-tm1 container_name: lte-b200-enb-fdd-05Mhz-tm1
environment: environment:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-fdd-05Mhz-tm1 container_name: lte-b200-enb-fdd-05Mhz-tm1
environment: environment:
......
services: services:
lte_ue0: lte_ue0:
image: oai-lte-ue:latest image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true privileged: true
container_name: lte-b200-ue-fdd-10Mhz-tm1 container_name: lte-b200-ue-fdd-10Mhz-tm1
environment: environment:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-fdd-10Mhz-tm1 container_name: lte-b200-enb-fdd-10Mhz-tm1
environment: environment:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-fdd-10Mhz-tm1 container_name: lte-b200-enb-fdd-10Mhz-tm1
environment: environment:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-fdd-10Mhz-tm1 container_name: lte-b200-enb-fdd-10Mhz-tm1
environment: environment:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-fdd-20Mhz-tm1 container_name: lte-b200-enb-fdd-20Mhz-tm1
environment: environment:
......
services: services:
rru_tdd: rru_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-rru-tdd-05Mhz-tm1 container_name: lte-b200-rru-tdd-05Mhz-tm1
network_mode: "host" network_mode: "host"
...@@ -17,7 +17,7 @@ services: ...@@ -17,7 +17,7 @@ services:
timeout: 5s timeout: 5s
retries: 5 retries: 5
rcc_tdd: rcc_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-rcc-tdd-05Mhz-tm1 container_name: lte-b200-rcc-tdd-05Mhz-tm1
network_mode: "host" network_mode: "host"
......
services: services:
enb_mono_tdd: enb_mono_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-tdd-05Mhz-tm1 container_name: lte-b200-enb-tdd-05Mhz-tm1
environment: environment:
......
services: services:
enb_mono_tdd: enb_mono_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-tdd-05Mhz-tm2 container_name: lte-b200-enb-tdd-05Mhz-tm2
environment: environment:
......
services: services:
enb_mono_tdd: enb_mono_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-tdd-10Mhz-tm1 container_name: lte-b200-enb-tdd-10Mhz-tm1
environment: environment:
......
services: services:
enb_mono_tdd: enb_mono_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-tdd-20Mhz-tm1 container_name: lte-b200-enb-tdd-20Mhz-tm1
environment: environment:
......
services: services:
enb_mono_tdd: enb_mono_tdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: lte-b200-enb-tdd-20Mhz-tm1 container_name: lte-b200-enb-tdd-20Mhz-tm1
environment: environment:
......
services: services:
oai-enb: oai-enb:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: oai-enb container_name: oai-enb
environment: environment:
......
services: services:
oai-enb: oai-enb:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: oai-enb container_name: oai-enb
environment: environment:
......
services: services:
enb_mono_fdd: enb_mono_fdd:
image: oai-enb:latest image: oaisoftwarealliance/oai-enb:develop
privileged: true privileged: true
container_name: nsa-b200-enb container_name: nsa-b200-enb
ulimits: ulimits:
......
services: services:
gnb_mono_tdd: gnb_mono_tdd:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: nsa-b200-gnb container_name: nsa-b200-gnb
cap_drop: cap_drop:
- ALL - ALL
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb-aw2s:latest image: oaisoftwarealliance/oai-gnb-aw2s:develop
network_mode: "host" network_mode: "host"
container_name: oai-gnb-aw2s container_name: oai-gnb-aw2s
cap_drop: cap_drop:
......
services: services:
gnb_mono_tdd: gnb_mono_tdd:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: sa-b200-gnb container_name: sa-b200-gnb
cap_drop: cap_drop:
- ALL - ALL
......
services: services:
gnb_cucp: gnb_cucp:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: sa-cucp-gnb container_name: sa-cucp-gnb
cap_drop: cap_drop:
- ALL - ALL
...@@ -25,7 +25,7 @@ services: ...@@ -25,7 +25,7 @@ services:
retries: 5 retries: 5
gnb_cuup: gnb_cuup:
image: oai-nr-cuup:latest image: oaisoftwarealliance/oai-nr-cuup:develop
container_name: sa-cuup-gnb container_name: sa-cuup-gnb
cap_drop: cap_drop:
- ALL - ALL
...@@ -52,7 +52,7 @@ services: ...@@ -52,7 +52,7 @@ services:
retries: 5 retries: 5
gnb_du_tdd: gnb_du_tdd:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: sa-du-b200-gnb container_name: sa-du-b200-gnb
cap_drop: cap_drop:
- ALL - ALL
......
services: services:
gnb_cu: gnb_cu:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: sa-cu-gnb container_name: sa-cu-gnb
cap_drop: cap_drop:
- ALL - ALL
...@@ -26,7 +26,7 @@ services: ...@@ -26,7 +26,7 @@ services:
retries: 5 retries: 5
gnb_du_fdd: gnb_du_fdd:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: sa-du-b200-gnb container_name: sa-du-b200-gnb
cap_drop: cap_drop:
- ALL - ALL
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb-fhi72:latest image: oaisoftwarealliance/oai-gnb-fhi72:develop
cap_add: cap_add:
- SYS_ADMIN - SYS_ADMIN
- IPC_LOCK - IPC_LOCK
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb-fhi72:latest image: oaisoftwarealliance/oai-gnb-fhi72:develop
cap_add: cap_add:
- SYS_ADMIN - SYS_ADMIN
- IPC_LOCK - IPC_LOCK
......
...@@ -34,7 +34,7 @@ services: ...@@ -34,7 +34,7 @@ services:
retries: 5 retries: 5
oai-gnb-aerial: oai-gnb-aerial:
cpuset: "13-20" cpuset: "13-20"
image: oai-gnb-aerial:latest image: oaisoftwarealliance/oai-gnb-aerial:develop
depends_on: depends_on:
nv-cubb: nv-cubb:
condition: service_healthy condition: service_healthy
......
services: services:
gnb_mono_tdd: gnb_mono_tdd:
image: oai-gnb:latest image: oaisoftwarealliance/oai-gnb:develop
container_name: sa-b200-gnb container_name: sa-b200-gnb
cap_drop: cap_drop:
- ALL - ALL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment