Repository navigation
Release v1.6.62 #100
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: API Contract (Postman) | |
| # Boots a full Fleetbase stack (published image) and runs the Core API Postman | |
| # collection against the live API. Delegates to the reusable workflow in | |
| # fleetbase/fleetbase. Requires org secrets POSTMAN_API_KEY + _GITHUB_AUTH_TOKEN | |
| # (inherited); no-ops until POSTMAN_API_KEY is set. | |
| # | |
| # Deliberately unpinned. The reusable workflow defaults to booting fleetbase/fleetbase@main | |
| # against fleetbase/fleetbase-api:latest, so every release is picked up automatically and | |
| # there is no ref here to remember to bump. Each run records the image digest it actually | |
| # resolved in its job summary, so a result stays traceable. To reproduce an older run: | |
| # | |
| # with: | |
| # fleetbase-ref: v0.7.53 | |
| # api-image: fleetbase/fleetbase-api:v0.7.53 | |
| on: | |
| push: | |
| branches: [main, 'dev-v*', 'release/v*'] | |
| pull_request: | |
| branches: [main, 'dev-v*', 'release/v*'] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| contract: | |
| uses: fleetbase/fleetbase/.github/workflows/api-contract.yml@main | |
| with: | |
| collections: "Fleetbase Core API" | |
| build-from-source: false | |
| # Without this the run tests the version of fleetbase/core-api baked into the | |
| # published image, not the branch under review. The workflow checks this | |
| # repository out at the commit under test and swaps it into the container. | |
| overlay-package: fleetbase/core-api | |
| secrets: inherit |