Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Quickstart guide

This article describes how to configure a CircleCI CI/CD workflow to automatically upload mobile app binaries to Data Theorem for scanning. 

To automatically upload a mobile binary from CircleCI, a new step should be added at the end of your existing CircleCI workflow to upload the signed application binary (APK or IPA) to Data Theorem.

Step 1: Retrieving the Upload API key

Follow the instructions in step 1 of the Pre-Production Scans: Uploads via CI/CD article.

Step 2: Adding the Upload API key as an environment variable

Add your Upload API key retrieved in step 1 as an environment variable called DT_UPLOAD_API_KEY in your existing CircleCI workflow.  Open Project Settings, click on Environment Variables, then Add Environment Variable:

Environment Variable Setup

Step 3: Creating a new Run step to upload builds

Edit the project's configuration file (.circleci/config.yml) to add a new "Run" step at any point after a signed IPA or APK has been generated. 

...