Integration and lint testing#82
Open
marko7460 wants to merge 2 commits into
Open
Conversation
This commit introduces linting capabilities for this repo. Linting is done via a container that defined in build/Dockerfile. Linting is implemented using the following techonologies: - ansilbe code linting via ansible-lint - terraform code linting via terraform fmt and terraform validate - python code linting via flake8 - shell code linting via shellcheck In addition to the above we also check if the files have proper license header requires by Google PSO. This commit also introduces cloud-build configuration that is initial step towards CI/CD for this repo. Linting is NOT performed on the third_party/ and venv/ directories The code has been inspired by CFT CI/CD code. Please see https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/tree/master/infra/build/developer-tools for more information
This commit introduces integration testing capabilities. This commit: - introduces new terraform module test-setup used to create test environments from scratch - defines test environments used for stack testing in terraform/integration/test-setup. Projects defined here are long running projects. - introduces integration script runner int-test.sh - introduces integration tests for stacks: - HANA-Scaleup - HANA-HA - Netweaver-HA - Netweaver-DB2-Standard - introduces test-matrix.yaml for stack testing - introduces cloud build configurations for stack testings - introduces integration test cleanup scripts per stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR: