Skip to content

Commit 57cb38f

Browse files
committed
ci: coverity upgrade in progress
1 parent 570fd0c commit 57cb38f

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

.gitlab-ci.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -315,43 +315,43 @@ clangsa:
315315
ANALYZER_ARGS: --ctu
316316
timeout: 8 hours
317317

318-
.coverity_base:
319-
image: $CR_REGISTRY_URI/coverity_image/2022.6.0:1.0.0
320-
stage: static
321-
needs: []
322-
variables:
323-
KUBERNETES_CPU_REQUEST: 6
324-
KUBERNETES_CPU_LIMIT: 6
325-
KUBERNETES_MEMORY_REQUEST: 12Gi
326-
KUBERNETES_MEMORY_LIMIT: 12Gi
327-
tags:
328-
- amd64
329-
interruptible: false
330-
timeout: 2 hours
331-
script:
332-
- |
333-
mkdir -p build
334-
cd build
335-
cmake ..
336-
cov-build --dir cov-int make -j${KUBERNETES_CPU_REQUEST}
337-
tar czvf srsgnb.tgz cov-int
338-
ver=$(git rev-parse HEAD)
339-
- |
340-
curl --form token=$COV_TOKEN \
341-
--form email=${COVERITY_EMAIL} \
342-
343-
--form version=$ver \
344-
--form description="${DESCRIPTION}" \
345-
https://scan.coverity.com/builds?project=${PROJECT_NAME}
318+
# .coverity_base:
319+
# image: $CR_REGISTRY_URI/coverity_image/2022.6.0:1.0.0
320+
# stage: static
321+
# needs: []
322+
# variables:
323+
# KUBERNETES_CPU_REQUEST: 6
324+
# KUBERNETES_CPU_LIMIT: 6
325+
# KUBERNETES_MEMORY_REQUEST: 12Gi
326+
# KUBERNETES_MEMORY_LIMIT: 12Gi
327+
# tags:
328+
# - amd64
329+
# interruptible: false
330+
# timeout: 2 hours
331+
# script:
332+
# - |
333+
# mkdir -p build
334+
# cd build
335+
# cmake ..
336+
# cov-build --dir cov-int make -j${KUBERNETES_CPU_REQUEST}
337+
# tar czvf srsgnb.tgz cov-int
338+
# ver=$(git rev-parse HEAD)
339+
# - |
340+
# curl --form token=$COV_TOKEN \
341+
# --form email=${COVERITY_EMAIL} \
342+
343+
# --form version=$ver \
344+
# --form description="${DESCRIPTION}" \
345+
# https://scan.coverity.com/builds?project=${PROJECT_NAME}
346346

347-
coverity-dev:
348-
extends: .coverity_base
349-
rules:
350-
- if: $CI_DESCRIPTION =~ /Weekly/
351-
before_script:
352-
- export PROJECT_NAME="srsRAN_5G"
353-
- export DESCRIPTION="srsRAN Project dev build"
354-
- export COV_TOKEN="${COVERITY_TOKEN_DEV}"
347+
# coverity-dev:
348+
# extends: .coverity_base
349+
# rules:
350+
# - if: $CI_DESCRIPTION =~ /Weekly/
351+
# before_script:
352+
# - export PROJECT_NAME="srsRAN_5G"
353+
# - export DESCRIPTION="srsRAN Project dev build"
354+
# - export COV_TOKEN="${COVERITY_TOKEN_DEV}"
355355

356356
e2e tests tox:
357357
stage: static

.gitlab/ci/release.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -117,29 +117,29 @@ generate testvector tar gz:
117117
- phy_testvectors.tar
118118
expire_in: "30 days"
119119

120-
coverity-agpl:
121-
extends: .coverity_base
122-
stage: private
123-
rules:
124-
- if: *on_public_push
125-
- if: *on_public_release
126-
variables:
127-
GIT_STRATEGY: none
128-
PRIVATE_BRANCH: ""
129-
before_script:
130-
- export PROJECT_NAME="srsRAN_5G_agpl"
131-
- export DESCRIPTION="srsRAN Project AGPL build"
132-
- export COV_TOKEN="${COVERITY_TOKEN_AGPL}"
133-
# Download agpl branch
134-
- git config --global user.name "${CODEBOT_USERNAME}"
135-
- git config --global user.email "${CODEBOT_LONG_USERNAME}@noreply.gitlab.com"
136-
- git clone --depth 1 --branch $PRIVATE_BRANCH https://${CODEBOT_USERNAME}:${CODEBOT_TOKEN}@gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}.git /${CI_PROJECT_NAME}
137-
- cd /${CI_PROJECT_NAME}
138-
needs:
139-
- *release-var-needs
140-
- job: update private branch
141-
optional: false
142-
artifacts: false
120+
# coverity-agpl:
121+
# extends: .coverity_base
122+
# stage: private
123+
# rules:
124+
# - if: *on_public_push
125+
# - if: *on_public_release
126+
# variables:
127+
# GIT_STRATEGY: none
128+
# PRIVATE_BRANCH: ""
129+
# before_script:
130+
# - export PROJECT_NAME="srsRAN_5G_agpl"
131+
# - export DESCRIPTION="srsRAN Project AGPL build"
132+
# - export COV_TOKEN="${COVERITY_TOKEN_AGPL}"
133+
# # Download agpl branch
134+
# - git config --global user.name "${CODEBOT_USERNAME}"
135+
# - git config --global user.email "${CODEBOT_LONG_USERNAME}@noreply.gitlab.com"
136+
# - git clone --depth 1 --branch $PRIVATE_BRANCH https://${CODEBOT_USERNAME}:${CODEBOT_TOKEN}@gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}.git /${CI_PROJECT_NAME}
137+
# - cd /${CI_PROJECT_NAME}
138+
# needs:
139+
# - *release-var-needs
140+
# - job: update private branch
141+
# optional: false
142+
# artifacts: false
143143

144144
################################################################################
145145
# Publish

0 commit comments

Comments
 (0)