mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-29 03:47:43 +02:00
rounded out the documentation for this changeset
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
language: ruby
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
rvm:
|
||||
- 2.4.2
|
||||
|
||||
before_install:
|
||||
- echo "before_install"
|
||||
|
||||
install:
|
||||
- echo "install"
|
||||
- gem install bundler --no-rdoc --no-ri
|
||||
- bundle install
|
||||
|
||||
before_script:
|
||||
- echo 'before_script'
|
||||
- export AWS_REGION='us-east-1'
|
||||
@@ -22,12 +27,13 @@ before_script:
|
||||
- unzip terraform.zip ; rm -f terraform.zip; chmod +x terraform
|
||||
- mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/
|
||||
- terraform -v
|
||||
|
||||
script:
|
||||
- echo 'script'
|
||||
- terraform init
|
||||
- terraform fmt -check=true
|
||||
- terraform validate -var "region=${AWS_REGION}" -var "vpc_id=vpc-123456" -var "subnets=[\"subnet-12345a\"]" -var "workers_ami_id=ami-123456" -var "cluster_ingress_cidrs=[]" -var "cluster_name=test_cluster"
|
||||
- docker run --rm -v $(pwd):/app/ --workdir=/app/ -t wata727/tflint --error-with-issues
|
||||
# - docker run --rm -v $(pwd):/app/ --workdir=/app/ -t wata727/tflint --error-with-issues
|
||||
- cd examples/eks_test_fixture
|
||||
- terraform init
|
||||
- terraform fmt -check=true
|
||||
@@ -40,6 +46,7 @@ script:
|
||||
# script: ci/deploy.sh
|
||||
# on:
|
||||
# branch: master
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
|
||||
Reference in New Issue
Block a user