- Sep 28, 2024
-
-
Robert Schmidt authored
-
Robert Schmidt authored
Use a script, which can be tested independently of CI code (by running it on the host on which it will be used), and print the directory that has been prepared in the HTML. Also, in the description, use the infinitive/imperative(?) of the verb to harmonize with other steps.
-
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.
-
Robert Schmidt authored
Use the previous commit on returning success from each task execution function, and implement handling of errors in the main loop. Add a script with which this is visible using Custom_Commands.
-
Robert Schmidt authored
-
- Sep 27, 2024
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Sep 26, 2024
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Sep 06, 2024
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Sep 04, 2024
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
-
-
- Introduced additional helper functions: CopyinContainerLog, GetRunningServices, CheckLogs.
-
- Introduced helper functions: GetCredentials, GetContainerName, GetImageInfo, GetContainerHealth, ReTagImages, DeployServices.
-
-
XML file changed accordingly
-
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.
-
-
-
- Sep 02, 2024
-
-
Sagar Arora authored
-
- Jul 13, 2024
-
-
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jun 25, 2024
-
-
Robert Schmidt authored
Update instructions and CI for cross-compilation on Ubuntu 22. Note that for the dockerfile, we use egrep -L which has changed and does not exit with code 0 on no match. Instead, use -vqz to invert return code (0 if nothing found, otherwise 1).
-
Robert Schmidt authored
This updates all images in the CI to Ubuntu 22. It also updates corresponding documentation. Remove python(2) from the image, as it is not needed. Update documentation. It seems that the gcc coming in Ubuntu 22 does not like stack-protector-strong, so remove it as well. Since we compile Flexric, which does not support Ubuntu 22's default gcc-11 (it hits a compile bug), switch to gcc-12 manually. Since we update the compiler, we also need to be careful to use the right address sanitizer version (which is bundled with the compiler version). To avoid a reinstallation of the wrong asan version in target images, we modify Ubuntu 22 targets to copy libasan from the base image. This is necessary since we use update-alternative in the base image, but we don't want to install compilers in the target images to use update-alternatives to install the right asan version... This should be undone when switching to Ubuntu 24 in the future, as it will have a newer default gcc version, such that we don't need to update the compile in the first place. Upgrade libpython in lteUE for U22 upgrade to make it compatible with UHD.
-
- Jun 13, 2024
-
-
Bartosz Podrygajlo authored
-
- Jun 05, 2024
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jun 03, 2024
-
-
Robert Schmidt authored
With the capabilities now given as part of this MR, it happens that when checking the "docker compose config", the container_name might not be close to the service name. Something like service: cap_drop: ... cap_add: ... container_name: This is inconvenient, as the previous grep for the service name + 3 lines might not cover the service name. To circumvent this, give the service name directly in "docker compose config". (no clue why it has not been done like this from the start)
-
Robert Schmidt authored
Use correct baseTag for Unit Tests build in execution: - if build_helper or othe files changed, which would trigger rebuild of ran-base, use the corresponding ci-temp tag - use that tag consistently afterwards
-
- Apr 18, 2024
-
-
Jaroslava Fiedlerova authored
After the recent update of matix, collected logs contain color codes and we did not find the way to switch them completely off. Replacement of "docker compose logs" by "docker logs" resolves this issue. This commit includes changes related to "docker logs" usage.
-
- Apr 08, 2024
-
-
Jaroslava Fiedlerova authored
-
- Mar 27, 2024
-
-
Jaroslava Fiedlerova authored
- Remove IperfFromContainer - Remove unused functions IperfExit and PingExit - Remove unused function for iperf analysis
-
Jaroslava Fiedlerova authored
-
- Mar 22, 2024
-
-
Co-authored-by:
Robert Schmidt <robert.schmidt@openairinterface.org>
-
- Mar 08, 2024
-
-
Robert Schmidt authored
-
Robert Schmidt authored
- create XML files for the Aerial pipeline - create docker-compose to automate deployment - add documentation - add to main Jenkinsfile Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr> Co-authored-by:
Jaroslava Fiedlerova <jaroslava.fiedlerova@openairinterface.org> Co-authored-by:
Rúben Soares da Silva <rsilva@allbesmart.pt>
-
- Mar 05, 2024
-
-
- use new ssh class - do proper logging from multiple services - use yaml dir - Use splitlines(), minor modifs of syntax - check that services are running - Check all copyin() operations, not only last - switch to docker compose: with the use of the new ssh class, we cannot (easily) use the old docker-compose anymore (which was an alias to docker compose). Switch to "docker compose". Co-authored-by:
Robert Schmidt <robert.schmidt@openairinterface.org>
-
Robert Schmidt authored
-
- Feb 08, 2024
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-