Skip to content
Snippets Groups Projects
Commit bd145f8c authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

Merge branch 'publish-u20-image' into 'develop'

chore(ci): switching to U20 for published images

See merge request !16
parents 989d2fbc edb35150
Branches master
Tags v1.5.1
1 merge request!16chore(ci): switching to U20 for published images
Pipeline #37203 passed
# RELEASE NOTES: #
## v1.5.1 -- May 2023 ##
* Code Refactoring for:
* Logging mechanism (runtime log level selection)
* Installation / build scripts
* Continuous Integration scripts
* Published image on Docker-Hub is using now Ubuntu-20 as base image
* We will soon obsolete the build system for Ubuntu18.04
## v1.5.0 -- January 2023 ##
* feat(fqdn): giving some time for FQDN resolution
......
......@@ -15,6 +15,19 @@ Please refer to the steps described on our website: [How to contribute to OAI](h
* The Continuous Integration will reject your pull request.
- All pull requests SHALL have **`develop`** branch as target branch.
## Synchronizing GIT sub-modules ##
We are using nested GIT submodules. To synchronize them, the 2 most important commands to know are :
1. `git submodule deinit --force .`
2. `git submodule update --init --recursive`
If you have non-tracked files or modified files within git submodules, these commands may not work.
Use the `--verbose` option to see the execution of each command.
If the synchronization fails, you may need to go into the path of the failing git-submodule(s) and clean the workspace from non-tracked/modified files.
## Coding Styles ##
We are using `clang-format` as formatting tool on the C/C++ code.
......
......@@ -213,7 +213,7 @@ pipeline {
script {
sh "sudo podman image prune --force"
sh "rm -Rf ./etc-pki-entitlement ./rhsm-conf ./rhsm-ca"
stash includes: 'archives/nef_podman_image_build.log', name: 'podmanBuildLog'
stash allowEmpty: true, includes: 'archives/nef_podman_image_build.log', name: 'podmanBuildLog'
}
}
}
......@@ -248,7 +248,7 @@ pipeline {
}
cleanup {
script {
stash includes: 'archives/cppcheck*.*', name: 'cppcheckLogs'
stash allowEmpty: true, includes: 'archives/cppcheck*.*', name: 'cppcheckLogs'
// no need to keep the cppcheck container
sh 'docker rm -f nef-ci-cppcheck || true'
sh 'docker rmi nef-cppcheck:test || true'
......@@ -285,7 +285,7 @@ pipeline {
post {
cleanup {
script {
stash includes: 'src/oai_rules_result*.txt', name: 'formatCheckLogs'
stash allowEmpty: true, includes: 'src/oai_rules_result*.txt, archives/clang_format_install.log', name: 'formatCheckLogs'
sh 'docker rm -f nef-ci-clang-format || true'
sh 'docker rmi nef-clang-format-check:test || true'
}
......
Subproject commit 99747a00750c678b24b72a2c377ae65086910077
Subproject commit b9ca1e67d3e4b4fee5075d90e98015698ab1f0a1
......@@ -58,7 +58,7 @@ class HtmlReport():
with open(os.path.join(cwd, REPORT_NAME), 'w') as wfile:
wfile.write(generate_header(args))
wfile.write(generate_git_info(args))
wfile.write(build_summary(args, 'nef', '18', '8'))
wfile.write(build_summary(args, 'nef', '20', '8'))
wfile.write(coding_formatting_log_check(args))
wfile.write(analyze_sca_log_check())
wfile.write(generate_footer())
......
#/*
# * 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-nef"
namespace: oaicicd-core
spec:
runPolicy: "Serial"
source:
type: "Binary"
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.nef.rhel8"
output:
to:
kind: "ImageStreamTag"
name: "oai-nef:develop"
#/*
# * 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: image.openshift.io/v1
kind: ImageStream
metadata:
name: oai-nef
namespace: oaicicd-core
spec:
lookupPolicy:
local: true
status:
tag: develop
......@@ -31,7 +31,7 @@
#---------------------------------------------------------------------
# BASE IMAGE
#---------------------------------------------------------------------
ARG BASE_IMAGE=ubuntu:bionic
ARG BASE_IMAGE=ubuntu:focal
FROM $BASE_IMAGE as oai-nef-base
ENV DEBIAN_FRONTEND=noninteractive
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment