Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
daynewlee committed Feb 8, 2024
1 parent d90411b commit b140dd4
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion .github/workflows/test-v4-dump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,54 @@ jobs:
- name: Run style checks
run: ./scripts/ci/jobs/style-checks.sh

generate-genesis-dump:
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
runs-on: ubuntu-latest
needs:
- pre-build-updater
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: ./.github/actions/job-preamble

- uses: actions/download-artifact@v4
with:
name: updater-build

- name: Unpack updater build
run: |
tar xvzf updater-build.tgz
- name: genesis-dump
run: |
source ./scripts/ci/lib.sh
generate_genesis_dump
- uses: actions/upload-artifact@v4
with:
name: genesis-dump
path: /tmp/genesis-dump/genesis-dump.zip

- uses: actions/upload-artifact@v4
with:
name: vuln-dump
path: /tmp/vuln-dump

generate-v4-dumps:
runs-on: ubuntu-latest
env:
GOOGLE_SA_STACKROX_HUB_VULN_DUMP_UPLOADER: ${{ secrets.GOOGLE_SA_STACKROX_HUB_VULN_DUMP_UPLOADER }}
SCANNER_GCP_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCANNER_GCP_SERVICE_ACCOUNT_CREDS }}
GOOGLE_SA_CIRCLECI_SCANNER: ${{ secrets.GOOGLE_SA_CIRCLECI_SCANNER }}
needs:
- pre-build-updater
- generate-genesis-dump
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
Expand Down

0 comments on commit b140dd4

Please sign in to comment.