Skip to content

Commit 4704782

Browse files
codebotasaezper
authored andcommitted
Update main
# Conflicts: # CMakeLists.txt # README.md # include/srsran/radio/radio_notification_handler.h # lib/phy/upper/signal_processors/channel_estimator/port_channel_estimator_pool.h # lib/ru/generic/CMakeLists.txt # lib/ru/generic/lower_phy/lower_phy_factory.h # lib/ru/generic/ru_config_validator.h # lib/ru/generic/ru_downlink_handler_generic_impl.cpp # lib/ru/generic/ru_factory_generic_impl.cpp # lib/ru/generic/ru_generic_impl.cpp # lib/ru/generic/ru_metrics_collector_generic_impl.cpp # lib/ru/generic/ru_metrics_collector_generic_impl.h # lib/ru/generic/ru_radio_notifier_handler.h # lib/ru/generic/ru_uplink_request_handler_generic_impl.cpp # lib/scheduler/ue_context/dl_logical_channel_manager.cpp # lib/scheduler/ue_context/dl_logical_channel_manager.h # lib/scheduler/ue_context/ul_logical_channel_manager.cpp # lib/scheduler/ue_context/ul_logical_channel_manager.h # tests/unittests/phy/upper/channel_processors/prach_detector_test_data.tar.gz # tests/unittests/scheduler/ue_scheduling/dl_logical_channel_test.cpp # tests/unittests/scheduler/ue_scheduling/ul_logical_channel_test.cpp
2 parents d2f4b70 + 3bf4d72 commit 4704782

File tree

390 files changed

+136537
-5642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

390 files changed

+136537
-5642
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ include:
3636
- project: softwareradiosystems/ci/tools
3737
ref: "23"
3838
file: .gitlab/ci-shared/tools/tagger.yml
39-
- local: .gitlab/ci/builders/version.yml
4039
- local: .gitlab/ci/build.yml
4140
- local: .gitlab/ci/trx.yml
4241
- local: .gitlab/ci/e2e.yml
@@ -374,9 +373,6 @@ full-code-format:
374373
tags:
375374
- amd64
376375
needs:
377-
- job: builder version
378-
optional: false
379-
artifacts: true
380376
- job: trigger builder
381377
optional: true
382378
artifacts: false

.gitlab/ci-shared/build.yml

Lines changed: 8 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,13 @@
1-
variables:
2-
INFRASTRUCTURE_TAG:
3-
description: Computer architecture and supported instruction sets
4-
options:
5-
- amd64
6-
- amd64-avx2
7-
- amd64-avx2-avx512
8-
- arm64
9-
- on-prem-amd64
10-
- on-prem-arm64
11-
- aws-spot-amd64
12-
- aws-spot-arm64
13-
value: "amd64-avx2"
14-
OS:
15-
description: Operating system
16-
options:
17-
- "ubuntu-24.10"
18-
- "ubuntu-24.04"
19-
- "ubuntu-22.04"
20-
- "debian-12"
21-
- "debian-11"
22-
- "archlinux-latest"
23-
- "rhel-8"
24-
value: "ubuntu-24.04"
25-
COMPILER:
26-
description: Compiler to use
27-
options:
28-
- "gcc"
29-
- "clang"
30-
value: "gcc"
31-
BUILD_ARGS:
32-
description: It will be passed to cmake
33-
value: ""
34-
UHD_VERSION:
35-
description: must be one version supported in the specified OS
36-
value: ""
37-
DPDK_VERSION:
38-
description: must be one version supported in the specified OS
39-
value: ""
40-
TEST_MODE:
41-
description: Run tests with labels matching regular expression. "none" won't run any test at all.
42-
value: "default"
1+
include:
2+
- local: .gitlab/ci/builders/version.yml
433

444
.build_and_unit_template:
455
image: ${CR_REGISTRY_URI}/srsgnb/builder-${OS}:${DOCKER_BUILDER_VERSION}
466
variables:
7+
OS: "ubuntu-24.04"
8+
COMPILER: "gcc"
9+
UHD_VERSION: ""
10+
DPDK_VERSION: ""
4711
CMAKE_BUILD_TYPE: "" # Empty for cmake default
4812
ASSERT_LEVEL: "" # Empty for cmake default
4913
ENABLE_EXPORT: "" # Empty for cmake default
@@ -70,8 +34,10 @@ variables:
7034
# CACHE
7135
CCACHE_MAXSIZE: 3G
7236
# TEST
37+
TEST_MODE: "default"
7338
TEST_EXECUTION_TIMEOUT: 0
7439
# CI
40+
INFRASTRUCTURE_TAG: amd64-avx2
7541
TRANSFER_METER_FREQUENCY: 5s
7642
ARTIFACT_COMPRESSION_LEVEL: slowest
7743
CACHE_COMPRESSION_LEVEL: slowest

.gitlab/ci-shared/plugin.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ include-guards:
3838
- launch_tests_srsran
3939
needs:
4040
- job: download srsran
41-
- job: builder version

