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
credentials
that contains a variable with keySPECTRAL_DSN
and thedsn
as the value, andSPECTRAL_ENV
as well.
version: 2.1
orbs:
spectral: spectralops/spectral@2.1.2
workflows:
security:
jobs:
- spectral/scan:
flags: --ok
CircleCI 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.