-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,052 changed files
with
20,231 additions
and
60,648 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "Gamma Devcontainer", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
"remoteUser": "root", | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/java:1": { | ||
"version": "21", | ||
"jdkDistro": "open" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"version": "20" | ||
} | ||
}, | ||
|
||
"forwardPorts": [8081], | ||
|
||
"customizations" : { | ||
"jetbrains" : { | ||
"backend" : "IntelliJ" | ||
} | ||
} | ||
} |
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,31 @@ | ||
volumes: | ||
postgres-data: | ||
|
||
services: | ||
app: | ||
image: mcr.microsoft.com/devcontainers/base:ubuntu-22.04 | ||
volumes: | ||
- ../..:/workspaces:cached | ||
command: sleep infinity | ||
|
||
db: | ||
container_name: db | ||
image: postgres:16 | ||
restart: unless-stopped | ||
environment: | ||
POSTGRES_PASSWORD: "postgres" | ||
volumes: | ||
- postgres-data:/var/lib/postgresql/data | ||
|
||
redis: | ||
container_name: redis | ||
image: redis:5.0 | ||
restart: always | ||
|
||
gotify: | ||
container_name: gotify | ||
image: cthit/gotify:latest | ||
environment: | ||
GOTIFY_PRE-SHARED-KEY: "123abc" | ||
GOTIFY_MOCK-MODE: "true" | ||
GOTIFY_DEBUG-MODE: "true" |
Validating CODEOWNERS rules …
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 +1 @@ | ||
* @portals @gurr1 | ||
* @portals |
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,47 @@ | ||
name: Build Docker Image | ||
on: | ||
push: | ||
branches: [dev] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: "21" | ||
distribution: "adopt" | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to GitHub Container Registry | ||
if: ${{ github.ref == 'refs/heads/dev' }} | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Docker Build-Tag-Push my-app | ||
run: | | ||
./gradlew bootBuildImage | ||
docker tag gamma:2.0.0-SNAPSHOT ghcr.io/cthit/gamma:latest | ||
docker push ghcr.io/cthit/gamma:latest | ||
working-directory: ./app | ||
|
||
- name: Cleanup Gradle Cache | ||
|
||
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. | ||
# Restoring these files from a GitHub Actions cache might cause problems for future builds. | ||
run: | | ||
rm -f ~/.gradle/caches/modules-2/modules-2.lock | ||
rm -f ~/.gradle/caches/modules-2/gc.properties |
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,3 +1,4 @@ | ||
yarn-error.log | ||
frontend/node_modules/ | ||
.idea/* | ||
.DS_Store | ||
uploads/ | ||
.run |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.