├── LICENSE └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Lev Goncharov 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # awesome-iac-testing 2 | A list of awesome IaC testing articles, speeches & links. Especially about Ansible. 3 | 4 | # English 5 | ## 2021 6 | * [IaC Development Life Cycle](https://www.goncharov.xyz/it/idlc-en.html) 7 | * [How to build an operator that doesn't break prod](https://www.youtube.com/watch?v=XpmbPYvwbb0) 8 | * [Infrastructure as "Real" Code](https://www.youtube.com/watch?v=pe08m36viw4) 9 | 10 | ## 2020 11 | * [Agreements as Code: how to refactor IaC and save your sanity?](https://www.goncharov.xyz/it/aac-en.html) 12 | * [Validate Ansible roles through molecule delegated driver](https://medium.com/@fabio.marinetti81/validate-ansible-roles-through-molecule-delegated-driver-a2ea2ab395b5) 13 | * [Testing Terraform Infrastructure-as-code: Unit tests & BDD end-to-end scenario testing review](https://medium.com/contino-engineering/terraform-infrastructure-as-code-testing-best-practice-unit-tests-bdd-end-to-end-scenario-c30d5a6921d) 14 | * [Continuous Testing with Molecule, Ansible, and GitHub Actions](https://www.youtube.com/watch?v=93urFkaJQ44) 15 | * [How to test Ansible and don’t go nuts](http://www.goncharov.xyz/it/ansible-testing-en.html) 16 | * [End To End Testing On Terraform With Terratest](https://www.youtube.com/watch?v=PlzL6Bv2fSA) 17 | * [Everything as Code : The New Software Development and Delivery Workflow](https://www.youtube.com/watch?v=94uNeNK_5VM) 18 | * [Testing Infrastructure as Code on Localhost](https://www.youtube.com/watch?v=Ru_K_CWy8F4) 19 | * [Stateless Jenkins + Ansible + Tower = CICD](https://www.youtube.com/watch?v=mvULMRnwmlg) 20 | * [Ops by Pull Request: An Ansible GitOps Story](https://www.youtube.com/watch?v=87Tag9wyfs8) 21 | * [Head in the Clouds: Testing Infra as Code](https://www.youtube.com/watch?v=wYEffa1q6eU) 22 | * [3 lessons I've learned writing Ansible playbooks](https://opensource.com/article/20/1/ansible-playbooks-lessons) 23 | * [End to End Immutable Infrastructure Testing: Inspec, Vagrant, Packer and Azure DevOps](https://www.youtube.com/watch?v=vNiZbAkomr4) 24 | 25 | ## 2019 26 | * [Lessons learned from testing Over 200,000 lines of Infrastructure Code](http://www.goncharov.xyz/it/200k_iac.html) 27 | * [Automated Testing for Terraform, Docker, Packer, Kubernetes, and More](https://www.slideshare.net/brikis98/how-to-test-infrastructure-code-automated-testing-for-terraform-kubernetes-docker-packer-and-more) & [Video](https://www.infoq.com/presentations/automated-testing-terraform-docker-packer) 28 | * [Infrastructure as Code for Software Engineers](https://www.hashicorp.com/resources/terraform-at-starbucks-infrastructure-as-code-for-software-engineers) & [Video](https://www.youtube.com/watch?v=2zrhcyv9Yiw) 29 | * [Practical Ansible testing with molecule](https://www.ansible.com/practical-ansible-testing-with-molecule) 30 | * [Code together: mob-programming](https://www.ansible.com/code-together-mob-programming) 31 | * [Better Ansible Network Automation with Roles and Custom Modules](https://www.youtube.com/watch?v=gWM68qAfg8Y) 32 | 33 | ## 2018 34 | * [5 Lessons Learned From Writing Over 300,000 Lines of Infrastructure Code](https://www.hashicorp.com/resources/lessons-learned-300000-lines-code) & [Video](https://www.youtube.com/watch?v=RTEgE2lcyk4) 35 | * [Integrating Infrastructure as Code into a Continuous Delivery Pipeline](https://www.youtube.com/watch?v=wTunI1mZyp8) 36 | * [Test me if you can. Do YML developers Dream of testing ansible?](http://www.goncharov.xyz/it/test-ansible-roles-via-testkitchen-inside-hyperv.html) 37 | * [Everything as Code](https://www.youtube.com/watch?v=HcmPi7-IVQo) 38 | * [Integrating Infrastructure as Code into a Continuous Delivery Pipeline](https://www.youtube.com/watch?v=wTunI1mZyp8) 39 | * [How to Be an Ansible Contributor](https://www.youtube.com/watch?v=VAbnJcyIMYA) 40 | 41 | ## 2017 42 | * [How-to test your own OS distribution](http://www.goncharov.xyz/it/how-to-test-custom-os-distr.html) 43 | 44 | # Russian 45 | ## 2021 46 | * [IaC Development Life Cycle](https://habr.com/en/company/deutschetelekomitsolutions/blog/574730/) 47 | * [Создаём инфраструктуру для интеграционных тестов](https://habr.com/en/company/2gis/blog/575688/) 48 | * [Тестирование ansible роли для RabbitMQ кластера с помощью molecule](https://habr.com/en/post/557854/) 49 | 50 | ## 2020 51 | * [Agreements as Code: как отрефакторить инфраструктуру и не сломаться](https://www.goncharov.xyz/it/aac-ru.html) 52 | * [Проверка ролей Ansible через делегированный драйвер Molecule](https://habr.com/en/post/536892/) 53 | * [Xудшие практики для Ansible](https://www.youtube.com/watch?v=a9ptDT67ILM) [transcription](https://habr.com/en/post/536256/) 54 | * [Тестирование инфраструктуры как кода Terraform: анализ модульных тестов и сквозной разработки путем тестирования поведен](https://habr.com/en/company/otus/blog/533416/) 55 | * [Как начать тестировать Ansible, отрефакторить проект за год и не слететь с катушек](http://www.goncharov.xyz/it/ansible-testing-ru.html) 56 | * [Основы Ansible, без которых ваши плейбуки — комок слипшихся макарон](https://habr.com/en/post/508762/) 57 | * [MAKE YOUR OPERATIONS EASY](https://www.youtube.com/watch?v=LlIqNLY9OTc) 58 | 59 | ## 2019 60 | * [Что я узнал, протестировав 200 000 строк инфраструктурного кода](http://www.goncharov.xyz/it/200k_iac.html) & [Видео](https://www.youtube.com/watch?v=W53jMaebVJw) 61 | * [Путь разработчика в SRE. История о том, что может побудить пойти в инфраструктуру целую команду разработчиков и что из этого получилось](http://devopsconf.io/moscow/2019/abstracts/5575) 62 | * [Infrastructure as Code: как побороть проблемы с помощью XP](https://habr.com/en/company/dodopizzaio/blog/470620/) 63 | * [Infrastructure as Code: первое знакомство](https://habr.com/en/company/dodopizzadev/blog/465137/) 64 | * [Ansible playbooks — это код: проверяем, тестируем, непрерывно интегрируем](https://habr.com/en/post/488966/) & [Видео](https://www.youtube.com/watch?v=UkP0PGMbWxY) 65 | 66 | ## 2018 67 | * [Эффективная разработка и сопровождение Ansible-ролей](https://www.youtube.com/watch?v=IzJsBUPXfkE) 68 | * [Ansible — это вам не bash!](https://www.youtube.com/watch?v=LApKSi5tUYo) 69 | * [Ansible идемпотентный](https://www.youtube.com/watch?v=1-lRS05NrLc) 70 | * [Как наломать велосипедов поверх костылей при тестировании своего дистрибутива](https://habr.com/post/342216/) 71 | * [Протестируй меня если сможешь или мечтают ли YML программисты о тестирование ansible?](http://www.goncharov.xyz/it/test-ansible-roles-via-testkitchen-inside-hyperv.html) 72 | 73 | ## 2015 74 | * [Тестируем инфраструктуру как код](http://rootconf.ru/2015/abstracts/1761) 75 | --------------------------------------------------------------------------------