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
lizhongxiao
OpenXG-RAN
Commits
224ef792
Commit
224ef792
authored
Apr 22, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci-OC-image-tagging' into integration_2023_w16b
parents
4fdbcb04
64b4fbe7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ci-scripts/cls_cluster.py
ci-scripts/cls_cluster.py
+1
-1
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+1
-1
No files found.
ci-scripts/cls_cluster.py
View file @
224ef792
...
@@ -263,7 +263,6 @@ class Cluster:
...
@@ -263,7 +263,6 @@ class Cluster:
baseTag
=
'develop'
baseTag
=
'develop'
forceBaseImageBuild
=
False
forceBaseImageBuild
=
False
imageTag
=
'develop'
if
self
.
ranAllowMerge
:
# merging MR branch into develop -> temporary image
if
self
.
ranAllowMerge
:
# merging MR branch into develop -> temporary image
imageTag
=
f'
{
self
.
ranBranch
}
-
{
self
.
ranCommitID
[
0
:
8
]
}
'
imageTag
=
f'
{
self
.
ranBranch
}
-
{
self
.
ranCommitID
[
0
:
8
]
}
'
if
self
.
ranTargetBranch
==
'develop'
:
if
self
.
ranTargetBranch
==
'develop'
:
...
@@ -273,6 +272,7 @@ class Cluster:
...
@@ -273,6 +272,7 @@ class Cluster:
forceBaseImageBuild
=
True
forceBaseImageBuild
=
True
baseTag
=
'ci-temp'
baseTag
=
'ci-temp'
else
:
else
:
imageTag
=
f'develop-
{
self
.
ranCommitID
[
0
:
8
]
}
'
forceBaseImageBuild
=
True
forceBaseImageBuild
=
True
# logging to OC Cluster and then switch to corresponding project
# logging to OC Cluster and then switch to corresponding project
...
...
ci-scripts/cls_physim1.py
View file @
224ef792
...
@@ -114,7 +114,7 @@ class PhySim:
...
@@ -114,7 +114,7 @@ class PhySim:
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
logging
.
debug
(
'Merging with the target branch: '
+
self
.
ranTargetBranch
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
mySSH
.
command
(
'git merge --ff origin/'
+
self
.
ranTargetBranch
+
' -m "Temporary merge for CI"'
,
'\$'
,
30
)
else
:
else
:
imageTag
=
"develop"
imageTag
=
f'develop-
{
self
.
ranCommitID
[
0
:
8
]
}
'
# logging to OC Cluster and then switch to corresponding project
# logging to OC Cluster and then switch to corresponding project
mySSH
.
command
(
f'oc login -u
{
ocUserName
}
-p
{
ocPassword
}
--server https://api.oai.cs.eurecom.fr:6443'
,
'\$'
,
30
)
mySSH
.
command
(
f'oc login -u
{
ocUserName
}
-p
{
ocPassword
}
--server https://api.oai.cs.eurecom.fr:6443'
,
'\$'
,
30
)
...
...
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