Skip to content

Commit

Permalink
chore: add pre-flight license check (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainest authored Dec 9, 2022
1 parent 3a619dd commit 834c6eb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/integration-test-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,25 @@ on:
- '*'

jobs:
secret-available:
outputs:
ok: ${{ steps.exists.outputs.ok }}
runs-on: ubuntu-latest
env:
PULP_PASSWORD: ${{ secrets.PULP_PASSWORD }}
steps:
- name: check for secret availability
id: exists
run: |
if [ ! -z "$PULP_PASSWORD" ]; then
echo "ok=true" >> $GITHUB_OUTPUT
fi
test-enterprise:
continue-on-error: true
needs:
- secret-available
if: needs.secret-available.outputs.ok == 'true'
strategy:
matrix:
kong_version:
Expand Down

0 comments on commit 834c6eb

Please sign in to comment.