Skip to content

Commit 83013d3

Browse files
committed
fix: correct some small bugzilla 5.x setup problems
1 parent 74a4c15 commit 83013d3

File tree

5 files changed

+31
-0
lines changed

5 files changed

+31
-0
lines changed

mylyn.commons/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/CommonTestUtil.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,14 @@ public static boolean runHeartbeatTestsOnly() {
362362
return !Boolean.getBoolean("org.eclipse.mylyn.tests.all");
363363
}
364364

365+
/**
366+
* Returns whether to run a limited suite of tests. Returns true, unless a system property has been set to force running of all network
367+
* tests (using CI Server).
368+
*/
369+
public static boolean runNonCIServerTestsOnly() {
370+
return !Boolean.getBoolean("org.eclipse.mylyn.ci.server.tests");
371+
}
372+
365373
/**
366374
* Unzips the given zip file to the given destination directory extracting only those entries the pass through the given filter.
367375
*

org.eclipse.mylyn.releng/multipass/roles/bugzilla/files/versions/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ADD src /opt/
1313

1414
# Run build script
1515
RUN echo GIT_BRANCH_TAG=$GIT_BRANCH_TAG EXTRAINFO=$EXTRAINFO
16+
RUN mv /opt/answersV$GIT_BRANCH_TAG /opt/answers
1617
RUN /opt/build.sh GIT_BRANCH_TAG=$GIT_BRANCH_TAG EXTRAINFO="$EXTRAINFO"
1718

1819
# Run start script
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/answers
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
$answer{'webservergroup'} = 'www-data';
2+
$answer{'db_host'} = 'localhost';
3+
$answer{'db_driver'} = 'mariadb';
4+
$answer{'db_port'} = 0;
5+
$answer{'db_name'} = 'bugzilla';
6+
$answer{'db_user'} = 'bugs';
7+
$answer{'db_pass'} = 'ovlwq8';
8+
$answer{'ADMIN_OK'} = 'Y';
9+
$answer{'ADMIN_LOGIN'} = '[email protected]';
10+
$answer{'ADMIN_EMAIL'} = '[email protected]';
11+
$answer{'ADMIN_PASSWORD'} = 'main4Afo';
12+
$answer{'ADMIN_REALNAME'} = 'Mylyn Admin';
13+
$answer{'SMTP_SERVER'} = '';
14+
$answer{'usetargetmilestone'} = '1';
15+
$answer{'mail_delivery_method'} = 'None';
16+
$answer{'useqacontact'} = '1';
17+
$answer{'usestatuswhiteboard'} = '1';
18+
$answer{'maintainer'} = '[email protected]';
19+
$answer{'insidergroup'} = 'bz_canusewhineatothers';
20+
$answer{'use_email_as_login'} = '1';
21+
$answer{'NO_PAUSE'} = 1;

0 commit comments

Comments
 (0)