Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c195968e04 |
@@ -5,7 +5,6 @@ on:
|
|||||||
- 'main'
|
- 'main'
|
||||||
paths:
|
paths:
|
||||||
- '**/docker-compose.yml'
|
- '**/docker-compose.yml'
|
||||||
- '**/pr-cloudflare-docker-deploy.yml'
|
|
||||||
- '!ansible/**.yml'
|
- '!ansible/**.yml'
|
||||||
jobs:
|
jobs:
|
||||||
check-and-create-pr:
|
check-and-create-pr:
|
||||||
@@ -57,25 +56,20 @@ jobs:
|
|||||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||||
notification_title: 'GITEA: PR Check'
|
notification_title: 'GITEA: PR Check'
|
||||||
notification_message: 'PR Created 🎟️'
|
notification_message: 'PR Created 🎟️'
|
||||||
docker-compose-dry-run:
|
docker-compose-ansible-lints:
|
||||||
name: Docker Compose Dry Run
|
name: Docker Compose & Ansible Lints
|
||||||
needs: [check-and-create-pr]
|
needs: [check-and-create-pr]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }}
|
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }}
|
||||||
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
|
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
|
||||||
VAULT_NAMESPACE: ""
|
VAULT_NAMESPACE: ""
|
||||||
outputs:
|
|
||||||
svc_deploy_list: ${{ steps.modded_svcs.outputs.rinoa_svcs }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Fetch base branch
|
- name: Fetch base branch
|
||||||
run: |
|
run: |
|
||||||
git fetch origin ${{ github.event.pull_request.base.ref }}
|
git fetch origin ${{ github.event.pull_request.base.ref }}
|
||||||
- name: Login to Gitea Container Registry
|
|
||||||
run: |
|
|
||||||
docker login -u gitea-sonarqube-bot -p ${{ secrets.BOT_GITEA_TOKEN }} https://git.trez.wtf
|
|
||||||
- name: Save both versions of docker-compose.yml
|
- name: Save both versions of docker-compose.yml
|
||||||
run: |
|
run: |
|
||||||
git show origin/main:docker-compose.yml > docker-compose-main.yml || touch docker-compose-main.yml
|
git show origin/main:docker-compose.yml > docker-compose-main.yml || touch docker-compose-main.yml
|
||||||
@@ -128,16 +122,13 @@ jobs:
|
|||||||
echo ${mod_svcs}
|
echo ${mod_svcs}
|
||||||
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
|
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
|
||||||
echo "rinoa_svcs=${mod_svcs}" >> "$GITHUB_OUTPUT"
|
echo "rinoa_svcs=${mod_svcs}" >> "$GITHUB_OUTPUT"
|
||||||
- name: Testing service list output
|
|
||||||
run: |
|
|
||||||
echo ${{ steps.modded_svcs.outputs.rinoa_svcs }}
|
|
||||||
- name: Docker Compose Dry Run
|
- name: Docker Compose Dry Run
|
||||||
timeout-minutes: 360
|
timeout-minutes: 360
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: keatonLiu/docker-compose-remote-action@v1.2
|
uses: keatonLiu/docker-compose-remote-action@v1.2
|
||||||
with:
|
with:
|
||||||
docker_compose_file: docker-compose.yml
|
docker_compose_file: docker-compose.yml
|
||||||
docker_args: -d --remove-orphans --pull missing ${{ steps.modded_svcs.outputs.rinoa_svcs }}
|
docker_args: -d --remove-orphans --pull missing --no-recreate ${{ steps.modded_svcs.rinoa_svcs.output }}
|
||||||
ssh_user: gitea-deploy
|
ssh_user: gitea-deploy
|
||||||
ssh_host: 192.168.1.254
|
ssh_host: 192.168.1.254
|
||||||
ssh_host_public_key: ${{ secrets.RINOA_GITEA_PUBLIC_SSH_KEY }}
|
ssh_host_public_key: ${{ secrets.RINOA_GITEA_PUBLIC_SSH_KEY }}
|
||||||
@@ -291,8 +282,8 @@ jobs:
|
|||||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||||
notification_title: 'GITEA: PR Merge Successful'
|
notification_title: 'GITEA: PR Merge Successful'
|
||||||
notification_message: 'PR #${{ steps.pr_merge.outputs.pr_index }} merged.'
|
notification_message: 'PR #${{ steps.pr_merge.outputs.pr_index }} merged.'
|
||||||
docker-compose-deploy:
|
ansible-config-docker-compose-deploy:
|
||||||
name: Docker Compose Deployment
|
name: Ansible Configs & Docker Compose Deployment
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [pr-merge]
|
needs: [pr-merge]
|
||||||
env:
|
env:
|
||||||
@@ -317,8 +308,11 @@ jobs:
|
|||||||
- name: Install Vault
|
- name: Install Vault
|
||||||
uses: cpanato/vault-installer@main
|
uses: cpanato/vault-installer@main
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
run: |
|
uses: docker/login-action@v3
|
||||||
docker login -u gitea-sonarqube-bot -p ${{ secrets.BOT_GITEA_TOKEN }} http://gitea:3000
|
with:
|
||||||
|
registry: git.trez.wtf
|
||||||
|
username: gitea-sonarqube-bot
|
||||||
|
password: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
@@ -335,7 +329,7 @@ jobs:
|
|||||||
uses: keatonLiu/docker-compose-remote-action@v1.2
|
uses: keatonLiu/docker-compose-remote-action@v1.2
|
||||||
with:
|
with:
|
||||||
docker_compose_file: docker-compose.yml
|
docker_compose_file: docker-compose.yml
|
||||||
docker_args: -d --remove-orphans --pull missing ${{ docker-compose-dry-run.outputs.svc_deploy_list }}
|
docker_args: -d --remove-orphans --pull missing --no-recreate
|
||||||
ssh_user: gitea-deploy
|
ssh_user: gitea-deploy
|
||||||
ssh_host: 192.168.1.254
|
ssh_host: 192.168.1.254
|
||||||
ssh_host_public_key: ${{ secrets.RINOA_GITEA_PUBLIC_SSH_KEY }}
|
ssh_host_public_key: ${{ secrets.RINOA_GITEA_PUBLIC_SSH_KEY }}
|
||||||
|
|||||||
@@ -14,11 +14,14 @@
|
|||||||
| bazarr | lscr.io/linuxserver/bazarr:latest |
|
| bazarr | lscr.io/linuxserver/bazarr:latest |
|
||||||
| beszel | henrygd/beszel:latest |
|
| beszel | henrygd/beszel:latest |
|
||||||
| beszel-agent | henrygd/beszel-agent:latest |
|
| beszel-agent | henrygd/beszel-agent:latest |
|
||||||
|
| bitmagnet | ghcr.io/bitmagnet-io/bitmagnet:latest |
|
||||||
|
| bitmagnet-pg-db | postgres:17-alpine |
|
||||||
| bitwarden | vaultwarden/server:latest |
|
| bitwarden | vaultwarden/server:latest |
|
||||||
| bluesky-pds | code.modernleft.org/gravityfargo/bluesky-pds:v0.4.98 |
|
| bluesky-pds | code.modernleft.org/gravityfargo/bluesky-pds:v0.4.98 |
|
||||||
| browserless | ghcr.io/browserless/chromium:latest |
|
| browserless | ghcr.io/browserless/chromium:latest |
|
||||||
| bytestash | ghcr.io/jordan-dalby/bytestash:latest |
|
| bytestash | ghcr.io/jordan-dalby/bytestash:latest |
|
||||||
| castopod | castopod/castopod:latest |
|
| castopod | castopod/castopod:latest |
|
||||||
|
| cloudflared | cloudflare/cloudflared:latest |
|
||||||
| cloudflareddns | ghcr.io/hotio/cloudflareddns:latest |
|
| cloudflareddns | ghcr.io/hotio/cloudflareddns:latest |
|
||||||
| convertx | ghcr.io/c4illin/convertx |
|
| convertx | ghcr.io/c4illin/convertx |
|
||||||
| cronicle | elestio/cronicle:latest |
|
| cronicle | elestio/cronicle:latest |
|
||||||
@@ -30,6 +33,7 @@
|
|||||||
| dawarich-pg-db | postgis/postgis:17-3.5-alpine |
|
| dawarich-pg-db | postgis/postgis:17-3.5-alpine |
|
||||||
| dawarich-sidekiq | freikin/dawarich:latest |
|
| dawarich-sidekiq | freikin/dawarich:latest |
|
||||||
| dead-man-hand | ghcr.io/bkupidura/dead-man-hand:latest |
|
| dead-man-hand | ghcr.io/bkupidura/dead-man-hand:latest |
|
||||||
|
| delugevpn | ghcr.io/binhex/arch-delugevpn:latest |
|
||||||
| docker-socket-proxy | ghcr.io/tecnativa/docker-socket-proxy:latest |
|
| docker-socket-proxy | ghcr.io/tecnativa/docker-socket-proxy:latest |
|
||||||
| duplicati | lscr.io/linuxserver/duplicati:latest |
|
| duplicati | lscr.io/linuxserver/duplicati:latest |
|
||||||
| excalidraw | excalidraw/excalidraw:latest |
|
| excalidraw | excalidraw/excalidraw:latest |
|
||||||
@@ -110,7 +114,6 @@
|
|||||||
| postal-web | ghcr.io/postalserver/postal:latest |
|
| postal-web | ghcr.io/postalserver/postal:latest |
|
||||||
| postal-worker | ghcr.io/postalserver/postal:latest |
|
| postal-worker | ghcr.io/postalserver/postal:latest |
|
||||||
| prowlarr | lscr.io/linuxserver/prowlarr:latest |
|
| prowlarr | lscr.io/linuxserver/prowlarr:latest |
|
||||||
| qbittorrentvpn | ghcr.io/binhex/arch-qbittorrentvpn:latest |
|
|
||||||
| radarec | thewicklowwolf/radarec:latest |
|
| radarec | thewicklowwolf/radarec:latest |
|
||||||
| radarr | lscr.io/linuxserver/radarr:latest |
|
| radarr | lscr.io/linuxserver/radarr:latest |
|
||||||
| reactive-resume | amruthpillai/reactive-resume:latest |
|
| reactive-resume | amruthpillai/reactive-resume:latest |
|
||||||
@@ -119,9 +122,7 @@
|
|||||||
| redis | redis:alpine |
|
| redis | redis:alpine |
|
||||||
| redlib | quay.io/redlib/redlib:latest |
|
| redlib | quay.io/redlib/redlib:latest |
|
||||||
| rocketchat | registry.rocket.chat/rocketchat/rocket.chat:latest |
|
| rocketchat | registry.rocket.chat/rocketchat/rocket.chat:latest |
|
||||||
| romm | rommapp/romm:latest |
|
|
||||||
| sabnzbdvpn | ghcr.io/binhex/arch-sabnzbdvpn:latest |
|
| sabnzbdvpn | ghcr.io/binhex/arch-sabnzbdvpn:latest |
|
||||||
| sablier | sablierapp/sablier:latest |
|
|
||||||
| scraperr | jpyles0524/scraperr:latest |
|
| scraperr | jpyles0524/scraperr:latest |
|
||||||
| scraperr-api | jpyles0524/scraperr_api:latest |
|
| scraperr-api | jpyles0524/scraperr_api:latest |
|
||||||
| scrutiny | ghcr.io/analogj/scrutiny:master-omnibus |
|
| scrutiny | ghcr.io/analogj/scrutiny:master-omnibus |
|
||||||
|
|||||||
@@ -53,4 +53,4 @@ layout:
|
|||||||
columns: 2
|
columns: 2
|
||||||
Media Library:
|
Media Library:
|
||||||
style: row
|
style: row
|
||||||
columns: 3
|
columns: 4
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
# This is a generic example of a configuration file
|
|
||||||
# Rename this file to `config.yml`, copy it to a `config` folder, and mount that folder as per the docker-compose.example.yml
|
|
||||||
# Only uncomment the lines you want to use/modify, or add new ones where needed
|
|
||||||
|
|
||||||
exclude:
|
|
||||||
# Exclude platforms to be scanned
|
|
||||||
platforms: [] # ['my_excluded_platform_1', 'my_excluded_platform_2']
|
|
||||||
|
|
||||||
# Exclude roms or parts of roms to be scanned
|
|
||||||
roms:
|
|
||||||
# Single file games section.
|
|
||||||
# Will not apply to files that are in sub-folders (multi-disc roms, games with updates, DLC, patches, etc.)
|
|
||||||
single_file:
|
|
||||||
# Exclude all files with certain extensions to be scanned
|
|
||||||
extensions: [] # ['xml', 'txt']
|
|
||||||
|
|
||||||
# Exclude matched file names to be scanned.
|
|
||||||
# Supports unix filename pattern matching
|
|
||||||
# Can also exclude files by extension
|
|
||||||
names: [] # ['info.txt', '._*', '*.nfo']
|
|
||||||
|
|
||||||
# Multi files games section
|
|
||||||
# Will apply to files that are in sub-folders (multi-disc roms, games with updates, DLC, patches, etc.)
|
|
||||||
multi_file:
|
|
||||||
# Exclude matched 'folder' names to be scanned (RomM identifies folders as multi file games)
|
|
||||||
names: [] # ['my_multi_file_game', 'DLC']
|
|
||||||
|
|
||||||
# Exclude files within sub-folders.
|
|
||||||
parts:
|
|
||||||
# Exclude matched file names to be scanned from multi file roms
|
|
||||||
# Keep in mind that RomM doesn't scan folders inside multi files games,
|
|
||||||
# so there is no need to exclude folders from inside of multi files games.
|
|
||||||
names: [] # ['data.xml', '._*'] # Supports unix filename pattern matching
|
|
||||||
|
|
||||||
# Exclude all files with certain extensions to be scanned from multi file roms
|
|
||||||
extensions: [] # ['xml', 'txt']
|
|
||||||
|
|
||||||
system:
|
|
||||||
# Asociate different platform names to your current file system platform names
|
|
||||||
# [your custom platform folder name]: [RomM platform name]
|
|
||||||
# In this example if you have a 'gc' folder, RomM will treat it like the 'ngc' folder and if you have a 'psx' folder, RomM will treat it like the 'ps' folder
|
|
||||||
platforms: {} # { gc: 'ngc', psx: 'ps' }
|
|
||||||
|
|
||||||
# Asociate one platform to it's main version
|
|
||||||
versions: {} # { naomi: 'arcade' }
|
|
||||||
|
|
||||||
# The folder name where your roms are located
|
|
||||||
filesystem: {} # { roms_folder: 'roms' } For example if your folder structure is /home/user/library/roms_folder
|
|
||||||
+1015
-366
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user