Skip to content

Commit

Permalink
test: remove unused kitchen test related stuff (#787)
Browse files Browse the repository at this point in the history
Co-authored-by: Thierno IB. BARRY <[email protected]>
  • Loading branch information
max-rocket-internet and barryib authored Mar 17, 2020
1 parent a6583a3 commit cd8a825
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 63 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
.terraform/
**/inspec.lock
*.gem
.kitchen/
.kitchen.local.yml
Gemfile.lock
terraform.tfstate.d/
eks-admin-cluster-role-binding.yaml
Expand Down
20 changes: 0 additions & 20 deletions .kitchen.yml

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

9 changes: 0 additions & 9 deletions Gemfile

This file was deleted.

22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,28 +94,6 @@ module "eks" {
* [IAM Permissions](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/iam-permissions.md): Minimum IAM permissions needed to setup EKS Cluster.
* [FAQ](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md): Frequently Asked Questions

## Testing

This module has been packaged with [awspec](https://github.com/k1LoW/awspec) tests through [kitchen](https://kitchen.ci/) and [kitchen-terraform](https://newcontext-oss.github.io/kitchen-terraform/). To run them:

1. Install [rvm](https://rvm.io/rvm/install) and the ruby version specified in the [Gemfile](https://github.com/terraform-aws-modules/terraform-aws-eks/tree/master/Gemfile).
2. Install bundler and the gems from our Gemfile:

```bash
gem install bundler && bundle install
```

3. Ensure your AWS environment is configured (i.e. credentials and region) for test.
4. Test using `bundle exec kitchen test` from the root of the repo.

For now, connectivity to the kubernetes cluster is not tested but will be in the
future. Once the test fixture has converged, you can query the test cluster from
that terminal session with
```bash
kubectl get nodes --watch --kubeconfig kubeconfig
```
(using default settings `config_output_path = "./"` & `write_kubeconfig = true`)

## Doc generation

Code formatting and documentation for variables and outputs is generated using [pre-commit-terraform hooks](https://github.com/antonbabenko/pre-commit-terraform) which uses [terraform-docs](https://github.com/segmentio/terraform-docs).
Expand Down
9 changes: 0 additions & 9 deletions test/integration/default/test_eks.rb

This file was deleted.

0 comments on commit cd8a825

Please sign in to comment.