Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Managetests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Managetests
Commits
df271e89
Commit
df271e89
authored
Nov 01, 2016
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gulp builds failing when running managetests under upstart
Fixes
#8
parent
eb98fc63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
managetests/branches.py
managetests/branches.py
+6
-1
No files found.
managetests/branches.py
View file @
df271e89
...
@@ -102,8 +102,13 @@ class Branch:
...
@@ -102,8 +102,13 @@ class Branch:
"rm -rf %s/%s/*"
%
(
self
.
manager
.
caches_dir
,
self
.
name
),
"rm -rf %s/%s/*"
%
(
self
.
manager
.
caches_dir
,
self
.
name
),
]
]
# Provide to the command the current environment plus $HOME
# gulp fails otherwise
env
=
dict
(
os
.
environ
)
env
[
"HOME"
]
=
self
.
manager
.
build_dir
for
command
in
commands
:
for
command
in
commands
:
subprocess
.
call
(
command
,
shell
=
True
)
subprocess
.
call
(
command
,
shell
=
True
,
env
=
env
)
self
.
manager
.
details
[
"branches"
][
self
.
name
]
=
self
.
mr
self
.
manager
.
details
[
"branches"
][
self
.
name
]
=
self
.
mr
self
.
manager
.
save_details
()
self
.
manager
.
save_details
()
...
...
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