Skip to content

Commit 583c92b

Browse files
author
codebot
committed
Update main
# Conflicts: # apps/gnb/adapters/f1ap_adapter.cpp # apps/gnb/adapters/f1ap_adapter.h # apps/gnb/gnb_appconfig_validators.cpp # apps/gnb/phy_factory.cpp # apps/gnb/phy_factory.h # configs/gnb_ru_picocom_scb_tdd_n78_20mhz.yml # configs/gnb_ru_ran550_tdd_n78_100mhz_2x2.yml # configs/gnb_ru_ran550_tdd_n78_20mhz.yml # include/srsran/adt/byte_buffer_slice_chain.h # include/srsran/cu_cp/meas_types.h # lib/ofh/compression/compressed_prb.cpp # lib/phy/upper/channel_processors/prach_detector_simple_impl.cpp # lib/phy/upper/channel_processors/prach_detector_simple_impl.h # lib/phy/upper/downlink_processor_null_executor.h # tests/integrationtests/du_cu_cp/CMakeLists.txt # tests/unittests/adt/byte_buffer_slice_test.cpp # tests/unittests/du_high/CMakeLists.txt # tests/unittests/du_high/test_utils/du_high_test_bench.h # tests/unittests/phy/upper/channel_processors/prach_detector_test_data.tar.gz # tests/unittests/phy/upper/channel_processors/prach_detector_unittest.cpp # tests/unittests/phy/upper/signal_processors/dmrs_pusch_estimator_test_data.tar.gz # tests/unittests/phy/upper/signal_processors/port_channel_estimator_test_data.tar.gz
2 parents 549d121 + c46230a commit 583c92b

File tree

861 files changed

+28794
-11768
lines changed

Some content is hidden

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

861 files changed

+28794
-11768
lines changed

.clang-tidy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ HeaderFilterRegex: ''
3333
AnalyzeTemporaryDtors: false
3434
CheckOptions:
3535
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
36-
- { key: readibility-identifier-naming.ClassCase, value: lower_case }
37-
- { key: readibility-identifier-naming.StructCase, value: lower_case }
38-
- { key: readibility-identifier-naming.VariableCase, value: lower_case }
36+
- { key: readability-identifier-naming.ClassCase, value: lower_case }
37+
- { key: readability-identifier-naming.StructCase, value: lower_case }
38+
- { key: readability-identifier-naming.VariableCase, value: lower_case }
3939

.gitlab-ci.yml

Lines changed: 45 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525

2626
include:
2727
- project: softwareradiosystems/ci/tools
28-
ref: "8"
28+
ref: "10"
2929
file: .gitlab/ci-shared/setup/all.yml
3030
- project: softwareradiosystems/ci/tools
31-
ref: "8"
31+
ref: "10"
3232
file: .gitlab/ci-shared/features/all.yml
3333
- project: softwareradiosystems/ci/tools
34-
ref: "8"
34+
ref: "10"
3535
file: .gitlab/ci-shared/tools/python.yml
3636
- project: softwareradiosystems/ci/tools
37-
ref: "8"
37+
ref: "10"
3838
file: .gitlab/ci-shared/tools/test_reporter.yml
3939
- project: softwareradiosystems/ci/tools
40-
ref: "8"
40+
ref: "10"
4141
file: .gitlab/ci-shared/tools/tagger.yml
4242
- local: .gitlab/ci/builders/version.yml
4343
- local: .gitlab/ci/build.yml
@@ -50,6 +50,7 @@ stages:
5050
- static
5151
- build and unit tests
5252
- e2e
53+
- manual
5354
- documentation
5455
- private
5556
- public
@@ -59,24 +60,19 @@ variables:
5960
SLACK_CHANNEL_OK: "#ci_gnb"
6061
SLACK_CHANNEL_FAIL: "#ci_gnb"
6162
SLACK_CHANNEL_INFO_MSG: "#ci_gnb_verbose"
63+
AUTOREBASER_MODE: minimal
6264

6365
################################################################################
6466
## CI
6567
################################################################################
66-
autorebaser full:
67-
extends: .autorebaser
68-
rules:
69-
- if: $ON_DEFAULT_BRANCH
70-
when: never
71-
7268
trigger builder:
7369
stage: ci
7470
rules:
7571
- if: $ON_MR
7672
changes:
7773
paths:
78-
- .gitlab/ci/src_cache.yml
79-
- .gitlab/ci/builders.yml
74+
# - .gitlab/ci/src_cache.yml
75+
# - .gitlab/ci/builders.yml
8076
- .gitlab/ci/builders/**/*
8177
trigger:
8278
include: .gitlab/ci/builders.yml
@@ -105,6 +101,8 @@ full-code-format:
105101
.codechecker:
106102
image: ${CR_REGISTRY_URI}/srsgnb/codechecker:${DOCKER_BUILDER_VERSION}
107103
stage: static
104+
tags:
105+
- ${AMD64_TAG}
108106
needs:
109107
- job: builder version
110108
optional: false
@@ -153,6 +151,7 @@ full-code-format:
153151

154152
clang-tidy:
155153
extends: .codechecker
154+
stage: manual
156155
rules:
157156
- if: $ON_MR == "true" && $CI_MERGE_REQUEST_APPROVED == "true"
158157
- if: $ON_MR
@@ -179,6 +178,8 @@ clangsa:
179178
when: manual
180179
allow_failure: true
181180
- if: $CI_DESCRIPTION =~ /Weekly/
181+
when: manual
182+
allow_failure: true
182183
interruptible: false
183184
variables:
184185
ANALYZER: clangsa
@@ -192,7 +193,7 @@ clangsa:
192193
KUBERNETES_CPU_REQUEST: 7
193194
KUBERNETES_MEMORY_REQUEST: 13Gi
194195
tags:
195-
- ${INFRASTRUCTURE_TAG}
196+
- ${AMD64_TAG}
196197
interruptible: false
197198
script:
198199
- |
@@ -237,13 +238,41 @@ e2e tests tox:
237238

238239
# In build.yml
239240

241+
srsran docker compose:
242+
stage: build and unit tests
243+
image: docker:24.0.1
244+
tags:
245+
- docker
246+
rules:
247+
- if: $ON_MR
248+
changes:
249+
paths:
250+
- docker/**/*
251+
- .gitlab/ci/builders/install_dependencies.sh
252+
- .gitlab/ci/builders/builder.sh
253+
- if: $CI_DESCRIPTION =~ /Weekly/
254+
timeout: 2h
255+
variables:
256+
DOCKER_HOST: tcp://docker:2375/
257+
DOCKER_DRIVER: overlay2
258+
DOCKER_TLS_CERTDIR: ""
259+
services:
260+
- name: docker:24.0.1-dind
261+
alias: docker
262+
entrypoint: ["env", "-u", "DOCKER_HOST"]
263+
command: ["dockerd-entrypoint.sh"]
264+
script:
265+
- docker compose -f docker/docker-compose.yml run --no-deps gnb gnb --version
266+
- docker compose -f docker/docker-compose.yml run 5gc 5gc -v
267+
needs: []
268+
240269
################################################################################
241270
# Doc generation
242271
################################################################################
243272
unit coverage:
244273
stage: documentation
245274
image:
246-
name: ${CR_REGISTRY_URI}/${CI_TOOLS_REPO}/report-generator:5.1.10
275+
name: ${GITLAB_REGISTRY_URI}/${CI_TOOLS_REPO}/report-generator:5.1.10
247276
entrypoint: ["/bin/sh", "-c"]
248277
rules:
249278
- if: $ON_MR
@@ -320,7 +349,7 @@ pages:
320349
rules:
321350
- if: $CI_DESCRIPTION == "Nightly"
322351
when: always # Even if previous stages/required jobs fail
323-
image: ${CR_REGISTRY_URI}/${CI_TOOLS_REPO}/doxygen:2.0.0
352+
image: ${GITLAB_REGISTRY_URI}/${CI_TOOLS_REPO}/doxygen:2.0.0
324353
script:
325354
- mkdir public
326355
- mv coverage_html public/
@@ -352,7 +381,6 @@ pages:
352381
- sed -i 's/rf_tsan_job_id/'$( cat ./rf-tsan/job.env )'/' public/index.html
353382
- sed -i 's/rf_asan_job_id/'$( cat ./rf-asan/job.env )'/' public/index.html
354383
- sed -i 's/rf_b200_config_job_id/'$( cat ./rf-b200-config/job.env )'/' public/index.html
355-
356384
needs:
357385
- job: unit coverage
358386
artifacts: true

0 commit comments

Comments
 (0)