Skip to content

Commit

Permalink
Merge branch 'develop' into feature/add-simple-mentor-logic
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Nov 10, 2024
2 parents 6980dee + 0fb30c7 commit 19da15d
Show file tree
Hide file tree
Showing 17 changed files with 2,655 additions and 2,107 deletions.
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
### Description
<!-- Provide a brief summary of the changes. -->

### Testing Instructions
<!-- Explain how to test the changes made in this PR. -->

### Screenshots (if applicable)
<!-- Attach screenshots here. -->

Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/application-server-qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Application-Server QA

on:
pull_request:
paths:
- "server/application-server/**"
- "!server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceservice/**"
push:
paths:
- "server/application-server/**"
- "!server/application-server/src/main/java/de/tum/in/www1/hephaestus/intelligenceservice/**"
branches: [develop]

jobs:
quality:
name: Code Quality Checks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npm run prettier:java:check
6 changes: 6 additions & 0 deletions .github/workflows/generate-application-server-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
distribution: 'temurin'
java-version: '21'

- name: Set up directories
working-directory: server/application-server
run: |
mkdir -p ./keycloak-data
chmod -R 755 ./keycloak-data
- name: Install dependencies
run: npm install

Expand Down
18 changes: 12 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
{
"java.compile.nullAnalysis.mode": "automatic",
"java.configuration.updateBuildConfiguration": "interactive",
"java.completion.importOrder": ["#"],
"[java]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"tailwindCSS.experimental.classRegex": [
"cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]",
"cn\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"
"cva\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]",
"cn\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"python.testing.pytestArgs": ["."],
"python.testing.pytestEnabled": true,
"editor.defaultFormatter": "ms-python.autopep8"
},
"python.testing.pytestArgs": ["."],
"python.testing.pytestEnabled": true,
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
Expand Down
13 changes: 12 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ services:
- postgres
networks:
- app-network
healthcheck:
test: "wget -qO- http://localhost:8080/actuator/health || exit 1"
interval: 30s
timeout: 10s
retries: 5
start_period: 30s

postgres:
image: 'postgres:16'
Expand All @@ -28,7 +34,12 @@ services:
aliases:
- postgres
volumes:
- 'postgresql-data:/var/lib/postgresql/data'
- postgresql-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5

networks:
app-network:
Expand Down
Loading

0 comments on commit 19da15d

Please sign in to comment.