Skip to content

chore: Remove old stuff, udpate vuln tests to use new platform #2104

chore: Remove old stuff, udpate vuln tests to use new platform

chore: Remove old stuff, udpate vuln tests to use new platform #2104

Workflow file for this run

name: Vulnerability-Test
on:
pull_request:
repository_dispatch:
types: [xtest]
schedule:
- cron: "0 8 * * 1,3,5"
workflow_dispatch:
inputs:
platform-ref:
required: false
type: string
default: main
description: "The branch or commit to use for the platform"
jobs:
vulnerability-test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: vulnerability
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: "16.x"
registry-url: https://npm.pkg.github.com
- name: Install dependencies
run: |-
npm ci
- name: Check out and start up platform with deps/containers
id: run-platform
uses: opentdf/platform/test/start-up-with-containers@main
with:
platform-ref: ${{ inputs.platform-ref }}
- name: Get grpcurl
run: go install github.com/fullstorydev/grpcurl/cmd/[email protected]
- name: Make sure that the platform is up
run: |
grpcurl -plaintext localhost:8080 list && \
grpcurl -plaintext localhost:8080 kas.AccessService/PublicKey
- name: Run tilt
run: |-
npm run test