Deploy: added PGsql charts. #77
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: smoke-nifi-services | |
| on: | |
| pull_request: | |
| push: | |
| branches: ['**'] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| smoke: | |
| name: Build and smoke-test NiFi services | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Generate certificates | |
| working-directory: security/scripts | |
| run: | | |
| set -euo pipefail | |
| ./create_root_ca_cert.sh | |
| ./create_nifi_certs.sh | |
| - name: Smoke tests | |
| run: | | |
| set -euo pipefail | |
| ./scripts/tests/smoke_nifi_services.sh | |
| - name: Dump container logs | |
| if: failure() | |
| run: | | |
| set -euo pipefail | |
| source deploy/export_env_vars.sh | |
| set -euo pipefail | |
| docker compose -f deploy/services.dev.yml ps | |
| docker compose -f deploy/services.dev.yml logs --no-color nifi nifi-nginx | |
| - name: Shutdown stack | |
| if: always() | |
| run: | | |
| set -euo pipefail | |
| source deploy/export_env_vars.sh | |
| set -euo pipefail | |
| docker compose -f deploy/services.dev.yml down -v | |