From b0d8848cb0a942abb0fd682aea351428dbbddb15 Mon Sep 17 00:00:00 2001 From: Piyush Agrawal Date: Thu, 21 Nov 2019 13:37:28 +0100 Subject: [PATCH 1/2] Create tflint.yml --- .github/workflows/tflint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/tflint.yml diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml new file mode 100644 index 0000000..74bc92b --- /dev/null +++ b/.github/workflows/tflint.yml @@ -0,0 +1,20 @@ +name: Lint +on: [push, pull_request] + +jobs: + tflint: + name: TFLint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: TFLint + uses: docker://wata727/tflint + + fmt: + name: Code Format + runs-on: ubuntu-latest + container: + image: hashicorp/terraform:latest + steps: + - uses: actions/checkout@master + - run: terraform fmt --recursive -check=true From d523bb21e537c6cd6e5ae6a71dbb290b94e718e7 Mon Sep 17 00:00:00 2001 From: Piyush Agrawal Date: Thu, 21 Nov 2019 13:41:16 +0100 Subject: [PATCH 2/2] Updated: ReadMe with Github action badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2e93cd4..62a8c2e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![actions badge](https://github.com/poush/terraform-kubernetes-jenkins/workflows/Lint/badge.svg) + # Terraform - Kubernetes - Jenkins This module installs jenkins in your kubernetes cluster through the kubernetes deployment.