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
91011932
Commit
91011932
authored
9 years ago
by
Daniel Wagner-Hall
Browse files
Options
Downloads
Patches
Plain Diff
Quot all the things
parent
c5e7c0e4
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
+2
-2
2 additions, 2 deletions
jenkins.sh
with
2 additions
and
2 deletions
jenkins.sh
+
2
−
2
View file @
91011932
...
...
@@ -52,7 +52,7 @@ RUN_POSTGRES=""
for
port
in
$((
$PORT_BASE
+
1
))
$((
$PORT_BASE
+
2
))
;
do
if
psql synapse_jenkins_
$port
<<<
""
;
then
RUN_POSTGRES
=
$RUN_POSTGRES
:
$port
RUN_POSTGRES
=
"
$RUN_POSTGRES
:
$port
"
cat
>
localhost-
$port
/database.yaml
<<
EOF
name: psycopg2
args:
...
...
@@ -62,7 +62,7 @@ EOF
done
# Run if both postgresql databases exist
if
test
$RUN_POSTGRES
=
":
$((
$PORT_BASE
+
1
))
:
$((
$PORT_BASE
+
2
))
"
;
then
if
test
"
$RUN_POSTGRES
"
=
":
$((
$PORT_BASE
+
1
))
:
$((
$PORT_BASE
+
2
))
"
;
then
echo
>
&2
"Running sytest with PostgreSQL"
;
$TOX_BIN
/pip
install
psycopg2
./run-tests.pl
--coverage
-O
tap
--synapse-directory
$WORKSPACE
\
...
...
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