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
580b2f32
Commit
580b2f32
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create physim BuildConfig and harmonize ImageStream filename
parent
d524bbb0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
1 deletion
+45
-1
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+1
-1
openshift/oai-physim-bc.yaml
openshift/oai-physim-bc.yaml
+41
-0
openshift/oai-physim-is.yaml
openshift/oai-physim-is.yaml
+3
-0
No files found.
ci-scripts/cls_physim1.py
View file @
580b2f32
...
...
@@ -173,7 +173,7 @@ class PhySim:
else
:
logging
.
debug
(
'
\u001B
[1m Podman Login to OC Cluster Registry Successfully
\u001B
[0m'
)
time
.
sleep
(
2
)
mySSH
.
command
(
'oc create -f openshift/oai-physim-i
mage-stream
.yml || true'
,
'\$'
,
30
)
mySSH
.
command
(
'oc create -f openshift/oai-physim-i
s
.yml || true'
,
'\$'
,
30
)
if
mySSH
.
getBefore
().
count
(
'(AlreadyExists):'
)
==
0
and
mySSH
.
getBefore
().
count
(
'created'
)
==
0
:
logging
.
error
(
f'
\u001B
[1m Image Stream "oai-physim" Creation Failed on OC Cluster
{
ocProjectName
}
\u001B
[0m'
)
mySSH
.
command
(
'sudo podman logout https://default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/'
,
'\$'
,
6
)
...
...
This diff is collapsed.
Click to expand it.
openshift/oai-physim-bc.yaml
0 → 100644
View file @
580b2f32
#/*
# * 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-physim"
spec
:
runPolicy
:
"
Serial"
source
:
type
:
"
Binary"
strategy
:
dockerStrategy
:
dockerfilePath
:
"
docker/Dockerfile.phySim.rhel8.2"
from
:
kind
:
ImageStreamTag
namespace
:
oaicicd-ran
name
:
oai-ran-base:latest
output
:
to
:
kind
:
"
ImageStreamTag"
name
:
"
oai-physim:latest"
This diff is collapsed.
Click to expand it.
openshift/oai-physim-i
mage-stream.y
ml
→
openshift/oai-physim-i
s.ya
ml
View file @
580b2f32
...
...
@@ -24,6 +24,9 @@ apiVersion: image.openshift.io/v1
kind
:
ImageStream
metadata
:
name
:
oai-physim
namespace
:
oaicicd-ran
spec
:
lookupPolicy
:
local
:
true
status
:
tag
:
latest
This diff is collapsed.
Click to expand it.
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