🐛 quota blocked tasks should be included in queued. #1872
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: Build Hub | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' | |
- run: make fmt | |
vet: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' | |
- run: make vet | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' | |
- run: make cmd | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' | |
- run: make test | |
test-api: | |
needs: | |
- fmt | |
- vet | |
- build | |
- test-unit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' | |
- run: | | |
DISCONNECTED=1 make run & | |
sleep 15 # probably a dirty solution | |
DISCONNECTED=1 HUB_BASE_URL=http://localhost:8080 make test-api | |
DISCONNECTED=1 HUB_BASE_URL=http://localhost:8080 make test-api # Intentionaly run 2x to catch data left in Hub DB. | |
build-image: | |
needs: | |
- fmt | |
- vet | |
- build | |
- test-unit | |
- test-api | |
runs-on: ubuntu-latest | |
env: | |
IMG: ttl.sh/konveyor-hub-${{ github.sha }}:2h | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make docker-build | |
- run: docker push ${IMG} | |
test-integration: | |
needs: build-image | |
uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main | |
with: | |
tackle_hub: ttl.sh/konveyor-hub-${{ github.sha }}:2h | |
api_hub_tests_ref: ${{ github.ref }} |