-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feature/blackbox-t…
…ests
- Loading branch information
Showing
30 changed files
with
320 additions
and
165 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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Artemis-Dev-Postgres Setup | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
|
||
services: | ||
artemis-app: | ||
extends: | ||
file: ./artemis.yml | ||
service: artemis-app | ||
# just add this linux workaround for docker compose in a development version of artemis as developers | ||
# might want to access external services on the docker host | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
ports: | ||
- "8080:8080" | ||
- "5005:5005" # Java Remote Debugging port declared in the java cmd options | ||
# expose the port to make it reachable docker internally even if the external port mapping changes | ||
expose: | ||
- "5005" | ||
env_file: | ||
- ./artemis/config/dev.env | ||
- ./artemis/config/postgres.env | ||
depends_on: | ||
postgres: | ||
condition: service_healthy | ||
postgres: | ||
extends: | ||
file: ./postgres.yml | ||
service: postgres | ||
|
||
networks: | ||
artemis: | ||
driver: "bridge" | ||
name: artemis | ||
volumes: | ||
artemis-postgres-data: | ||
name: artemis-postgres-data | ||
artemis-data: | ||
name: artemis-data |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Artemis-Prod-Postgres Setup | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
|
||
services: | ||
artemis-app: | ||
extends: | ||
file: ./artemis.yml | ||
service: artemis-app | ||
depends_on: | ||
postgres: | ||
condition: service_healthy | ||
restart: on-failure:3 | ||
volumes: | ||
- ./.docker-data/artemis-data:/opt/artemis/data | ||
env_file: | ||
- ./artemis/config/postgres.env | ||
postgres: | ||
extends: | ||
file: ./postgres.yml | ||
service: postgres | ||
restart: on-failure:3 | ||
volumes: | ||
- ./.docker-data/artemis-postgres-data:/var/lib/postgresql/data | ||
nginx: | ||
extends: | ||
file: ./nginx.yml | ||
service: nginx | ||
# the artemis-app service needs to be started, otherwise there are problems with name resolution in docker | ||
depends_on: | ||
artemis-app: | ||
condition: service_started | ||
restart: on-failure:3 | ||
|
||
networks: | ||
artemis: | ||
driver: "bridge" | ||
name: artemis |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Common Artemis configurations for the Cypress E2E MySQL and Postgres setups | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
|
||
SPRING_DATASOURCE_PASSWORD="" | ||
SPRING_DATASOURCE_HIKARI_MAXIMUMPOOLSIZE="100" | ||
|
||
SPRING_JPA_HIBERNATE_CONNECTION_CHARSET="utf8mb4" | ||
SPRING_JPA_HIBERNATE_CONNECTION_CHARACTERENCODING="utf8mb4" | ||
SPRING_JPA_HIBERNATE_CONNECTION_USEUNICODE="true" | ||
|
||
SPRING_PROMETHEUS_MONITORINGIP="131.159.89.160" | ||
|
||
# for bamboo and bitbucket notifications on /api/programming-exercises/new-result it seems like port | ||
# 54321 is internally open for the bamboo agents | ||
# also can't use SSL for this as the hostnames are not integrated in the self-signed certificate | ||
SERVER_URL="http://${HOST_HOSTNAME}:54321" | ||
|
||
# We don't need secure passwords for testing. Lower rounds will speed up tests. 4 is the lowest | ||
ARTEMIS_BCRYPTSALTROUNDS="4" | ||
|
||
ARTEMIS_USERMANAGEMENT_INTERNALADMIN_USERNAME="${bamboo_artemis_admin_username}" | ||
ARTEMIS_USERMANAGEMENT_INTERNALADMIN_PASSWORD="${bamboo_artemis_admin_password}" | ||
ARTEMIS_USERMANAGEMENT_LOGIN_ACCOUNTNAME="TUM" | ||
|
||
ARTEMIS_CONTINUOUSINTEGRATION_EMPTYCOMMITNECESSARY="true" | ||
|
||
ARTEMIS_APOLLON_CONVERSIONSERVICEURL="https://apollon.ase.in.tum.de/api/converter" | ||
|
||
# Token is valid 3 days | ||
JHIPSTER_SECURITY_AUTHENTICATION_JWT_TOKENVALIDITYINSECONDS="259200" | ||
# Token is valid 30 days | ||
JHIPSTER_SECURITY_AUTHENTICATION_JWT_TOKENVALIDITYINSECONDSFORREMEMBERME="2592000" | ||
|
||
# Properties to be exposed on the /info management endpoint | ||
|
||
INFO_IMPRINT="https://ase.in.tum.de/lehrstuhl_1/component/content/article/179-imprint" | ||
INFO_TESTSERVER="true" | ||
INFO_TEXTASSESSMENTANALYTICSENABLED="true" | ||
INFO_STUDENTEXAMSTORESESSIONDATA="true" | ||
|
||
LOGGING_FILE_NAME="/opt/artemis/data/artemis.log" | ||
|
||
MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED="true" |
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,11 @@ | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Artemis configurations for Dev Artemis setups | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# The default Artemis Spring profiles for Docker are defined here. | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
|
||
SPRING_PROFILES_ACTIVE: artemis,scheduling,athena,dev,docker | ||
|
||
# The following enables the Java Remote Debugging port. More infos in the documentation: | ||
# https://ls1intum.github.io/Artemis/dev/setup.html#debugging-with-docker | ||
_JAVA_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 |
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,9 @@ | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Artemis configurations for Postgres setups | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
|
||
SPRING_DATASOURCE_URL="jdbc:postgresql://artemis-postgres:5432/Artemis?sslmode=disable" | ||
SPRING_DATASOURCE_USERNAME="postgres" | ||
|
||
SPRING_JPA_DATABASE_PLATFORM="org.hibernate.dialect.PostgreSQL10Dialect" | ||
SPRING_JPA_DATABASE="POSTGRESQL" |
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.