Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ellipsyswrapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EllipSys
ellipsyswrapper
Commits
d4bf60aa
Commit
d4bf60aa
authored
6 months ago
by
Frederik Zahle
Browse files
Options
Downloads
Patches
Plain Diff
fix git pull error
parent
57d31b7e
No related branches found
No related tags found
1 merge request
!21
fix git pull error
Pipeline
#61215
passed
6 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ellipsyswrapper/testsuite.py
+4
-1
4 additions, 1 deletion
ellipsyswrapper/testsuite.py
with
4 additions
and
1 deletion
ellipsyswrapper/testsuite.py
+
4
−
1
View file @
d4bf60aa
...
@@ -164,7 +164,10 @@ class CaseRunner(object):
...
@@ -164,7 +164,10 @@ class CaseRunner(object):
os
.
system
(
'
git remote set-url origin %s
'
%
url2
)
os
.
system
(
'
git remote set-url origin %s
'
%
url2
)
command
=
'
git pull origin %s
'
%
self
.
make_test_data_branch
command
=
'
git pull origin %s
'
%
self
.
make_test_data_branch
print
(
'
checking remote branch %s for updates
'
%
self
.
make_test_data_branch
,
flush
=
True
)
print
(
'
checking remote branch %s for updates
'
%
self
.
make_test_data_branch
,
flush
=
True
)
status
=
subprocess
.
check_output
(
command
,
shell
=
True
)
try
:
status
=
subprocess
.
check_output
(
command
,
shell
=
True
)
except
:
print
(
"
no updates
"
)
command
=
'
git push origin %s
'
%
self
.
make_test_data_branch
command
=
'
git push origin %s
'
%
self
.
make_test_data_branch
print
(
'
pushing code with ellipsys_ci_bot user
'
,
flush
=
True
)
print
(
'
pushing code with ellipsys_ci_bot user
'
,
flush
=
True
)
status
=
subprocess
.
check_output
(
command
,
shell
=
True
)
status
=
subprocess
.
check_output
(
command
,
shell
=
True
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment