Skip to content

deploy: stop waiting for one-shot migrator rollouts #10

deploy: stop waiting for one-shot migrator rollouts

deploy: stop waiting for one-shot migrator rollouts #10

Workflow file for this run

name: CI WriteFluency
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22.12.x'
cache: 'npm'
cache-dependency-path: 'src/webapp/package-lock.json'
- name: Install webapp dependencies
working-directory: ./src/webapp
run: npm ci
- name: Run Angular tests
working-directory: ./src/webapp
run: npm test -- --no-watch --no-progress --browsers=ChromeHeadless
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Run .NET tests
run: dotnet test
manifest-drift:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Install Aspirate
run: dotnet tool install --global aspirate --version 9.1.0
- name: Add .dotnet tools to PATH
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
- name: Regenerate manifest and kustomize output
working-directory: ./src/host/WriteFluency.AppHost
run: |
aspirate generate --skip-build --non-interactive \
-pa wf-infra-minio-user=minioadmin \
-pa wf-infra-minio-password=admin123 \
-pa wf-infra-postgres-password=postgres
- name: Check manifest drift
run: |
if git diff --quiet -- src/host/WriteFluency.AppHost/manifest.json src/host/WriteFluency.AppHost/aspirate-output; then
echo "No manifest drift detected."
else
echo "Manifest drift detected. Run aspirate generate and commit updated files."
git --no-pager diff -- src/host/WriteFluency.AppHost/manifest.json src/host/WriteFluency.AppHost/aspirate-output
exit 1
fi