You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ Add initial support for Docker operations and enhance project structure
Other improvements:
- Updated utility functions in `utils.py` for better command execution and date handling.
- Improved main menu navigation and service checks in `velez.py`.
- Replaced `setup.py` with `pyproject.toml` for better build and installation processes.
- Updated constant strings to capital case.
- Added `.pylintrc` to suppress some warning from external libs.
- Added `Makefile` for most important operations.
- Added utils function for converting data sizes, printing tables or working with dates.
|`VELEZ_TG_ROOT_HCL`| Relative path to the Terragrunt configuration file. | Terragrunt |`root.hcl`|
196
+
|`VELEZ_TG_TEMP_CONFIG`| Absolute path to a temporary file created to render Terragrunt configuration. | Terragrunt |`/tmp/terragrunt.hcl`|
197
+
|`GITHUB_TOKEN`| GitHub token for accessing the GitHub API. | GitHub |`N/A`|
198
+
|`GITHUB_STALE_BRANCHES_DAYS`| Number of days after which branches are considered stale. | GitHub |`45`|
199
+
|`GITHUB_STALE_BRANCHES_COMMITS`| Number of commits after which branches are considered stale. | GitHub |`30`|
200
+
|`DOCKER_USERNAME`| Docker username forloggingin to the Docker registry. | Docker |`N/A`|
201
+
|`DOCKER_TOKEN`| Docker personal access token or organization access token forloggingin to the Docker registry. | Docker |`N/A`|
202
+
|`DOCKER_REPOSITORY`| Default Docker repository for operations. | Docker | current directory |
203
+
|`DOCKER_OWNER`| Default Docker owner of repositories.<br>Can be not set or set to Docker username for personal repositories, or to organization name. | Docker | parent directory |
204
+
|`DOCKER_STALE_IMAGES_DAYS`| Number of days after which images are considered stale. | Docker |`30`|
205
+
206
+
For the convenience, these variables can be setin a `.envrc` or similar file in the project directory and use with the `direnv` (
207
+
mentioned above; or other similar software) to load them automatically for every project separately and use inheritance for the convenience.
208
+
209
+
Velez will read Terragrunt configuration to expand any dynamic load available config remotely.
182
210
For example for each selected Terragrunt module backed configuration will be read to determine exact values of the S3
183
211
bucket and DynamoDB table and key used for locking the state.
0 commit comments