84 Commits

Author SHA1 Message Date
Robert Schmidt
2a47123b66 Add nr-cuup to OpenShift build system 2023-06-01 12:04:10 +02:00
Jaroslava Fiedlerova
3daeb91a39 Constants for CI OC RAN and CN namespace created
- 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
2023-05-21 17:11:06 +02:00
Jaroslava Fiedlerova
7afedd21f5 CI: Pull cluster image - modif of OC project selection 2023-05-21 16:58:18 +02:00
Robert Schmidt
224ef7921a Merge remote-tracking branch 'origin/ci-OC-image-tagging' into integration_2023_w16b 2023-04-22 07:51:37 +02:00
Robert Schmidt
8482cb62c4 Merge remote-tracking branch 'origin/fix-ubsan-ldpc' into integration_2023_w16b 2023-04-21 16:30:52 +02:00
Jaroslava Fiedlerova
64b4fbe7f2 Removal of unnecessary line 2023-04-21 13:46:50 +02:00
Jaroslava Fiedlerova
99c620b8cc Minor modification of tagging develop images on OC 2023-04-21 10:19:31 +02:00
Robert Schmidt
62a5c4996c Add clang build on OpenShift Cluster
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.
2023-04-20 13:44:11 +02:00
Jaroslava Fiedlerova
8b339bb659 Retag porcepix and cluster registry images to use same prefix
Allows to reuse DeployObject, CleanTestImages, etc, to be reused
regardless of image registry origin.
2023-04-19 16:57:50 +02:00
Jaroslava Fiedlerova
b34e4d0a19 CI Cluster module: refactor login&logout, pull cluster images 2023-04-19 16:57:41 +02:00
Sagar Arora
a36ed24b1a Make cluster images older than 4 weeks dangling so they are deleted 2023-02-08 14:18:44 +01:00
Robert Schmidt
074cf91bec cls_cluster: various fixes after review
- 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
2023-01-11 15:15:06 +01:00
Robert Schmidt
941acb2e8d Tag cluster images with branch and commit ID 2023-01-11 15:15:06 +01:00
Robert Schmidt
7361c1689e Use new SSH class to execute image build 2023-01-11 15:15:06 +01:00
Robert Schmidt
de4a9e1d5a Use new SSH class to execute cluster build 2023-01-11 15:13:21 +01:00
Robert Schmidt
c3d01306de CI: fix type in cluster build script 2022-12-14 09:42:38 +01:00
Sagar Arora
decaec0860 (fix): typo in collecting pod resource metrics 2022-10-26 10:27:49 +02:00
Sagar Arora
1ed52cb4d2 Changing the cluster node name 2022-10-25 14:09:51 +02:00
Robert Schmidt
2f28b5795f Collect cluster pod metrics during build 2022-10-24 17:23:24 +02:00
Robert Schmidt
55d13bd19a Log pod build statistics 2022-10-24 12:37:38 +02:00
Robert Schmidt
c3f48da419 Merge remote-tracking branch 'origin/ci-aw2s-amarisoft' into integration_2022_wk41 2022-10-11 23:33:02 +02:00
Robert Schmidt
ca72af724e Build eNB/gNB and UE on cluster in stages 2022-10-10 13:30:59 +02:00
Robert Schmidt
b3cc68b5c4 Build gNB RHEL8 image with AW2S support 2022-10-07 16:39:49 +02:00
Robert Schmidt
eea8395e6a Increase timeout for "oc get pods" when waiting for build 2022-09-29 11:03:17 +02:00
Robert Schmidt
7d20568c09 List all OC images in registry in artifact file 2022-09-18 22:21:50 +02:00
Robert Schmidt
ca5a6deb9d Fix timeout in wait_job_end() 2022-09-18 22:21:35 +02:00
Robert Schmidt
edfb7aca1d Recreate imagestreamtags to not lose image registry image association
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.
2022-09-18 22:21:35 +02:00
Robert Schmidt
eb15d7332b Remove sudo commands from cluster-related CI scripts 2022-09-16 10:25:24 +02:00
Robert Schmidt
3bb312dce2 Help function for creating repository workspace 2022-09-06 12:05:24 +02:00
Robert Schmidt
68c6a79328 Replace hard-coded (unused) password with a constant
The plan is to migrate the CI to not need any passwords. This constant
can be used to give a dummy password.
2022-09-06 12:05:24 +02:00
Robert Schmidt
879d37b2de Enable testing for all files to force ran-base rebuild 2022-09-06 10:21:55 +02:00
Robert Schmidt
c1fb4b6c27 Run oc logout in background to avoid timeout 2022-09-06 09:40:17 +02:00
Robert Schmidt
11d24ff42c Correct copy path for ran-base logs 2022-09-06 09:39:14 +02:00
Robert Schmidt
41a9ac1119 Python Class for Cluster Building and Deployment 2022-09-05 15:42:12 +02:00