From cd494f11a4c98803b27ce527d9467129200a159e Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Mon, 20 Dec 2021 11:53:50 +0000 Subject: [PATCH] feat: update gitignore and add terraform and ansible stuff --- src/.gitignore | 97 ++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 83 insertions(+), 14 deletions(-) diff --git a/src/.gitignore b/src/.gitignore index 55348a6..9fa239c 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,5 +1,9 @@ -# Created by https://www.toptal.com/developers/gitignore/api/vscode,python,node -# Edit at https://www.toptal.com/developers/gitignore?templates=vscode,python,node + +# Created by https://www.toptal.com/developers/gitignore/api/node,python,visualstudiocode,terraform,ansible +# Edit at https://www.toptal.com/developers/gitignore?templates=node,python,visualstudiocode,terraform,ansible + +### Ansible ### +*.retry ### Node ### # Logs @@ -9,6 +13,7 @@ npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* +.pnpm-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json @@ -45,8 +50,8 @@ build/Release node_modules/ jspm_packages/ -# TypeScript v1 declaration files -typings/ +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ # TypeScript cache *.tsbuildinfo @@ -75,7 +80,7 @@ typings/ # dotenv environment variables file .env .env.test -.env*.local +.env.production # parcel-bundler cache (https://parceljs.org/) .cache @@ -83,6 +88,7 @@ typings/ # Next.js build output .next +out # Nuxt.js build / generate output .nuxt @@ -112,6 +118,23 @@ dist # Stores VSCode versions used for testing VSCode extensions .vscode-test +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +### Node Patch ### +# Serverless Webpack directories +.webpack/ + +# Optional stylelint cache +.stylelintcache + +# SvelteKit build / generate output +.svelte-kit + ### Python ### # Byte-compiled / optimized / DLL files __pycache__/ @@ -135,7 +158,6 @@ parts/ sdist/ var/ wheels/ -pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg @@ -164,7 +186,7 @@ coverage.xml *.py,cover .hypothesis/ .pytest_cache/ -pytestdebug.log +cover/ # Translations *.mo @@ -184,9 +206,9 @@ instance/ # Sphinx documentation docs/_build/ -doc/_build/ # PyBuilder +.pybuilder/ target/ # Jupyter Notebook @@ -197,7 +219,9 @@ profile_default/ ipython_config.py # pyenv -.python-version +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. @@ -223,7 +247,6 @@ venv/ ENV/ env.bak/ venv.bak/ -pythonenv* # Spyder project settings .spyderproject @@ -246,10 +269,45 @@ dmypy.json # pytype static type analyzer .pytype/ -# profiling data -.prof +# Cython debug symbols +cython_debug/ + +### Terraform ### +# Local .terraform directories +**/.terraform/* + +# .tfstate files +*.tfstate +*.tfstate.* + +# Crash log files +crash.log -### vscode ### +# Exclude all .tfvars files, which are likely to contain sentitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +# +*.tfvars + +# Ignore override files as they are usually used to override resources locally and so +# are not checked in +override.tf +override.tf.json +*_override.tf +*_override.tf.json + +# Include override files you do wish to add to version control using negated pattern +# !example_override.tf + +# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan +# example: *tfplan* + +# Ignore CLI configuration files +.terraformrc +terraform.rc + +### VisualStudioCode ### .vscode/* !.vscode/settings.json !.vscode/tasks.json @@ -257,4 +315,15 @@ dmypy.json !.vscode/extensions.json *.code-workspace -# End of https://www.toptal.com/developers/gitignore/api/vscode,python,node +# Local History for Visual Studio Code +.history/ + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# Support for Project snippet scope +!.vscode/*.code-snippets + +# End of https://www.toptal.com/developers/gitignore/api/node,python,visualstudiocode,terraform,ansible