Skip to content

Commit

Permalink
Adding schemathesis to dev deployment (#3176)
Browse files Browse the repository at this point in the history
  • Loading branch information
conbrad authored Oct 23, 2023
1 parent a5ab174 commit fb046a6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ jobs:
run: |
oc login "${{ secrets.OPENSHIFT_CLUSTER }}" --token="${{ secrets.OC4_DEV_TOKEN }}"
PROJ_DEV="e1e498-dev" bash openshift/scripts/oc_provision_noaa_nam_cronjob.sh ${SUFFIX} apply
# TODO: Delete once pmtiles has run for some time
# deploy-tileserv:
# name: Deploy tileserv to Dev
Expand Down Expand Up @@ -248,6 +249,23 @@ jobs:
# Do not return failure on warnings - TODO: this has to be resolved!
cmd_options: "-I"

run-schemathesis:
name: Schemathesis Fuzzing
if: github.triggering_actor != 'renovate'
runs-on: ubuntu-22.04
needs: [deploy-dev]

steps:
- name: Run Schemathesis
continue-on-error: true
uses: schemathesis/action@v1
with:
# Your API schema location
schema: "https://wps-pr-${{ github.event.number }}.apps.silver.devops.gov.bc.ca/api/openapi.json"
args: "--experimental=openapi-3.1"
# Set your token from secrets
token: ${{ secrets.SCHEMATHESIS_TOKEN }}

deploy-c-haines:
name: Deploy c-haines cronjob
if: github.triggering_actor != 'renovate'
Expand Down

0 comments on commit fb046a6

Please sign in to comment.