From fe6d593040040f1f015803c989a02c60b627dd23 Mon Sep 17 00:00:00 2001 From: Ondrej Sebela Date: Wed, 7 Apr 2021 14:41:44 +0200 Subject: [PATCH] Update README.md --- README.md | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/README.md b/README.md index 9a9f486..8cece41 100644 --- a/README.md +++ b/README.md @@ -53,37 +53,6 @@ Everything else, like code backups, validations, auditing, signing, modules gene - check [examples](https://github.com/ztrhgf/Powershell_CICD_repository/blob/master/2.%20HOW%20TO%20USE%20-%20EXAMPLES.md) or [watch short introduction video](https://youtu.be/-xSJXbmOgyk) for getting better insight -# How code validation works -- after you commit your changes, pre-commit git hook automatically initiate checks defined in pre-commit.ps1 -- only if all checks are passed, commit will be created and content distributed - - checks can stop creation of commit completely, or warn you about possible problems and let you decide, whether to continue - -## What is validated before commit is created -- that you are not trying to delete important repository files -- that Powershell files - - are encoded as UTF-8 or UTF-8 with BOM - - have valid syntax - - doesn't contain EN DASH, EM DASH instead of dash (it would lead to strange errors) - - doesn't contain #FIXME comment, otherwise warn about it - - from which modules are generated are in correct form -- warn about changed function parameters (in case, the functions is used elsewhere) -- warn about changed function aliases (in case, the alias is used elsewhere) -- warn about deleted function (in case, the function is used elsewhere) -- warn about changed variable value from module Variables (in case, the variable is used elsewhere) -- warn about deleted variable from module Variables (in case, the variable is used elsewhere) -- ... - - -# How distribution of content works -- after successful commit, content is automatically: - - pushed to GIT repository - - by post-commit GIT hook (post-commit.ps1) - - pulled to local server, processed and (clients part) distributed to shared folder - - by repo_sync.ps1 which is regularly run every 15 minutes by scheduled task - - from shared folder the content is being downloaded by clients in your Active Directory - - by PS_env_set_up.ps1 which is regularly run on client every 30 minutes by automatically created scheduled task (created via GPO PS_env_set_up) - - # [Installation](https://github.com/ztrhgf/Powershell_CICD_repository/blob/master/1.%20HOW%20TO%20INSTALL.md) # [Examples](https://github.com/ztrhgf/Powershell_CICD_repository/blob/master/2.%20HOW%20TO%20USE%20-%20EXAMPLES.md) # [FAQ](https://github.com/ztrhgf/Powershell_CICD_repository/blob/master/FAQ.md)