UNCLASSIFIED - NO CUI

Skip to content

Move ci-files.py remote files from S3 to GitLab Artifacts - round 2

Matthew Scott requested to merge 963-remote-ci-files into master

Description

Addresses issue 963

Updates the clamav-scan and openscap-compliance jobs to retrieve the CVDs and OVAL definitions, respectively, from ci-files pipeline artifacts instead of S3. This time using the GitLab API to retrieve the artifacts.

Dependencies

  • Requires the ci-files project to be in place first and has a successful pipeline run.
  • CI_FILES_TOKEN CICD var is set to a valid access token for retrieving the ci-files pipeline artifacts
  • CI_FILES_PROJECT_ID is set to GitLab project ID of the ci-files project

Risk

The clamav-scan and openscap-compliance jobs can fail if they're unable to retrieve their needed CVDs and OVAL definitions.

Rollback Plan

Revert to previous method of retrieving the CVDs and OVAL definitions from S3.

Testing

Closes #963

Merge request reports

Loading