Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI/CD Errors (2) #146

Merged
merged 4 commits into from
Nov 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/terraform-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
GO111MODULE="on" go get github.com/terraform-docs/terraform-docs@v0.10.0-rc.1
export PATH=$HOME/go/bin:$PATH
pip3 install --pre slalom.dataops
s-infra check_tf_metadata ./catalog \
s-infra check_tf_metadata ./catalog/aws \
--check_module_headers \
--required_input_vars=[name_prefix,resource_tags,environment] \
--required_output_vars=[summary] \
--check_input_descriptions \
--check_output_descriptions \
--raise_error
s-infra check_tf_metadata ./components \
s-infra check_tf_metadata ./components/aws \
--check_module_headers \
--required_input_vars=[name_prefix,resource_tags,environment] \
--required_output_vars=[] \
Expand Down
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,32 @@ plan.out.json
!**/.secrets/*sample*
!**/.secrets/*template*

# .tfstate files
# Terraform local state and lock files
*.tfstate
*.tfstate.*
*.tfstate-*
.terraform.lock.hcl

# tfplan
tfplan

# .tfvars files
*.tfvars

# .vs files
# .vs files
**/.vs/**

# Other (Python)
__pycache__
.mypy_cache
**.pyc
.gitignore

# Terraform executable

terraform
terraform.exe

# Other

.DS_Store
8 changes: 8 additions & 0 deletions autodocs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

_These documents are published automatically to [infra.dataops.tk](https://infra.dataops.tk) using [Github Pages](https://help.github.com/en/github/working-with-github-pages) and [Jekyll](https://jekyllrb.com/docs/)._

## Dependencies

```bash
pip3 install uio logless runnow
brew install terraform-docs
```

## Rebuilding Docs


To rebuild or update all module README docs, run the following command on your dev machine:

```bash
Expand Down
3 changes: 3 additions & 0 deletions autodocs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
logless
runnow
uio
4 changes: 2 additions & 2 deletions catalog/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

191 changes: 191 additions & 0 deletions catalog/aws/bastion-host/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion catalog/aws/bastion-host/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* - Debugging network firewall and routing rules
* - Debugging components which can only be run from whitelisted IP ranges
* - Offloading heavy processing from the developer's local laptop
* - Mitigating network relability issues when working from WiFi or home networks
* - Mitigating network reliability issues when working from WiFi or home networks
*
*/

Expand Down
4 changes: 2 additions & 2 deletions catalog/aws/data-lake-users/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions catalog/aws/ml-ops/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions catalog/aws/singer-taps/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading