aligning all test docker-compose files for image tagging

This commit is contained in:
Bipin Adhikari
2024-09-04 15:38:51 +02:00
committed by Raphael Defosseux
parent ea123a2ac0
commit 5a49dd9afa
37 changed files with 58 additions and 57 deletions
+2 -1
View File
@@ -891,7 +891,8 @@ class Containerize():
mySSH.run('cp docker-compose.y*ml ci-docker-compose.yml', 5)
for image in IMAGES:
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
svcName = self.services[self.eNB_instance]