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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
e598df84
Commit
e598df84
authored
Aug 21, 2020
by
hardy
Committed by
Raphael Defosseux
Oct 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[OC][Docker][RHEL8] Initial Support
parent
bdc1fa4e
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
564 additions
and
20 deletions
+564
-20
cmake_targets/build_oai
cmake_targets/build_oai
+14
-6
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+37
-14
docker/Dockerfile.eNB.rhel7.oc4-4
docker/Dockerfile.eNB.rhel7.oc4-4
+83
-0
docker/Dockerfile.gNB.rhel7.oc4-4
docker/Dockerfile.gNB.rhel7.oc4-4
+89
-0
docker/Dockerfile.ran.rhel7.oc4-4
docker/Dockerfile.ran.rhel7.oc4-4
+74
-0
openshift/oai-enb-build-config.yml
openshift/oai-enb-build-config.yml
+55
-0
openshift/oai-enb-image-stream.yml
openshift/oai-enb-image-stream.yml
+30
-0
openshift/oai-gnb-build-config.yml
openshift/oai-gnb-build-config.yml
+55
-0
openshift/oai-gnb-image-stream.yml
openshift/oai-gnb-image-stream.yml
+30
-0
openshift/oai-ran-build-config.yml
openshift/oai-ran-build-config.yml
+52
-0
openshift/oai-ran-image-stream.yml
openshift/oai-ran-image-stream.yml
+30
-0
openshift/oc_init_enb.sh
openshift/oc_init_enb.sh
+5
-0
openshift/oc_init_gnb.sh
openshift/oc_init_gnb.sh
+5
-0
openshift/oc_init_ran.sh
openshift/oc_init_ran.sh
+5
-0
No files found.
cmake_targets/build_oai
View file @
e598df84
...
@@ -647,13 +647,21 @@ function main() {
...
@@ -647,13 +647,21 @@ function main() {
$build_dir
coding
\
$build_dir
coding
\
libcoding.so
$dbin
/libcoding.so
libcoding.so
$dbin
/libcoding.so
compilations
\
$build_dir
nasmesh
\
CMakeFiles/nasmesh/nasmesh.ko
$dbin
/nasmesh.ko
compilations
\
#check if we run inside a container or not
$build_dir
rb_tool
\
#IS_CONTAINER variable is defined in build_helper file
rb_tool
$dbin
/rb_tool
#compile nasmesh and rb_tool only if NOT running in a container
if
[
$IS_CONTAINER
-eq
0
]
then
compilations
\
$build_dir
nasmesh
\
CMakeFiles/nasmesh/nasmesh.ko
$dbin
/nasmesh.ko
compilations
\
$build_dir
rb_tool
\
rb_tool
$dbin
/rb_tool
fi
#IS_CONTAINER
cp
$OPENAIR_DIR
/cmake_targets/tools/init_nas_nos1
$dbin
cp
$OPENAIR_DIR
/cmake_targets/tools/init_nas_nos1
$dbin
fi
fi
...
...
cmake_targets/tools/build_helper
View file @
e598df84
...
@@ -40,7 +40,15 @@ esac
...
@@ -40,7 +40,15 @@ esac
KERNEL_VERSION=$(uname -r | cut -d '.' -f1)
KERNEL_VERSION=$(uname -r | cut -d '.' -f1)
KERNEL_MAJOR=$(uname -r | cut -d '.' -f2)
KERNEL_MAJOR=$(uname -r | cut -d '.' -f2)
SUDO='sudo -E'
#check if we run inside a container
IS_CONTAINER=`egrep -c "docker|kubepods" /proc/self/cgroup`
#sudo is not needed inside a container
if [ $IS_CONTAINER -eq 0 ]
then
SUDO='sudo -S -E'
else
SUDO=''
fi
###############################
###############################
## echo and family
## echo and family
...
@@ -104,6 +112,7 @@ check_supported_distribution() {
...
@@ -104,6 +112,7 @@ check_supported_distribution() {
"rhel7") return 0 ;;
"rhel7") return 0 ;;
"rhel7.6") return 0 ;;
"rhel7.6") return 0 ;;
"rhel7.7") return 0 ;;
"rhel7.7") return 0 ;;
"rhel7.8") return 0 ;;
"centos7") return 0 ;;
"centos7") return 0 ;;
esac
esac
return 1
return 1
...
@@ -234,29 +243,43 @@ compilations() {
...
@@ -234,29 +243,43 @@ compilations() {
install_protobuf_from_source(){
install_protobuf_from_source(){
protobuf_install_log=$OPENAIR_DIR/cmake_targets/log/protobuf_install_log.txt
protobuf_install_log=$OPENAIR_DIR/cmake_targets/log/protobuf_install_log.txt
echo_info "\nInstalling Google Protobuf from sources. The log file for Protobuf installation is here: $protobuf_install_log "
echo_info "\nInstalling Google Protobuf from sources. The log file for Protobuf installation is here: $protobuf_install_log "
(
#commented for debug
(
cd /tmp
cd /tmp
echo "Downloading protobuf"
echo "Downloading protobuf"
#rm -rf /tmp/protobuf-2.6.1.tar.gz* /tmp/protobuf-2.6.1
#rm -rf /tmp/protobuf-2.6.1.tar.gz* /tmp/protobuf-2.6.1
#wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
#wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
#tar -xzvf protobuf-2.6.1.tar.gz --owner $USER --group $USER --no-same-owner
#tar -xzvf protobuf-2.6.1.tar.gz --owner $USER --group $USER --no-same-owner
#cd protobuf-2.6.1/
#cd protobuf-2.6.1/
rm -rf /tmp/protobuf-cpp-3.3.0.tar.gz* /tmp/protobuf-3.3.0
wget --tries=3 --retry-connrefused https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz
if [ $IS_CONTAINER -eq 0 ]
tar -xzvf protobuf-cpp-3.3.0.tar.gz --owner $USER --group $(groups | cut -d" " -f1) --no-same-owner
then
cd protobuf-3.3.0/
rm -rf /tmp/protobuf-cpp-3.3.0.tar.gz* /tmp/protobuf-3.3.0
./configure
wget --tries=3 --retry-connrefused https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz
echo "Compiling protobuf"
tar -xzvf protobuf-cpp-3.3.0.tar.gz --owner $USER --group $(groups | cut -d" " -f1) --no-same-owner
make -j`nproc`
cd protobuf-3.3.0/
$SUDO make install
./configure
$SUDO ldconfig
echo "Compiling protobuf"
) >& $protobuf_install_log
make -j`nproc`
$SUDO make install
$SUDO ldconfig
else
export LD_LIBRARY_PATH=/usr/local/lib #protoc needs to know where toclook for shared libs
rm -rf /tmp/protobuf
git clone --depth=1 --branch=v3.3.0 https://github.com/protocolbuffers/protobuf.git /tmp/protobuf
cd /tmp/protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make -j`nproc`
make install
fi
#commented for debug ) >& $protobuf_install_log
}
}
install_protobuf_c_from_source(){
install_protobuf_c_from_source(){
protobuf_c_install_log=$OPENAIR_DIR/cmake_targets/log/protobuf_c_install_log.txt
protobuf_c_install_log=$OPENAIR_DIR/cmake_targets/log/protobuf_c_install_log.txt
echo_info "\nInstalling Google Protobuf_C from sources. The log file for Protobuf_C installation is here: $protobuf_c_install_log "
echo_info "\nInstalling Google Protobuf_C from sources. The log file for Protobuf_C installation is here: $protobuf_c_install_log "
(
#commented for debug
(
if [[ "$OS_DISTRO" == "rhel" ]] || [[ "$OS_DISTRO" == "centos" ]]; then
if [[ "$OS_DISTRO" == "rhel" ]] || [[ "$OS_DISTRO" == "centos" ]]; then
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
fi
fi
...
@@ -272,7 +295,7 @@ install_protobuf_c_from_source(){
...
@@ -272,7 +295,7 @@ install_protobuf_c_from_source(){
make -j`nproc`
make -j`nproc`
$SUDO make install
$SUDO make install
$SUDO ldconfig
$SUDO ldconfig
) >& $protobuf_c_install_log
#commented for debug
) >& $protobuf_c_install_log
}
}
install_usrp_uhd_driver_from_source(){
install_usrp_uhd_driver_from_source(){
...
...
docker/Dockerfile.eNB.rhel7.oc4-4
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
# Dockerfile for the Open-Air-Interface BUILD service
# Valid for RHEL7 in the OpenShift context (v4.4)
#
#---------------------------------------------------------------------
FROM image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-ran:ci-ran-tmp AS enb-build
WORKDIR /oai-enb
COPY . .
#run build_oai to build the target image
RUN /bin/sh oaienv && \
cd cmake_targets && \
mkdir -p log && \
./build_oai --eNB
#start from scratch for target executable
FROM registry.access.redhat.com/ubi7/ubi:latest as oai-enb
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
# It is pre-requisite
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
# Copy the entitlements
COPY ./etc-pki-entitlement /etc/pki/entitlement
# Copy the subscription manager configurations
COPY ./rhsm-conf /etc/rhsm
COPY ./rhsm-ca /etc/rhsm/ca
#install developers pkg/repo
RUN rm /etc/rhsm-host && \
# Initialize /etc/yum.repos.d/redhat.repo
# See https://access.redhat.com/solutions/1443553
yum repolist --disablerepo=* && \
yum-config-manager --enable rhel-7-server-optional-rpms rhel-server-rhscl-7-rpms && \
yum update -y && \
yum install -y \
lksctp-tools \
protobuf-c \
nettle \
libyaml && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf
WORKDIR /opt/oai-enb/bin
COPY --from=enb-build /oai-enb/targets/bin/lte-softmodem.Rel15 .
RUN ldd lte-softmodem.Rel15
#EXPOSE 2152/udp # S1U, GTP/UDP
#EXPOSE 22100/tcp # ?
#EXPOSE 36412/udp # S1C, SCTP/UDP
#EXPOSE 36422/udp # X2C, SCTP/UDP
#EXPOSE 50000/udp # IF5 / ORI (control)
#EXPOSE 50001/udp # IF5 / ECPRI (data)
#CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]
#ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
docker/Dockerfile.gNB.rhel7.oc4-4
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
# Dockerfile for the Open-Air-Interface BUILD service
# Valid for RHEL7 in the OpenShift context (v4.4)
#
#---------------------------------------------------------------------
FROM image-registry.openshift-image-registry.svc:5000/oaicicd-ran-tmp/oai-ran:ci-ran-tmp AS gnb-build
WORKDIR /oai-gnb
COPY . .
#run build_oai to build the target image
RUN /bin/sh oaienv && \
cd cmake_targets && \
mkdir -p log && \
./build_oai --gNB
#start from scratch for target executable
FROM registry.access.redhat.com/ubi7/ubi:latest as oai-gnb
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
# It is pre-requisite
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
# Copy the entitlements
COPY ./etc-pki-entitlement /etc/pki/entitlement
# Copy the subscription manager configurations
COPY ./rhsm-conf /etc/rhsm
COPY ./rhsm-ca /etc/rhsm/ca
#install developers pkg/repo
RUN rm /etc/rhsm-host && \
# Initialize /etc/yum.repos.d/redhat.repo
# See https://access.redhat.com/solutions/1443553
yum repolist --disablerepo=* && \
yum-config-manager --enable rhel-7-server-optional-rpms rhel-server-rhscl-7-rpms && \
yum update -y && \
yum install -y \
libXpm \
libX11 \
atlas \
blas \
lapack \
lksctp-tools \
protobuf-c \
nettle \
libyaml && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf
WORKDIR /opt/oai-gnb/bin
COPY --from=gnb-build /oai-gnb/targets/bin/nr-softmodem.Rel15 .
WORKDIR /lib64
COPY --from=gnb-build /lib64/libforms.so.2 .
RUN ldd /opt/oai-gnb/bin/nr-softmodem.Rel15
#EXPOSE 2152/udp # S1U, GTP/UDP
#EXPOSE 22100/tcp # ?
#EXPOSE 36412/udp # S1C, SCTP/UDP
#EXPOSE 36422/udp # X2C, SCTP/UDP
#EXPOSE 50000/udp # IF5 / ORI (control)
#EXPOSE 50001/udp # IF5 / ECPRI (data)
#CMD ["/opt/oai-gnb/bin/nr-softmodem", "-O", "/opt/oai-gnb/etc/gnb.conf"]
#ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
docker/Dockerfile.ran.rhel7.oc4-4
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
# Dockerfile for the Open-Air-Interface BUILD service
# Valid for RHEL7 in the OpenShift context (v4.4)
#
#---------------------------------------------------------------------
FROM registry.access.redhat.com/ubi7/ubi:latest AS ran-build
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
# It is pre-requisite
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
# Copy the entitlements
COPY ./etc-pki-entitlement /etc/pki/entitlement
# Copy the subscription manager configurations
COPY ./rhsm-conf /etc/rhsm
COPY ./rhsm-ca /etc/rhsm/ca
#install developers pkg/repo
RUN rm /etc/rhsm-host && \
# Initialize /etc/yum.repos.d/redhat.repo
# See https://access.redhat.com/solutions/1443553
yum repolist --disablerepo=* && \
yum-config-manager --enable rhel-7-server-optional-rpms rhel-server-rhscl-7-rpms && \
yum update -y && \
yum install -y \
#gcc needed for build_oai
gcc gcc-c++ \
diffutils \
file \
psmisc \
git \
#unzip is needed for protobuf
unzip && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf
# In some network environments, GIT proxy is required
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
#create the WORKDIR
WORKDIR /oai-ran
COPY . .
#run build_oai -I to get the builder image
RUN /bin/sh oaienv && \
cd cmake_targets && \
mkdir -p log && \
./build_oai -I
#as the image is public, we need to remove the subscription manager configurations
#RUN rm -Rf /etc/rhsm /etc/pki/entitlement
openshift/oai-enb-build-config.yml
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
metadata
:
name
:
"
oai-enb-build-config"
spec
:
runPolicy
:
"
Serial"
source
:
#still needed for the target image
git
:
uri
:
"
https://gitlab.eurecom.fr/oai/openairinterface5g.git"
ref
:
"
rh_ci_oc"
httpProxy
:
http://proxy.eurecom.fr:8080
httpsProxy
:
https://proxy.eurecom.fr:8080
secrets
:
-
secret
:
name
:
etc-pki-entitlement
destinationDir
:
etc-pki-entitlement
configMaps
:
-
configMap
:
name
:
rhsm-conf
destinationDir
:
rhsm-conf
-
configMap
:
name
:
rhsm-ca
destinationDir
:
rhsm-ca
strategy
:
#using both builder image and target image docker
dockerStrategy
:
dockerfilePath
:
"
docker/Dockerfile.eNB.rhel7.oc4-4"
output
:
to
:
kind
:
"
ImageStreamTag"
name
:
"
oai-enb:ci-ran-tmp"
openshift/oai-enb-image-stream.yml
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
apiVersion
:
v1
kind
:
ImageStream
metadata
:
name
:
oai-enb
namespace
:
oaicicd-ran-tmp
status
:
tag
:
ci-ran-tmp
openshift/oai-gnb-build-config.yml
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
metadata
:
name
:
"
oai-gnb-build-config"
spec
:
runPolicy
:
"
Serial"
source
:
#still needed for the target image
git
:
uri
:
"
https://gitlab.eurecom.fr/oai/openairinterface5g.git"
ref
:
"
rh_ci_oc"
httpProxy
:
http://proxy.eurecom.fr:8080
httpsProxy
:
https://proxy.eurecom.fr:8080
secrets
:
-
secret
:
name
:
etc-pki-entitlement
destinationDir
:
etc-pki-entitlement
configMaps
:
-
configMap
:
name
:
rhsm-conf
destinationDir
:
rhsm-conf
-
configMap
:
name
:
rhsm-ca
destinationDir
:
rhsm-ca
strategy
:
#using both builder image and target image docker
dockerStrategy
:
dockerfilePath
:
"
docker/Dockerfile.gNB.rhel7.oc4-4"
output
:
to
:
kind
:
"
ImageStreamTag"
name
:
"
oai-gnb:ci-ran-tmp"
openshift/oai-gnb-image-stream.yml
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
apiVersion
:
v1
kind
:
ImageStream
metadata
:
name
:
oai-gnb
namespace
:
oaicicd-ran-tmp
status
:
tag
:
ci-ran-tmp
openshift/oai-ran-build-config.yml
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
metadata
:
name
:
"
oai-ran-build-config"
spec
:
runPolicy
:
"
Serial"
source
:
git
:
uri
:
"
https://gitlab.eurecom.fr/oai/openairinterface5g.git"
ref
:
"
rh_ci_oc"
httpProxy
:
http://proxy.eurecom.fr:8080
httpsProxy
:
https://proxy.eurecom.fr:8080
secrets
:
-
secret
:
name
:
etc-pki-entitlement
destinationDir
:
etc-pki-entitlement
configMaps
:
-
configMap
:
name
:
rhsm-conf
destinationDir
:
rhsm-conf
-
configMap
:
name
:
rhsm-ca
destinationDir
:
rhsm-ca
strategy
:
dockerStrategy
:
dockerfilePath
:
"
docker/Dockerfile.ran.rhel7.oc4-4"
output
:
to
:
kind
:
"
ImageStreamTag"
name
:
"
oai-ran:ci-ran-tmp"
openshift/oai-ran-image-stream.yml
0 → 100644
View file @
e598df84
#/*
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# * contributor license agreements. See the NOTICE file distributed with
# * this work for additional information regarding copyright ownership.
# * The OpenAirInterface Software Alliance licenses this file to You under
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
# * except in compliance with the License.
# * You may obtain a copy of the License at
# *
# * http://www.openairinterface.org/?page_id=698
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# *-------------------------------------------------------------------------------
# * For more information about the OpenAirInterface (OAI) Software Alliance:
# * contact@openairinterface.org
# */
#---------------------------------------------------------------------
#
apiVersion
:
v1
kind
:
ImageStream
metadata
:
name
:
oai-ran
namespace
:
oaicicd-ran-tmp
status
:
tag
:
ci-ran-tmp
openshift/oc_init_enb.sh
0 → 100644
View file @
e598df84
#!/bin/sh
oc apply
-f
openshift/oai-enb-image-stream.yml
oc apply
-f
openshift/oai-enb-build-config.yml
oc
set env
bc/oai-enb-build-config
NEEDED_GIT_PROXY
=
http://proxy.eurecom.fr:8080
oc start-build oai-enb-build-config
--follow
openshift/oc_init_gnb.sh
0 → 100644
View file @
e598df84
#!/bin/sh
oc apply
-f
openshift/oai-gnb-image-stream.yml
oc apply
-f
openshift/oai-gnb-build-config.yml
oc
set env
bc/oai-gnb-build-config
NEEDED_GIT_PROXY
=
http://proxy.eurecom.fr:8080
oc start-build oai-gnb-build-config
--follow
openshift/oc_init_ran.sh
0 → 100644
View file @
e598df84
#!/bin/sh
oc apply
-f
openshift/oai-ran-image-stream.yml
oc apply
-f
openshift/oai-ran-build-config.yml
oc
set env
bc/oai-ran-build-config
NEEDED_GIT_PROXY
=
http://proxy.eurecom.fr:8080
oc start-build oai-ran-build-config
--follow
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