- Sep 28, 2024
-
-
Robert Schmidt authored
This reimplements the CI deployment functions, and makes them a bit more robust. Concretely: - Introduce a generic "deployment tag" option that can be used to override the tag to use for specific images. By default, it is the current "branch-commitID[0:8]" tag name (requires the change from function ImageTagToUse() to CreateTag(), impacting also pull/push image functions) - Avoid sed for image names, and use an .env file that docker-compose picks up automatically; the deployment analyzes a potentially existing .env file and updates instead of simply overriding. For instance, some pipelines might use -asan images for the gNB and "normal" (non-asan) images for UE, and a simple overwriting might make the -asan image name tag disappear for the gNB, resulting in deployment failures). Finally, undeployment removes the .env file, so that there are no modifications in the repository after undeployment. - Redo the previous behavior of autodetecting asan, and use that (the current function always uses asan, no matter what) - Remove deployKind/displayedNewTags globals, as they are not necessary - Make the usedImage output in HTML slimmer - On undeployment, print service names next to undeploy analysis, and return success/failure. - Make the functions generally less verbose and easier to read Note that as of and only in this commit, deployment does not work, as all the YAML files have not been updated to work with this updated version. The next commit adds tests for the new deployment, and updates one YAML file (also being used in the tests). The follow-up commit then modifies all YAML files.
-
- Sep 04, 2024
-
-
Create_Workspace is used used in XML files instead of directly being executed in DeployObject(). This can be problematic if we deploy multiple services on the same host, since a previous workspace will be deleted. Also, it removes futile git clones. There are other XML steps (CppCheckAnalysis, LicenceAndFormattingCheck, BuildImage, BuildProxy, BuildClusterImage) that implicitly called Create_Workspace. Those calls have been removed and care has been taken to insert the corresponding Create_Workspace steps in the XML.
-
- Aug 30, 2024
-
-
Robert Schmidt authored
In the past, it seemed that we had to add a trailing slash (/) after the OpenShift Registry URI. Now, at least on the CI machine matix, this makes it fail: INFO: oc whoami -t | docker login -u oaicicd --password-stdin default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/ INFO: docker pull default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/oaicicd-ran/oai-gnb:develop-46a1d2a6 WARNING: command "docker pull default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/oaicicd-ran/oai-gnb:develop-46a1d2a6" returned non-zero returncode 1: output: Error response from daemon: Head "https://default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/v2/oaicicd-ran/oai-gnb/manifests/develop-46a1d2a6": unauthorized: authentication required Remove the trailing slash makes it work, like so: INFO: oc whoami -t | docker login -u oaicicd --password-stdin default-route-openshift-image-registry.apps.oai.cs.eurecom.fr INFO: docker pull default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/oaicicd-ran/oai-gnb:develop-46a1d2a6 The docker pull succeeds.
-
- Aug 05, 2024
-
-
Jaroslava Fiedlerova authored
- Modify CN deployment and termination functions to include namespace and path parameters. - Update `Module_UE` class with new attributes for namespace and CN path. - Integrate `cnID` for OC CN deployment and termination in `epc.py`. - Extract `cn_id` from XML configurations for CN operations. - Update XML files to include `cn_id` tag for 5G Core initialization and termination. (Used in OAIUE and AW2S pipeline, for OC CN deployment. This change will not affect other CN deployments.)
-
- Jul 13, 2024
-
-
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Apr 26, 2024
-
-
Jaroslava Fiedlerova authored
These functions enables (un)deployment of the OAI CN v2.0.1, increase reliability and speedup overall CN (un)deployment compared to current implementation. Use "--wait" helm option to wait for deployment/undeployment of the CN. Wait for pods to be in a ready state before marking the release as successful. If not deployed/undeployed before timeout, marked as unsuccessful. Hardcode path for OC CN5G deployment/undeployment
-
- Feb 08, 2024
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Feb 05, 2024
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Sep 14, 2023
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
Raphael Defosseux authored
fix(ci): docker_log_split is useless with current build scheme. Just copying all txt files from ran-build image Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jul 03, 2023
-
-
Jaroslava Fiedlerova authored
- if the server is not specified in the xml file, eNBIPAddress is taken
-
- Jun 06, 2023
-
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
- Jun 05, 2023
-
-
Jaroslava Fiedlerova authored
- update of existing Dockerfiles for building RHEL8 images to RHEL9
-
- Jun 01, 2023
-
-
Robert Schmidt authored
-
- May 21, 2023
-
-
Jaroslava Fiedlerova authored
- CI_OC_RAN_NAMESPACE for RAN images - CI_OC_CORE_NAMESPACE for CN deployment - usage of the created constants for pulling images from cluster, CN deployement, iperf/ping
-
Jaroslava Fiedlerova authored
-
- Apr 21, 2023
-
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
- Apr 20, 2023
-
-
Robert Schmidt authored
Add Dockerfile, OpenShift build config, and OpenShift image stream, to compile OAI using clang, notably to get compiler warnings and keep it OAI compilable using clang.
-
- Apr 19, 2023
-
-
Allows to reuse DeployObject, CleanTestImages, etc, to be reused regardless of image registry origin.
-
-
- Feb 08, 2023
-
-
- Jan 11, 2023
-
-
Robert Schmidt authored
- Mention python version and separate Python/own modules - Use constants for registry and namespace name - Provide OC url in oc login - Do not perform oc logout in background
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Dec 14, 2022
-
-
Robert Schmidt authored
-
- Oct 26, 2022
-
-
Sagar Arora authored
-
- Oct 25, 2022
-
-
Sagar Arora authored
-
- Oct 24, 2022
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Oct 10, 2022
-
-
Robert Schmidt authored
-
- Oct 07, 2022
-
-
Robert Schmidt authored
-
- Sep 29, 2022
-
-
Robert Schmidt authored
-
- Sep 18, 2022
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
Previously, the cluster-build code would recreate imagestreams, which would drop the association of image streams to images previously created. To avoid this, the code is updated to never delete imagestreams, and only recreate imagestreamtags.
-
- Sep 16, 2022
-
-
Robert Schmidt authored
-
- Sep 06, 2022
-
-
Robert Schmidt authored
-