mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
Re-applied onto fresh origin/main. pipelinesV2: live-status/pause/unpause/ restart/reset-state routes (per-route @RequireSomePermission — GET for status, UPDATE for mutations — matching main's current auth convention). connection-test: POST /connection-test/cdc-prerequisites. inputs: POST /inputs/cdc -> InputCreateCdc. Consumes protospack 3.40.0-beta.15-cdc.0 tarball; CI guard added. Co-Authored-By: WOZCODE <contact@withwoz.com>
39 lines
962 B
YAML
39 lines
962 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- beta
|
|
- main
|
|
|
|
jobs:
|
|
# Blocks a local (file:/tarball/overlay) protospack-v2 dependency from
|
|
# reaching staging (beta) or prod (main).
|
|
protospack-dep-guard:
|
|
if: github.base_ref == 'beta' || github.base_ref == 'main'
|
|
runs-on: [self-hosted, prd]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Check protospack-v2 is consumed from the registry
|
|
run: node scripts/check-protospack-dep.js
|
|
|
|
test:
|
|
runs-on: [self-hosted, prd]
|
|
env:
|
|
APP_NAME: ${{ github.event.repository.name }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
run: docker build -t ${APP_NAME}_teste --target test .
|
|
|
|
- name: Run Test
|
|
run: docker run ${APP_NAME}_teste
|
|
|
|
- name: Remove Docker's Trash
|
|
if: always()
|
|
run: |
|
|
docker system prune --volumes -a -f
|
|
docker system df
|