Compare commits
90 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f602e6075 | |||
| c94ddaf4f0 | |||
| 05a9f7fd35 | |||
| 7e3a038a64 | |||
| f9a60cb3d7 | |||
| a983cec48b | |||
| a712248cb0 | |||
| 384f9254b4 | |||
| e451cf2825 | |||
| 9c7b5e04fc | |||
| e1025cf7ed | |||
| b5576bbd3e | |||
| 8fd689517c | |||
| a5d27466fc | |||
| ae10b7a19e | |||
| 3f83290ab0 | |||
| 2c9cd867b0 | |||
| 8146d51f37 | |||
| 35b35cb840 | |||
| 5a5becea56 | |||
| 1641e877ad | |||
| 432e14e5dd | |||
| 617dea13b0 | |||
| 11353334b5 | |||
| 700f10fc92 | |||
| cc0dcfdd3c | |||
| 57b1293156 | |||
| 9e706a20a7 | |||
| 210375d17b | |||
| 02b2ab6116 | |||
| 439cc4136d | |||
| 809560f8ca | |||
| 15bdf96d76 | |||
| f08a4f9cb7 | |||
| 701a4fbde3 | |||
| 4fe9bbecb3 | |||
| a96beafe21 | |||
| 9500d5f39b | |||
| 1216beee88 | |||
| 94e793e1ad | |||
| 96e15c9786 | |||
| 9b18d386e8 | |||
| db2130a634 | |||
| 1e27a9817b | |||
| 3ac23e5d5c | |||
| 245670e37f | |||
| 03b0ca68db | |||
| 2108450ab0 | |||
| f8c39e324a | |||
| db2057c8ef | |||
| 049c21f538 | |||
| d8810273b7 | |||
| 06655add2b | |||
| e784655300 | |||
| fa42b8b7cc | |||
| 5ad020ab80 | |||
| c9858ef7ba | |||
| a94057d1ae | |||
| 42a0928b7f | |||
| 6df7040101 | |||
| 0ac5e1e5a2 | |||
| c7088b8f4f | |||
| a5d47976ee | |||
| c5e8168e0a | |||
| defe1389a0 | |||
| d532b97ce9 | |||
| f492d6e9e5 | |||
| 0e8f0ff26f | |||
| a7e0d90ebd | |||
| a709999a6c | |||
| f468fb2357 | |||
| da4969ee81 | |||
| baa06d3b35 | |||
| 91f800b123 | |||
| 6d20e2f401 | |||
| 945f79a37c | |||
| 18a3978152 | |||
| 254fe484ad | |||
| 203b4c5f7a | |||
| 9e0db8635e | |||
| 0555325c38 | |||
| 1635de854c | |||
| bd1152273f | |||
| 3b6e5f62a5 | |||
| bfb5d7ea38 | |||
| cb7089e5a7 | |||
| 1dbadf70c8 | |||
| 8bdea248f3 | |||
| 8ba538dfb2 | |||
| 0c8aecf737 |
@@ -33,6 +33,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
tea login add --name gitea-rinoa --url "${{ secrets.RINOA_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
|
tea login add --name gitea-rinoa --url "${{ secrets.RINOA_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
|
tea pr list --repo ${{ github.repository }} --state all
|
||||||
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep ${{ github.ref_name }} | tail -1 | wc -l)
|
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep ${{ github.ref_name }} | tail -1 | wc -l)
|
||||||
echo ${pr_exists}
|
echo ${pr_exists}
|
||||||
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
|
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
|
||||||
@@ -180,17 +181,32 @@ jobs:
|
|||||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||||
notification_title: 'GITEA: Cloudflare Setup @ Rinoa'
|
notification_title: 'GITEA: Cloudflare Setup @ Rinoa'
|
||||||
notification_message: 'Cloudflare DNS setup completed successfully.'
|
notification_message: 'Cloudflare DNS setup completed successfully.'
|
||||||
regenerate-readme:
|
regenerate-readme-modified-services:
|
||||||
name: Update README
|
name: Update README & Generate List of Modified Services
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [cloudflare-dns-setup]
|
needs: [cloudflare-dns-setup]
|
||||||
outputs:
|
# outputs:
|
||||||
pr-pushed: ${{ steps.commit-readme.outputs.pushed }}
|
# pr-pushed: ${{ steps.commit-readme.outputs.pushed }}
|
||||||
|
# modified_services: ${{ steps.compare-services.outputs.modified_services }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install yq
|
- name: Install yq
|
||||||
uses: dcarbone/install-yq-action@v1
|
uses: dcarbone/install-yq-action@v1
|
||||||
|
# - name: Fetch main branch for comparison
|
||||||
|
# run: |
|
||||||
|
# git fetch origin main:main
|
||||||
|
# - name: Compare services using yq
|
||||||
|
# continue-on-error: true
|
||||||
|
# id: compare-services
|
||||||
|
# run: |
|
||||||
|
# current_services=$(yq '.services | to_entries' docker-compose.yml)
|
||||||
|
# git show main:docker-compose.yml > main_compose.yml
|
||||||
|
# main_services=$(yq '.services | to_entries' main_compose.yml)
|
||||||
|
# modified_services_file=$(comm -13 <(echo "$main_services") <(echo "$current_services") > changes_compose.yml)
|
||||||
|
# modified_services=${egrep '^ [a-z]' changes.yml | sed -e 's|^ ||g' -e 's|:||g' | sed ':a;N;$!ba;s/\n/ /g'}
|
||||||
|
# echo "Modified services: $modified_services"
|
||||||
|
# echo "modified_services=$modified_services" >> $GITHUB_OUTPUT
|
||||||
- name: Generate service list
|
- name: Generate service list
|
||||||
run: |
|
run: |
|
||||||
yq '.services | to_entries | map({"service": .key, "image": .value.image})' docker-compose.yml > services.yml
|
yq '.services | to_entries | map({"service": .key, "image": .value.image})' docker-compose.yml > services.yml
|
||||||
@@ -212,7 +228,7 @@ jobs:
|
|||||||
add: "README.md"
|
add: "README.md"
|
||||||
pr-merge:
|
pr-merge:
|
||||||
name: PR Merge
|
name: PR Merge
|
||||||
needs: [regenerate-readme]
|
needs: [regenerate-readme-modified-services]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -287,11 +303,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
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
|
||||||
- name: Docker Compose Deployment
|
- name: Docker Compose Deployment
|
||||||
|
if: ${{ steps.regenerate-readme-modified-services.outputs.modified_services != '' }}
|
||||||
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 --parallel -1
|
docker_args: -d --remove-orphans --pull missing --parallel -1 ${{ steps.regenerate-readme-modified-services.outputs.modified_services }}
|
||||||
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 }}
|
||||||
|
|||||||
@@ -16,9 +16,6 @@
|
|||||||
| bitwarden | vaultwarden/server:latest |
|
| bitwarden | vaultwarden/server:latest |
|
||||||
| bluesky-pds | ghcr.io/bluesky-social/pds:latest |
|
| bluesky-pds | ghcr.io/bluesky-social/pds:latest |
|
||||||
| browserless | ghcr.io/browserless/chromium:latest |
|
| browserless | ghcr.io/browserless/chromium:latest |
|
||||||
| bunkerweb | bunkerity/bunkerweb:latest |
|
|
||||||
| bunkerweb-scheduler | bunkerity/bunkerweb-scheduler:latest |
|
|
||||||
| bunkerweb-ui | bunkerity/bunkerweb-ui:latest |
|
|
||||||
| castopod | castopod/castopod:latest |
|
| castopod | castopod/castopod:latest |
|
||||||
| cloudflared | cloudflare/cloudflared:latest |
|
| cloudflared | cloudflare/cloudflared:latest |
|
||||||
| cloudflareddns | ghcr.io/hotio/cloudflareddns:latest |
|
| cloudflareddns | ghcr.io/hotio/cloudflareddns:latest |
|
||||||
@@ -95,7 +92,7 @@
|
|||||||
| netbird-coturn | coturn/coturn:latest |
|
| netbird-coturn | coturn/coturn:latest |
|
||||||
| netbox | lscr.io/linuxserver/netbox:latest |
|
| netbox | lscr.io/linuxserver/netbox:latest |
|
||||||
| netbox-db | postgres:17-alpine |
|
| netbox-db | postgres:17-alpine |
|
||||||
| nextcloud | lscr.io/linuxserver/nextcloud:latest |
|
| nextcloud | nextcloud/all-in-one:latest |
|
||||||
| ollama | ollama/ollama |
|
| ollama | ollama/ollama |
|
||||||
| ombi | lscr.io/linuxserver/ombi:latest |
|
| ombi | lscr.io/linuxserver/ombi:latest |
|
||||||
| paperless-ngx | ghcr.io/paperless-ngx/paperless-ngx:latest |
|
| paperless-ngx | ghcr.io/paperless-ngx/paperless-ngx:latest |
|
||||||
@@ -147,10 +144,10 @@
|
|||||||
| wallabag | wallabag/wallabag |
|
| wallabag | wallabag/wallabag |
|
||||||
| wallos | bellamy/wallos:latest |
|
| wallos | bellamy/wallos:latest |
|
||||||
| watchtower | ghcr.io/containrrr/watchtower:latest |
|
| watchtower | ghcr.io/containrrr/watchtower:latest |
|
||||||
| wazuh.agent | opennix/wazuh-agent:latest |
|
| wazuh-agent | kennyopennix/wazuh-agent:latest |
|
||||||
| wazuh.dashboard | wazuh/wazuh-dashboard: |
|
| wazuh-dashboard | wazuh/wazuh-dashboard: |
|
||||||
| wazuh.indexer | wazuh/wazuh-indexer: |
|
| wazuh-indexer | wazuh/wazuh-indexer: |
|
||||||
| wazuh.manager | wazuh/wazuh-manager: |
|
| wazuh-manager | wazuh/wazuh-manager: |
|
||||||
| web-check | lissy93/web-check |
|
| web-check | lissy93/web-check |
|
||||||
| your_spotify | lscr.io/linuxserver/your_spotify:latest |
|
| your_spotify | lscr.io/linuxserver/your_spotify:latest |
|
||||||
| youtubedl | nbr23/youtube-dl-server:latest |
|
| youtubedl | nbr23/youtube-dl-server:latest |
|
||||||
|
|||||||
@@ -27,22 +27,22 @@ layout:
|
|||||||
# fiveColumns: true
|
# fiveColumns: true
|
||||||
Infrastructure/App Performance Monitoring:
|
Infrastructure/App Performance Monitoring:
|
||||||
style: row
|
style: row
|
||||||
columns: 4
|
columns: 3
|
||||||
|
Code/DevOps:
|
||||||
|
style: row
|
||||||
|
columns: 3
|
||||||
|
Social:
|
||||||
|
style: row
|
||||||
|
columns: 3
|
||||||
|
Lifestyle:
|
||||||
|
style: row
|
||||||
|
columns: 3
|
||||||
Automation:
|
Automation:
|
||||||
style: columns
|
style: columns
|
||||||
row: 2
|
row: 2
|
||||||
Code/DevOps:
|
|
||||||
style: columms
|
|
||||||
row: 2
|
|
||||||
Privacy/Security:
|
Privacy/Security:
|
||||||
style: columns
|
style: columns
|
||||||
row: 5
|
row: 5
|
||||||
Social:
|
|
||||||
style: columns
|
|
||||||
row: 4
|
|
||||||
Lifestyle:
|
|
||||||
style: row
|
|
||||||
columns: 4
|
|
||||||
Personal Services:
|
Personal Services:
|
||||||
style: row
|
style: row
|
||||||
columns: 4
|
columns: 4
|
||||||
@@ -57,4 +57,4 @@ layout:
|
|||||||
columns: 3
|
columns: 3
|
||||||
Media Library:
|
Media Library:
|
||||||
style: row
|
style: row
|
||||||
columns: 4
|
columns: 3
|
||||||
|
|||||||
+223
-730
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user