Seed the gatekeeper-operator FBC #12
Workflow file for this run
This file contains 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: Preflight Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Image build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install OPM | |
run: | | |
make opm | |
- name: Validate catalog | |
run: | | |
make validate-catalog | |
- name: Build and verify image | |
run: | | |
make build-image | |
make run-image & | |
pid=$! | |
make test-image | |
make stop-image | |
wait ${pid} |