Compare commits

...

14 Commits

Author SHA1 Message Date
Trez.One a255ff7932 ...
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Check and Create PR (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Docker Compose Test (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Cloudflare DNS Setup (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Update README (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / PR Merge (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Deploy via Docker Compose (push) Has been cancelled
2025-01-14 13:40:17 -05:00
Trez.One 332aef1b89 ... 2025-01-14 13:37:29 -05:00
Trez.One 06780b1a42 .. 2025-01-14 13:35:19 -05:00
Trez.One 3eabf1a3d4 .. 2025-01-14 13:29:55 -05:00
Trez.One 55c8b72940 .. 2025-01-14 13:25:27 -05:00
Trez.One 01b4f58524 .. 2025-01-14 13:21:18 -05:00
Trez.One caa15ed4ee . 2025-01-14 13:15:44 -05:00
Trez.One 3554cde9e4 . 2025-01-14 13:11:58 -05:00
Trez.One a7060535cc . 2025-01-14 13:10:19 -05:00
Trez.One 669ee23ee9 . 2025-01-14 13:08:33 -05:00
Trez.One 52bd1fa698 Adding restart true for services dependent on mariadb. 2025-01-14 12:42:52 -05:00
Trez.One 8437218a97 Adding restart true for services dependent on mariadb. 2025-01-14 12:36:01 -05:00
Trez.One bfcac1b0e1 Tweaking PR creation step. 2025-01-14 12:21:05 -05:00
Trez.One 188bf0c4da Tweaking PR creation step. 2025-01-14 12:19:41 -05:00
2 changed files with 27 additions and 9 deletions
+6 -8
View File
@@ -26,15 +26,13 @@ jobs:
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 default gitea-rinoa
echo "Checking if PR exists for ${{ github.ref_name }}"
tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state
pr_state=$(tea pr ls --repo ${{ github.repository }} --state all --fields index,title,head,state --output csv | egrep '${{ gitea.ref_name }}' | head -1 |awk -F, '{print $4}' | sed -e 's|"||g')
echo "PR state: ${pr_state}"
if [ "${pr_state}" != 'open' ]; then
echo "PR does not exist, creating..."
echo "Checking if PR exists for ${{ github.ref_name }}..."
tea pr ls --repo ${{ github.repository }} --state all --fields index,title,head,state --output csv | egrep '${{ github.ref_name }}' | head -1 | egrep -q 'open'
if [ $? -eq 0 ]; then
echo "An open PR exists, skipping creation..."
elif [ $? -eq 1 ]; then
echo "No open PRs, creating one..."
tea pr c -r "${{ github.repository }}" -t "Automated PR for ${{ github.ref_name }}" -d "Automated PR for ${{ github.ref_name }}"
elif [ "${pr_state}" = 'open' ]; then
echo "PR already exists, skipping creation..."
fi
docker-compose-test:
+21 -1
View File
@@ -556,7 +556,10 @@ services:
castopod:
container_name: castopod
depends_on:
- mariadb
mariadb:
condition: service_started
required: true
restart: true
environment:
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
@@ -1706,6 +1709,7 @@ services:
mariadb:
condition: service_started
required: true
restart: true
environment:
APP_ADMIN_EMAIL: charish.patel@trez.wtf
APP_ADMIN_PASSWORD: ${HORTUSFOX_ADMIN_PASSWORD}
@@ -1868,6 +1872,11 @@ services:
create_host_path: true
invoice_ninja:
container_name: invoice_ninja
depends_on:
mariadb:
condition: service_started
required: true
restart: true
environment:
APP_DEBUG: true
APP_KEY: ${IN_APP_KEY}
@@ -3311,6 +3320,11 @@ services:
volume: {}
nextcloud:
container_name: nextcloud
depends_on:
mariadb:
condition: service_started
required: true
restart: true
environment:
PGID: 1000
PUID: 1000
@@ -3423,6 +3437,11 @@ services:
type: bind
paperless-ngx:
container_name: paperless-ngx
depends_on:
mariadb:
condition: service_started
required: true
restart: true
environment:
PAPERLESS_DBENGINE: mariadb
PAPERLESS_DBHOST: mariadb
@@ -6072,6 +6091,7 @@ services:
mariadb:
condition: service_started
required: true
restart: true
redis:
condition: service_started
required: true