Skip to content

Knapsack Pro Integration

Ferris Tseng edited this page Jan 27, 2021 · 5 revisions

Knapsack Pro Integration

Overview

Knapsack Pro is an integration Caseflow is using with CircleCI. It was introduced to reduce the runtime of the test suite in CircleCI.

Access

The credentials for Knapsack Pro are stored in the Shared vault in the DSVA 1Password.

In there you should find the credentials for the

  • DSVA Appeals Knapsack Pro Admin Account
  • Knapsack Pro API Token

I would recommend that any admin for the Knapsack Pro integration create their own separate account, and be added to Caseflow project using the DSVA Appeals account. They should be able to manage everything from that separate account, but can also have access revoked if necessary.

Integration with CircleCI

Knapsack Pro integrates with CircleCI using a secret API key. The API key is provided as an environment variable for Caseflow in the project settings on CircleCI.

The CircleCI configuration for Caseflow is configured to run RSpec with Knapsack Pro in the RSpec via knapsack_pro Queue Mode step.

Clone this wiki locally