Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
7c68fb43
Commit
7c68fb43
authored
Jun 06, 2023
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase timeout for ran-base build, print os release, change of cmake on rhel distro
parent
f867ea00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
ci-scripts/cls_cluster.py
ci-scripts/cls_cluster.py
+1
-1
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+1
-1
docker/Dockerfile.base.rhel9
docker/Dockerfile.base.rhel9
+1
-0
No files found.
ci-scripts/cls_cluster.py
View file @
7c68fb43
...
...
@@ -306,7 +306,7 @@ class Cluster:
self
.
_recreate_bc
(
'ran-base'
,
baseTag
,
'openshift/ran-base-bc.yaml'
)
ranbase_job
=
self
.
_start_build
(
'ran-base'
)
attemptedImages
+=
[
'ran-base'
]
status
=
ranbase_job
is
not
None
and
self
.
_wait_build_end
([
ranbase_job
],
6
00
)
status
=
ranbase_job
is
not
None
and
self
.
_wait_build_end
([
ranbase_job
],
8
00
)
if
not
status
:
logging
.
error
(
'failure during build of ran-base'
)
self
.
cmd
.
run
(
f'oc logs
{
ranbase_job
}
&> cmake_targets/log/ran-base.log'
)
# cannot use cmd.run because of redirect
# recover logs by mounting image
...
...
cmake_targets/tools/build_helper
View file @
7c68fb43
...
...
@@ -32,7 +32,7 @@ OS_DISTRO=$(grep "^ID=" /etc/os-release | sed "s/ID=//" | sed "s/\"//g")
OS_RELEASE=$(grep "^VERSION_ID=" /etc/os-release | sed "s/VERSION_ID=//" | sed "s/\"//g")
case "$OS_DISTRO" in
fedora) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
rhel) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake
3
" ;;
rhel) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
rocky) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
centos) OS_BASEDISTRO="centos"; INSTALLER="yum"; CMAKE="cmake3" ;;
debian) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;;
...
...
docker/Dockerfile.base.rhel9
View file @
7c68fb43
...
...
@@ -44,6 +44,7 @@ ENV SMDEV_CONTAINER_OFF=1
RUN rm -f /etc/rhsm-host && \
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \
dnf update -y && \
cat /etc/os-release && \
dnf install -y \
#gcc needed for build_oai
gcc gcc-c++ \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment