Skip to content

UKHomeOffice/dq-tf-testsuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Repository on Quay

DQ Terraform Test Suite

The point of this image is just to be a short hand so all our Terraform modules repositories don't need to have the same boiler plate stuff in and we can centralise rules and test steps in one place rather than many.

Usage

Add this to a .drone.yml in the root of the repo:

pipeline:

  testsuite:
    image: quay.io/ukhomeofficedigital/dq-tf-testsuite:latest
    privileged: true
    commands: run

Trust the repo in the drone ui

To run locally with drone exec you'll need to add --repo.trusted so:

drone exec --repo.trusted

What does it test

Right now its relatively simple and will only test the following things in order (see run.sh for details):

  1. terraform fmt
  2. tflint
  3. tf-testrunner

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •