Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Create a CircleCI orb that runs the Datree CLI #404

@hadar-co

Description

@hadar-co

As part of our effort to support various plugins, we would like to create a CircleCI orb that will enable users to run the Datree CLI as part of their workflow/s.

Writing a CircleCI orb:

  • Requires knowledge of yaml.
  • Does not require knowledge of the Datree codebase.

To get started with creating a circleci orb, see the circleci orb documentation.
For all Datree-related resources, see the Datree documentation.

Specification and requirements:

  • The orb should support setting a Datree CLI token.
  • The orb should include an example workflow that uses it.
  • The orb should run “datree test” on a specific user-specified file/directory (see relevant Datree documentation).
  • The orb should support all of the “datree test” CLI arguments, as described in the documentation.
  • The orb should fail the workflow if any of the files failed Datree’s policy check.
  • Once finished, publish the orb to the orb registry.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpluginsup for grabsLooking for a contributor to take this task

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions