feat: Atualiza o runner do workflow de deploy para self-hosted, oracle-arm e adiciona limpeza de serviços Docker no workflow de specs.

This commit is contained in:
Rodrigo Borba 2026-01-25 14:11:26 -03:00
parent b74f79c5da
commit a3d2b6c88c
2 changed files with 9 additions and 3 deletions

View File

@ -14,7 +14,7 @@ concurrency:
jobs:
deployment_check:
name: Check Deployment
runs-on: ubuntu-latest
runs-on: [self-hosted, oracle-arm]
steps:
- name: Install jq
run: sudo apt-get install -y jq

View File

@ -33,8 +33,6 @@ jobs:
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: ${{ 5432 + matrix.ci_node_index }}
REDIS_URL: redis://localhost:${{ 6379 + matrix.ci_node_index }}
RAILS_ENV: test
steps:
@ -132,3 +130,11 @@ jobs:
with:
name: rails-log-folder-${{ matrix.ci_node_index }}
path: log
- name: Stop services
if: always()
run: |
docker stop $PG_CONTAINER_NAME || true
docker rm $PG_CONTAINER_NAME || true
docker stop $RD_CONTAINER_NAME || true
docker rm $RD_CONTAINER_NAME || true