Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a255ff7932 | |||
| 332aef1b89 | |||
| 06780b1a42 | |||
| 3eabf1a3d4 | |||
| 55c8b72940 | |||
| 01b4f58524 | |||
| caa15ed4ee | |||
| 3554cde9e4 | |||
| a7060535cc | |||
| 669ee23ee9 | |||
| 52bd1fa698 | |||
| 8437218a97 | |||
| bfcac1b0e1 | |||
| 188bf0c4da |
@@ -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:
|
||||
|
||||
+19
-14
@@ -557,8 +557,9 @@ services:
|
||||
container_name: castopod
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
required: true
|
||||
restart: true
|
||||
environment:
|
||||
MYSQL_DATABASE: castopod
|
||||
MYSQL_USER: castopod
|
||||
@@ -1099,7 +1100,7 @@ services:
|
||||
container_name: ghost_blog
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
required: true
|
||||
restart: true
|
||||
environment:
|
||||
@@ -1156,7 +1157,7 @@ services:
|
||||
GITEA__mailer__SMTP_PORT: 25
|
||||
GITEA__mailer__USER: ${POSTAL_SMTP_AUTH_USER}
|
||||
GITEA__mailer__PASSWD: ${POSTAL_SMTP_AUTH_PASSWORD}
|
||||
image: gitea/gitea:1.23.1
|
||||
image: gitea/gitea:1.22.6
|
||||
labels:
|
||||
homepage.group: Code/DevOps
|
||||
homepage.name: Gitea
|
||||
@@ -1184,7 +1185,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- source: ${DOCKER_VOLUME_CONFIG}/gitea
|
||||
target: /data/gitea
|
||||
target: /data
|
||||
type: bind
|
||||
bind:
|
||||
create_host_path: true
|
||||
@@ -1706,8 +1707,9 @@ services:
|
||||
container_name: hortusfox
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
required: true
|
||||
restart: true
|
||||
environment:
|
||||
APP_ADMIN_EMAIL: charish.patel@trez.wtf
|
||||
APP_ADMIN_PASSWORD: ${HORTUSFOX_ADMIN_PASSWORD}
|
||||
@@ -1870,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}
|
||||
@@ -3028,13 +3035,8 @@ services:
|
||||
PUID: 1000
|
||||
TZ: America/New_York
|
||||
MYSQL_PASSWORD: VQU23wHKRNmfpAPt5E9BxMaSGJdWjLuz
|
||||
healthcheck:
|
||||
test: "/usr/bin/mariadb -u root -p${MARIADB_ENVIRONMENT_MYSQL_ROOT_PASSWORD} -e \"SHOW DATABASES;\""
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
hostname: Rinoa
|
||||
image: linuxserver/mariadb
|
||||
image: ghcr.io/linuxserver/mariadb
|
||||
networks:
|
||||
default: null
|
||||
ports:
|
||||
@@ -3320,8 +3322,9 @@ services:
|
||||
container_name: nextcloud
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
required: true
|
||||
restart: true
|
||||
environment:
|
||||
PGID: 1000
|
||||
PUID: 1000
|
||||
@@ -3436,8 +3439,9 @@ services:
|
||||
container_name: paperless-ngx
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
required: true
|
||||
restart: true
|
||||
environment:
|
||||
PAPERLESS_DBENGINE: mariadb
|
||||
PAPERLESS_DBHOST: mariadb
|
||||
@@ -6085,8 +6089,9 @@ services:
|
||||
container_name: wallabag
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
required: true
|
||||
restart: true
|
||||
redis:
|
||||
condition: service_started
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user