Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
628ba81a
Commit
628ba81a
authored
9 years ago
by
Daniel Wagner-Hall
Browse files
Options
Downloads
Patches
Plain Diff
Share sytest clone across runs
Depends on
https://github.com/matrix-org/synapse/pull/380
parent
03204f54
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jenkins.sh
+8
-2
8 additions, 2 deletions
jenkins.sh
with
8 additions
and
2 deletions
jenkins.sh
+
8
−
2
View file @
628ba81a
...
...
@@ -17,14 +17,20 @@ export PEP8SUFFIX="--output-file=violations.flake8.log || echo flake8 finished w
tox
:
${
GIT_BRANCH
:
=
"
$(
git rev-parse
--abbrev-ref
HEAD
)
"
}
:
${
GIT_BRANCH
:
=
"
origin/
$(
git rev-parse
--abbrev-ref
HEAD
)
"
}
set
+u
.
.tox/py27/bin/activate
set
-u
if
[[
!
-e
.sytest-base
]]
;
then
git clone https://github.com/matrix-org/sytest.git .sytest-base
--mirror
else
(
cd
.sytest-base
;
git fetch
)
fi
rm
-rf
sytest
git clone
https://github.com/matrix-org/sytest.git sytest
git clone
.sytest-base sytest
--shared
cd
sytest
git checkout
"
${
GIT_BRANCH
}
"
||
(
echo
>
&2
"No ref
${
GIT_BRANCH
}
found, falling back to develop"
;
git checkout develop
)
...
...
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