Compare commits

...
2 Commits
Author SHA1 Message Date
phoenix efbeaf2f7e ci: Updated workflow
soaricarus_api CI / Test Suite (pull_request) Failing after 20s
soaricarus_api CI / Rustfmt (pull_request) Successful in 2m18s
soaricarus_api CI / Clippy (pull_request) Successful in 3m0s
soaricarus_api CI / build (pull_request) Successful in 1m27s
soaricarus_api CI / Check (pull_request) Successful in 4m45s
2026-08-04 18:19:44 -04:00
phoenix db07f2c39d Updated yml 2026-08-04 18:19:27 -04:00
2 changed files with 27 additions and 26 deletions
+7
View File
@@ -65,6 +65,13 @@ jobs:
echo "Checking Docker Daemon Status (ps):"
docker ps -a
echo "Docker environment check complete."
- name: Setup Garage S3 Server
uses: garage-s3/setup-garage@v1
with:
garage-version: 'v2.3.0'
bucket: 'soaricarus-ci-bucket'
set-aws-env: 'true'
- name: Run tests
env:
# Define DATABASE_URL for tests to use
+20 -26
View File
@@ -6,7 +6,7 @@ services:
build:
context: .
ssh: ["default"]
container_name: soaricarus
container_name: api
ports:
- "8000:8000"
env_file:
@@ -46,23 +46,23 @@ services:
# - ./path/to/your/web-api-repo:/app
# --- songparser service ---
# songparser:
# build:
# context: ../songparser
# ssh: ["default"]
# dockerfile: Dockerfile
# container_name: songparser
# restart: unless-stopped
# env_file:
# - ../songparser/.env
# depends_on:
# - api
# - main_db
# - auth_api
# - auth_db
# - maze
# networks:
# - soaricarus-network
songparser:
build:
context: ../songparser
ssh: ["default"]
dockerfile: Dockerfile
container_name: songparser
restart: unless-stopped
env_file:
- ../songparser/.env
depends_on:
- api
- main_db
- auth_api
- auth_db
- maze
networks:
- soaricarus-network
# --- storage service ---
maze:
@@ -100,25 +100,19 @@ services:
GARAGE_LOG_LEVEL: "info"
GARAGE_S3_BUCKET: "${S3_BUCKET_NAME}"
GARAGE_S3_REGION: "${GARAGE_S3_REGION}"
GARAGE_DEFAULT_ACCESS_KEY: "${GARAGE_DEFAULT_ACCESS_KEY}"
GARAGE_DEFAULT_SECRET_KEY: "${GARAGE_DEFAULT_SECRET_KEY}"
GARAGE_DEFAULT_BUCKET: "${GARAGE_DEFAULT_BUCKET}"
volumes:
# - garage_data:/data # Persist Garage data
- ./garage.toml:/etc/garage.toml:ro # Mount config file
- shared_credentials:/data # Persist Garage data
ports:
- "3900:3900" # S3 API
- "3901:3901" # S3 API public
- "3902:3902" # Admin API
# entrypoint: ["/bin/bash", "-c"]
# command:
# - |
# ls /
# /garage -c /etc/garage.toml server
# command: ["/garage", "-c", "/etc/garage.toml", "server"]
command: ["/garage", "server", "--single-node", "--default-bucket"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3900/"]
@@ -129,7 +123,7 @@ services:
networks:
- soaricarus-network
extra_hosts:
- "garage.local:127.0.0.1" # Needed for local domain resolution
- "garage.local:127.0.0.1"
# PostgreSQL Database Service
main_db: