Label stacked PRs @osterman (#1158)
## what - Label/unlabel a PR as stacked if it doesn't merge into mainwhy
- Make it easier to identify the stacked PRs
Summary by CodeRabbit
- New Features
- Automated pull request labeling now helps distinguish the intended target branch. Pull requests not aiming at the primary branch are tagged as "stacked" for easier tracking, while those targeting the primary branch have this label removed.
Enhance Atmos Configuration with atmos.d Support and Import Functionality @haitham911 (#1085)
## what * Support the `atmos.d` convention for `atmos.yaml` configuration, allowing automatic inclusion of configuration files from the atmos.d directory. * Made the path to atmos.d configurable within atmos.yaml, enabling users to specify custom directories for additional configurations. * Add support for the `import` key inside `atmos.yaml, allowing users to define a list of locations (local files, directories using glob patterns, and remote URLs) to import configurations from. * process YAML directives !env are correctly processed and stored in Viper. Key changeswhy
- atmos.d convention allows automatic inclusion of configuration files
- Import key enables pulling configurations from multiple sources (local, remote, and glob patterns)
- handle Atmos custom functions !env
references
Summary by CodeRabbit
-
New Features
- Introduced modular configuration imports that allow users to load settings from remote URLs, local files, and recursive directories.
- Added a new CLI command to run tests and enhanced default configuration settings.
- Added new configuration sections for logging, Terraform, Helmfile, and stacks.
- New configuration file created for Atmos CLI with a base import path set to
./
. - Enhanced CLI commands with detailed configurations for components, stacks, and workflows.
- New section in the Atmos CLI configuration documentation outlining the functionality of importing other configurations.
-
Refactor
- Streamlined the configuration loading and merging process for a more efficient and maintainable experience.
- Enhanced the test suite with a modular, parameterized testing approach for better organization and clarity.
-
Documentation
- Updated docs with a new "Imports" section detailing functionality and best practices for configuration imports.
-
Tests
- Expanded test coverage for configuration import scenarios with improved logging and structured test cases.
- Introduced a comprehensive suite of unit tests for the configuration import functionality.
🚀 Enhancements
suppress artifactory debug logging @mcalhoun (#1167)
## whatSuppress debug logging in the Artifactory SDK when calling Artifactory methods in the Atmos store
. Only show these logs if Atmos logging level is set to debug
.
why
It is too noisy on the CLI if we leave this logging enabled.
Summary by CodeRabbit
-
New Features
- Enhanced the logging system to dynamically switch between detailed debug output when in DEBUG mode and minimized log output during normal operations.
- Introduced a silent logging component that suppresses unnecessary log entries, streamlining the log output.
-
Tests
- Implemented a new test to validate the logging configuration across various log levels.
- Added tests for the functionality of the silent logging component to ensure expected behavior.