unity-builder
unity-builder copied to clipboard
Fixed AWS to work when no secrets specified
Changes
-
Updated AWS task definition related code so that it would allow creation of the cloud formation stack and not complain if the ContainerDefinition secrets were null
Checklist
- [x] Read the contribution guide and accept the code of conduct
- [ ] Docs (If new inputs or outputs have been added or changes to behavior that should be documented. Please make a PR in the documentation repo)
- [ ] Readme (updated or not needed)
- [ ] Tests (added, updated or not needed)
Summary by CodeRabbit
-
New Features
- Enhanced AWS CloudFormation template generation with improved secret management.
- Added logging for better traceability during AWS job stack and task definition processes.
- Introduced new input parameters
cloneDepthandcloudRunnerRepoNamefor repository cloning operations. - Dynamic construction of Unity Builder repository URL based on configuration.
-
Refactor
- Updated secret handling in CloudFormation template configuration.
- Removed
Secretsproperty from container definitions. - Changed
imageRollingVersionproperty type from number to string for better data representation. - Added static getters for
cloneDepthandcloudRunnerRepoNamein CloudRunner options. - Modified cloning logic to include a depth parameter for optimization.
-
Chores
- Improved code comments for clarity in secret template generation.