Commit 6905159a authored by Raphael Defosseux's avatar Raphael Defosseux

chore(ci): applying the same image syntax with oaisoftwarealliance/ for RAN components

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 76ed14e7
......@@ -289,6 +289,7 @@ class Containerize():
self.deployedContainers = []
self.tsharkStarted = False
self.displayedNewTags = False
self.pingContName = ''
self.pingOptions = ''
self.pingLossThreshold = ''
......@@ -1062,12 +1063,13 @@ class Containerize():
return
cmd = 'cd ' + self.yamlPath[0] + ' && cp docker-compose.y*ml docker-compose-ci.yml'
self.run_cmd_local_host(cmd)
self.run_cmd_local_host(cmd, silent=self.displayedNewTags)
imageNames = ['oai-enb', 'oai-gnb', 'oai-lte-ue', 'oai-nr-ue', 'oai-lte-ru']
for image in imageNames:
tagToUse = self.ImageTagToUse(image)
cmd = f'cd {self.yamlPath[0]} && sed -i -e "s@{image}:develop@{tagToUse}@" docker-compose-ci.yml'
self.run_cmd_local_host(cmd)
cmd = f'cd {self.yamlPath[0]} && sed -i -e "s@oaisoftwarealliance/{image}:develop@{tagToUse}@" docker-compose-ci.yml'
self.run_cmd_local_host(cmd, silent=self.displayedNewTags)
silent=self.displayedNewTags = True
cmd = 'cd ' + self.yamlPath[0] + ' && docker-compose -f docker-compose-ci.yml up -d ' + self.services[0]
try:
......@@ -1197,12 +1199,13 @@ class Containerize():
logPath = '../cmake_targets/log/' + ymlPath[1]
cmd = 'cd ' + self.yamlPath[0] + ' && cp docker-compose.y*ml docker-compose-ci.yml'
self.run_cmd_local_host(cmd)
self.run_cmd_local_host(cmd, silent=self.displayedNewTags)
imageNames = ['oai-enb', 'oai-gnb', 'oai-lte-ue', 'oai-nr-ue', 'oai-lte-ru']
for image in imageNames:
tagToUse = self.ImageTagToUse(image)
cmd = f'cd {self.yamlPath[0]} && sed -i -e "s@{image}:develop@{tagToUse}@" docker-compose-ci.yml'
self.run_cmd_local_host(cmd)
cmd = f'cd {self.yamlPath[0]} && sed -i -e "s@oaisoftwarealliance/{image}:develop@{tagToUse}@" docker-compose-ci.yml'
self.run_cmd_local_host(cmd, silent=self.displayedNewTags)
silent=self.displayedNewTags = True
# check which containers are running for log recovery later
cmd = 'cd ' + self.yamlPath[0] + ' && docker-compose -f docker-compose-ci.yml ps --all'
......
......@@ -180,7 +180,7 @@ services:
retries: 5
oai_enb:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: l2sim4g-oai-enb
network_mode: "host"
......@@ -230,7 +230,7 @@ services:
retries: 5
oai_ue1:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: l2sim4g-oai-lte-ue1
network_mode: "host"
......@@ -258,7 +258,7 @@ services:
retries: 5
oai_ue2:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: l2sim4g-oai-lte-ue2
network_mode: "host"
......
......@@ -54,9 +54,6 @@ $ docker image tag oaisoftwarealliance/oai-spgwc:latest oai-spgwc:latest
$ docker image tag oaisoftwarealliance/oai-hss:latest oai-hss:latest
$ docker image tag oaisoftwarealliance/oai-spgwu-tiny:latest oai-spgwu-tiny:latest
$ docker image tag oaisoftwarealliance/magma-mme:latest magma-mme:latest
$ docker image tag oaisoftwarealliance/oai-enb:develop oai-enb:develop
$ docker image tag oaisoftwarealliance/oai-lte-ue:develop oai-lte-ue:develop
```
```bash
......
......@@ -180,7 +180,7 @@ services:
retries: 5
oai_enb0:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -214,7 +214,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -2,7 +2,7 @@ version: '3.8'
services:
oai_enb0:
image: oai-enb:develop
image: ioaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -36,7 +36,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -180,7 +180,7 @@ services:
retries: 5
oai_enb0:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -214,7 +214,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -180,7 +180,7 @@ services:
retries: 5
oai_enb0:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -214,7 +214,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -2,7 +2,7 @@ version: '3.8'
services:
oai_enb0:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -22,7 +22,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -2,7 +2,7 @@ version: '3.8'
services:
oai_enb0:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -22,7 +22,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -180,7 +180,7 @@ services:
retries: 5
oai_enb0:
image: oai-enb:develop
image: oaisoftwarealliance/oai-enb:develop
privileged: true
container_name: rfsim4g-oai-enb
networks:
......@@ -213,7 +213,7 @@ services:
retries: 5
oai_ue0:
image: oai-lte-ue:develop
image: oaisoftwarealliance/oai-lte-ue:develop
privileged: true
container_name: rfsim4g-oai-lte-ue0
networks:
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-cu:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-cu
environment:
......@@ -197,7 +197,7 @@ services:
timeout: 5s
retries: 5
oai-du:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-du
environment:
......@@ -231,7 +231,7 @@ services:
timeout: 5s
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -192,7 +192,7 @@ services:
timeout: 5s
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
......@@ -41,15 +41,13 @@ $ docker pull oaisoftwarealliance/trf-gen-cn5g:latest
$ docker pull oaisoftwarealliance/oai-gnb:develop
$ docker pull oaisoftwarealliance/oai-nr-ue:develop
$ docker pull oaisoftwarealliance/proxy:latest
$ docker pull oaisoftwarealliance/proxy:develop
```
And **re-tag** them for tutorials' docker-compose file to work.
```bash
$ docker image tag oaisoftwarealliance/oai-gnb:develop oai-gnb:develop
$ docker image tag oaisoftwarealliance/oai-nr-ue:develop oai-nr-ue:develop
$ docker image tag oaisoftwarealliance/proxy:latest oai-lte-multi-ue-proxy:latest
$ docker image tag oaisoftwarealliance/proxy:develop oai-lte-multi-ue-proxy:latest
```
```bash
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: "l2sim-oai-gnb"
network_mode: "host"
......@@ -211,7 +211,7 @@ services:
retries: 5
oai-nr-ue0:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: "l2sim-oai-nr-ue0"
network_mode: "host"
......
......@@ -47,13 +47,6 @@ $ docker pull oaisoftwarealliance/oai-gnb:develop
$ docker pull oaisoftwarealliance/oai-nr-ue:develop
```
And **re-tag** them for tutorials' docker-compose file to work.
```bash
$ docker image tag oaisoftwarealliance/oai-gnb:develop oai-gnb:develop
$ docker image tag oaisoftwarealliance/oai-nr-ue:develop oai-nr-ue:develop
```
```bash
$ docker logout
```
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -193,7 +193,7 @@ services:
timeout: 5s
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......@@ -216,7 +216,7 @@ services:
retries: 5
oai-nr-ue2:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue2
environment:
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -183,7 +183,7 @@ services:
timeout: 5s
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -184,7 +184,7 @@ services:
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
version: '3.8'
services:
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -21,7 +21,7 @@ services:
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
version: '3.8'
services:
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -21,7 +21,7 @@ services:
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
version: '3.8'
services:
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -21,7 +21,7 @@ services:
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
......@@ -163,7 +163,7 @@ services:
timeout: 5s
retries: 5
oai-gnb:
image: oai-gnb:develop
image: oaisoftwarealliance/oai-gnb:develop
privileged: true
container_name: rfsim5g-oai-gnb
environment:
......@@ -184,7 +184,7 @@ services:
retries: 5
oai-nr-ue:
image: oai-nr-ue:develop
image: oaisoftwarealliance/oai-nr-ue:develop
privileged: true
container_name: rfsim5g-oai-nr-ue
environment:
......
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