-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge in ITB/gitb from development to master * commit '5e94ce0d4dba0c79dd92b280c2b9f863e3312a6b': (179 commits) Update for release 1.24.0 Minor UI fix Replace the current API master key when set Re-labelled MASTER API key Minor UI improvement [ITB-1698] Dash character (-) not counted towards non-character password symbols [ITB-1697] Allow administrators of communities not linked to a specific domain to manage any domain Corrected titles for XML report previews Minor UI fix Label correction Corrected the ordering of specifications for shared test suites Bug fix Documentation improvement Load user information if needed in route guards Updated to gitb-types 1.24.0 Upgraded GitHub actions Baseline script correction Corrected deprecation warnings DB baseline for release 1.24.0 Updated ODC to v10.0.4 ...
- Loading branch information
Showing
497 changed files
with
24,270 additions
and
11,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
FROM mysql:8.4.0 | ||
FROM mysql:8.4.2 | ||
|
||
ENV MYSQL_ROOT_PASSWORD root | ||
ENV MYSQL_DATABASE gitb | ||
ENV MYSQL_USER gitb | ||
ENV MYSQL_PASSWORD gitb | ||
ENV MYSQL_ROOT_PASSWORD=root | ||
ENV MYSQL_DATABASE=gitb | ||
ENV MYSQL_USER=gitb | ||
ENV MYSQL_PASSWORD=gitb | ||
|
||
COPY gitb-entrypoint.sh /usr/local/bin | ||
COPY gitb.cnf /etc/mysql/conf.d | ||
RUN chmod 644 /etc/mysql/conf.d/gitb.cnf | ||
RUN chmod +x /usr/local/bin/gitb-entrypoint.sh | ||
RUN chmod 644 /etc/mysql/conf.d/gitb.cnf | ||
|
||
ENTRYPOINT ["/usr/local/bin/gitb-entrypoint.sh"] | ||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
if [[ -n "$MYSQL_ROOT_PASSWORD_FILE" ]] ; then | ||
unset MYSQL_ROOT_PASSWORD | ||
fi | ||
if [[ -n "$MYSQL_PASSWORD_FILE" ]] ; then | ||
unset MYSQL_PASSWORD | ||
fi | ||
exec /usr/local/bin/docker-entrypoint.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[mysqld] | ||
|
||
lower_case_table_names=1 | ||
max_allowed_packet=10485760 | ||
max_allowed_packet=10485760 | ||
mysql_native_password=ON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eclipse-temurin:17-jre-jammy | ||
FROM eclipse-temurin:21-jre-jammy | ||
|
||
RUN mkdir /itbsrv | ||
COPY itbsrv.war /itbsrv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
FROM eclipse-temurin:17-jre-jammy | ||
FROM eclipse-temurin:21-jre-jammy | ||
|
||
ENV PATH /usr/local/gitb-ui/bin:$PATH | ||
ENV TESTBED_SERVICE_URL http://gitb-srv:8080/itbsrv/TestbedService | ||
ENV TESTBED_CLIENT_URL http://gitb-ui:9090/TestbedClient | ||
ENV DB_DEFAULT_URL jdbc:mysql://gitb-mysql/gitb?characterEncoding=UTF-8&useUnicode=true&autoReconnect=true&useSSL=false&verifyServerCertificate=false&allowPublicKeyRetrieval=true | ||
ENV DB_DEFAULT_ROOTURL jdbc:mysql://gitb-mysql/ | ||
ENV REDIS_HOST gitb-redis | ||
ENV PATH=/usr/local/gitb-ui/bin:$PATH | ||
ENV TESTBED_SERVICE_URL=http://gitb-srv:8080/itbsrv/TestbedService | ||
ENV TESTBED_CLIENT_URL_INTERNAL=http://0.0.0.0:9090/TestbedClient | ||
ENV TESTBED_CLIENT_URL=http://gitb-ui:9090/TestbedClient | ||
ENV DB_DEFAULT_URL=jdbc:mysql://gitb-mysql/gitb?characterEncoding=UTF-8&useUnicode=true&autoReconnect=true&useSSL=false&verifyServerCertificate=false&allowPublicKeyRetrieval=true | ||
ENV DB_DEFAULT_ROOTURL=jdbc:mysql://gitb-mysql/ | ||
ENV REDIS_HOST=gitb-redis | ||
|
||
COPY gitb-ui /usr/local/gitb-ui | ||
COPY gitb-entrypoint.sh /usr/local/gitb-ui/bin | ||
RUN chmod +x /usr/local/gitb-ui/bin/gitb-entrypoint.sh | ||
|
||
EXPOSE 9000 | ||
EXPOSE 9090 | ||
WORKDIR /usr/local/gitb-ui | ||
CMD ["gitb"] | ||
|
||
ENTRYPOINT ["/usr/local/gitb-ui/bin/gitb-entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
cat > /usr/local/gitb-ui/conf/overrides.conf << EOF | ||
include "application" | ||
EOF | ||
|
||
if [[ -n "$DB_DEFAULT_PASSWORD_FILE" ]] ; then | ||
echo "slick.dbs.default.db.password=$(cat $DB_DEFAULT_PASSWORD_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
echo "db.default.password=$(cat $DB_DEFAULT_PASSWORD_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$APPLICATION_SECRET_FILE" ]] ; then | ||
echo "play.http.secret.key=$(cat $APPLICATION_SECRET_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$MASTER_PASSWORD_FILE" ]] ; then | ||
echo "masterPassword=$(cat $MASTER_PASSWORD_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$AUTOMATION_API_MASTER_KEY_FILE" ]] ; then | ||
echo "masterApiKey=$(cat $AUTOMATION_API_MASTER_KEY_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$HMAC_KEY_FILE" ]] ; then | ||
echo "hmac.key=$(cat $HMAC_KEY_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$DATA_ARCHIVE_KEY_FILE" ]] ; then | ||
echo "dataArchive.key=$(cat $DATA_ARCHIVE_KEY_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$PROXY_SERVER_AUTH_PASSWORD_FILE" ]] ; then | ||
echo "proxy.auth.password=$(cat $PROXY_SERVER_AUTH_PASSWORD_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
if [[ -n "$EMAIL_SMTP_AUTH_PASSWORD_FILE" ]] ; then | ||
echo "email.smtp.auth.password=$(cat $EMAIL_SMTP_AUTH_PASSWORD_FILE)" >> /usr/local/gitb-ui/conf/overrides.conf; | ||
fi | ||
|
||
exec gitb -Dconfig.file=/usr/local/gitb-ui/conf/overrides.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.