.gitlab/ci-shared/template.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ include:
77
file: .gitlab/ci-shared/features/all.yml
88
- local: .gitlab/ci-shared/e2e.yml
99
- local: .gitlab/ci-shared/build.yml
10-
- local: .gitlab/ci/builders/version.yml
1110

1211
variables:
1312
# CI
@@ -87,21 +86,6 @@ download srsran:
8786
- $SRSRANDIR
8887
needs: []
8988

90-
builder version:
91-
extends: .builder version
92-
rules:
93-
- if: $ON_MR
94-
- if: $ON_WEB
95-
- if: $ON_API
96-
- if: $ON_SCHEDULE
97-
- if: $CI_DESCRIPTION =~ /Release/
98-
when: never
99-
- if: $CI_DESCRIPTION
100-
variables:
101-
SRSRANDIR: *srsran_dir
102-
needs:
103-
- job: download srsran
104-
10589
#########
10690
# Build #
10791
#########
@@ -146,4 +130,3 @@ builder version:
146130
timeout: 1h
147131
needs:
148132
- job: download srsran
149-
- job: builder version

.gitlab/ci/build.yml

Lines changed: 46 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,47 @@ include:
1313
- local: .gitlab/ci-shared/build.yml
1414

1515
variables:
16+
INFRASTRUCTURE_TAG:
17+
description: Computer architecture and supported instruction sets
18+
options:
19+
- amd64
20+
- amd64-avx2
21+
- amd64-avx2-avx512
22+
- arm64
23+
- on-prem-amd64
24+
- on-prem-arm64
25+
- aws-spot-amd64
26+
- aws-spot-arm64
27+
value: "amd64-avx2"
28+
OS:
29+
description: Operating system
30+
options:
31+
- "ubuntu-24.10"
32+
- "ubuntu-24.04"
33+
- "ubuntu-22.04"
34+
- "debian-12"
35+
- "debian-11"
36+
- "archlinux-latest"
37+
- "rhel-8"
38+
value: "ubuntu-24.04"
39+
COMPILER:
40+
description: Compiler to use
41+
options:
42+
- "gcc"
43+
- "clang"
44+
value: "gcc"
45+
BUILD_ARGS:
46+
description: It will be passed to cmake
47+
value: ""
48+
UHD_VERSION:
49+
description: must be one version supported in the specified OS
50+
value: ""
51+
DPDK_VERSION:
52+
description: must be one version supported in the specified OS
53+
value: ""
54+
TEST_MODE:
55+
description: Run tests with labels matching regular expression. "none" won't run any test at all.
56+
value: "default"
1657
SRSRANDIR: ${CI_PROJECT_DIR}
1758

1859
################
@@ -39,9 +80,6 @@ variables:
3980
extends: .build_and_unit_template
4081
stage: build and unit tests
4182
needs:
42-
- job: builder version
43-
optional: false
44-
artifacts: true
4583
- job: trigger builder
4684
optional: true
4785
artifacts: false
@@ -307,6 +345,11 @@ variables:
307345
MARCH: x86-64-v3
308346
LINKER: lld
309347
INFRASTRUCTURE_TAG: amd64-avx2
348+
artifacts: &valgrind_artifacts
349+
when: on_failure
350+
paths:
351+
- build/Testing/Temporary
352+
expire_in: 5 days
310353

311354
.smoke avx512:
312355
extends: .build_and_unit
@@ -680,19 +723,8 @@ valgrind changed tests:
680723
build_srsgnb
681724
- echo "This test execution has a timeout of ${TEST_EXECUTION_TIMEOUT}. If the execution excess that timer, the job will be marked as allowed_to_fail. This will avoid the job to have a huge duration in a MR pipeline."
682725
- launch_tests
683-
after_script:
684-
- mv ${CI_PROJECT_DIR}/build/Testing/Temporary /tmp/Testing_Temporary
685-
- cd build
686-
- make clean
687-
- mkdir -p ${CI_PROJECT_DIR}/build/Testing
688-
- mv /tmp/Testing_Temporary ${CI_PROJECT_DIR}/build/Testing/Temporary
689726
cache:
690727
- *cache_build_get
691-
artifacts: &valgrind_artifacts
692-
when: on_failure
693-
paths:
694-
- build/Testing/Temporary
695-
expire_in: 1 day
696728

697729
intermediate commits clean:
698730
extends: intermediate commits cached
@@ -726,8 +758,6 @@ build on release branch:
726758
PLUGIN_INDEX_ARRAY: ""
727759
tags: ["amd64-avx2"]
728760
needs:
729-
- job: builder version
730-
artifacts: true
731761
- job: load build env for release branch
732762
artifacts: true
733763

@@ -817,12 +847,6 @@ smoke valgrind update cache:
817847
start_in: 45 minutes
818848
interruptible: false
819849
retry: 2
820-
after_script:
821-
- *build_after_script
822-
artifacts:
823-
<<: *build_artifacts
824-
when: on_failure
825-
expire_in: 1 day
826850
cache:
827851
- *cache_build_set
828852

0 commit comments

Comments
 (0)