Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refac/github_actions (#1) * feat(dev_requirements): Add pytest * refac(workspace_settings): Specify python interpreter path * refac(cicd): Combine actions in composition action and add unit tests. * fix(cicd): Remove custom arg from pytest. * fix(cicd): Add missing requirements for pytest * feat(tasks): Add task to install all dependencies. * feat(pytest_typehint): Add extension for pytest hints. * feat(tests): Add initial test. * ruff format * fix(pytest): Set pythonpath * fix(cicd): Pass python version to sub actions with input. * fix(cicd): Add input for sub actions * fix(cicd): Read python version from project file instead of env. * fix(cicd): python version var assignment * Feat/migrate git logic to python (#5) * feat(action): Add configuration provider * feat(vscode): Change auto save to onFocusChange since ruff does not work with afterDelay. * feat(vscode): Add test task * refac(tests): Remove __main__.py tests * feat(vscode): Exclude __pycache__ folders in workspace * refac(ActionConfig): Remove default value for registry_domain * feat(git): Add git helper * refac(action): Pass configuration over env. instead of cli args. * refac(action): Add git handling and use new configuration provider. * refac(action_integration_test): Provider github token in env. instead of input. * fix(action): Remove git logic and rename env vars * feat(ActionConfig): Log substring of secrets * fix(ConfigProvider): Make flag registry_secrets as secret. * refac(action): Change github_token back to input variable. * fix(action): Add exception handling if target branch does not exist * fix(config): Fix conversion from env_string to bool. * refac(cli): Move cli resources to __main__ * feat(action): Add input to set relative working dir. * feat(git): Set git root to new repo_root value. * doc(README): Update documentation of the github action. * Feat/refac_core (#10) * refac(hcledit): Move bin in subdirectory * refac(terraform_utils): Move in own directory. * refac(terraform_utils): Move to own directory * feat(vscode): Add some project settings. * feat(pip): Add py-markdown-table as requirement. * refac(terraform_utils): Add init file. * feat(providers): Add Providers. * feat(provider_handler): Add provider_handler and builder. * refac(models): Update versioned resources models. * feat(composition): Remove composition. * feat(models): Add statistics model. * feat(cli): Switch to provider implementation. * refac(builder): Change secret input from file path to dict. * refac(action): Switch to provider implementation. * ruff auto-fix * feat(vscode): Add task to auto-fix with ruff. * doc(README): Update doc. * fix(provider): Fix get markdown table * feat(Statistics): Add function to get markdown table. * feat(action): Add report to pr body. * fix(upgrade_resources): Add catch to handle unsuccesfull upgrades * ruff format * fix(terraform_provider): remove exception handling. * refac(exception): Remove base exception. * fix(cicd): Change error text. * fix(hcledit_cli): Check if binary exists. * fix(hcledit): Make binary executable. * fix(hcledit_cli): REmove exist check. * Revert "fix(hcledit_cli): REmove exist check." This reverts commit c4a29a2. * fix(setup): Change package_data path. * fix(Statistics): Fix markdown table. * fix(Statistics): Change markdown input to list. * feat(vscode): Disable justmycode in launch.json * doc(README): Add supported platforms. * fix(pr_body): Add missing newline after provider table. * fix(pr_body): Remove second newline. * fix(pr_body): Format tables. * fix(pr_body): Add quotes. * refac(markdown_table): Switch to new library for markdown tables. * fix(pip): Fix pytablewriter version * fix(terraform_provider): Set table_name * feat(action): Implement handling of existing PRs * fix(action): Save upgradable resources instead of all. * fix(cicd): Disable checks on merge event. * refac(action): Rename registry_secrets to terraform_registry_secrets * Fix/action_file_references (#23) * feat(action): Implement correct handling of repo root and action files path * fix(tests): Change inputs in config tests. * refac(rich): Change text in progress bar. * fix(action): Change working directory * dic(README): Update documentation and add pr image. * doc(README): Change infrapatch Name to Upper-Case. * Feat/add_tests (#27) * feat(tests): Add tests for models * ruff auto-fix * test(terraform_resource): Add to_dict() test. * doc(checkout): Add note and update action example regarding fetch-depth. * feat(action): Add log message when updating pr. * fix(provider_cache): Fix provider cache not working. * fix(markdown_tables): Skip table generate for providers without changes. * fix(pr_update): Fix handling of existing prs * fix(action): Fix searching existing pr. * fix(action): Filter pr in python instead of search over github api. * feat(action): Update pr even when no upgrades where performed. * fix(provider_handler): Switch reference of object. * fix(provider_handler): Fix resource update. * fix(provider_handler): Fix resource replace in cache. * fix(provider_handler): REmove indent. * fix(hcl_handler): Skip modules without version attribute. * fix(action_integration_test): Fix repo name to source repo. (#37) * Revert "fix(action_integration_test): Fix repo name to source repo. (#37)" This reverts commit 67adea4. * fix(action_integration_test): Switch update test to secrets.github_token, so that it can be replaced with a pat. * feat(action_integration_test): Add condition to use token from secrets if available. * fix(action_integration_test): Fix token variable assignment. * Revert "fix(action_integration_test): Fix token variable assignment." This reverts commit d488e16. * Revert "feat(action_integration_test): Add condition to use token from secrets if available." This reverts commit e99cc37. * Revert "fix(action_integration_test): Switch update test to secrets.github_token, so that it can be replaced with a pat." This reverts commit 0ea227c.
- Loading branch information