From 3e823b25c18e8d30224b610985f9be1ac6b2f728 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Sat, 1 Mar 2025 19:39:00 +0100 Subject: [PATCH] Add ARM-specific image-build and XML After the preceding commits, it's now possible to build images on ARM. Add a specific "native_arm" build kind to only build what we need as of now (do not only call it "arm", as that would match the kind "build_cross_arm64"). Add the corresponding XML. Pushing of images is disabled, as this does not work as of now. --- ci-scripts/cls_containerize.py | 6 +++ .../xml_files/container_image_build_arm.xml | 54 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 ci-scripts/xml_files/container_image_build_arm.xml diff --git a/ci-scripts/cls_containerize.py b/ci-scripts/cls_containerize.py index 2658cbf9fa..d93003a37a 100644 --- a/ci-scripts/cls_containerize.py +++ b/ci-scripts/cls_containerize.py @@ -407,6 +407,12 @@ class Containerize(): result = re.search('build_cross_arm64', self.imageKind) if result is not None: self.dockerfileprefix = '.ubuntu22.cross-arm64' + result = re.search('native_arm', self.imageKind) + if result is not None: + imageNames.append(('oai-gnb', 'gNB', 'oai-gnb', '')) + imageNames.append(('oai-nr-cuup', 'nr-cuup', 'oai-nr-cuup', '')) + imageNames.append(('oai-nr-ue', 'nrUE', 'oai-nr-ue', '')) + imageNames.append(('oai-gnb-aerial', 'gNB.aerial', 'oai-gnb-aerial', '')) self.testCase_id = HTML.testCase_id cmd.cd(lSourcePath) diff --git a/ci-scripts/xml_files/container_image_build_arm.xml b/ci-scripts/xml_files/container_image_build_arm.xml new file mode 100644 index 0000000000..ed51dbc844 --- /dev/null +++ b/ci-scripts/xml_files/container_image_build_arm.xml @@ -0,0 +1,54 @@ + + + build-tab + Build Container Images for ARM + wrench + + 800813 + 000001 + 000010 + + + + + Create_Workspace + Create new Workspace for server 0 + 0 + 0 + + + Build_Image + Build all Images + native_arm + 0 + 0 + + + + + + + + +