The Spectral CircleCI Orb can be used with any linux based docker image that includes the command line tools curl.
To connect your Spectral account on spectralops.io you need to set up SPECTRAL_DSN and SPECTRAL_ENV (e.g https://get.spectralops.io) as environment variables.
- We recommend to set up a CircleCI context in your organization named
credentialsthat contains a variable with keySPECTRAL_DSNand thedsnas the value, andSPECTRAL_ENVas well.
version: 2.1
orbs:
spectral: spectralops/spectral@2.1.2
workflows:
security:
jobs:
- spectral/scan:
flags: --okCircleCI Orb Registry Page - The official registry page of this orb for all versions, executors, commands, and jobs described. CircleCI Orb Docs - Docs for using and creating CircleCI Orbs.
We welcome issues to and pull requests against this repository!
This project is licensed under the MIT License. See LICENSE for further details.