pcluster-manager
pcluster-manager copied to clipboard
Adapt release process to new account/buckets
Description
This PR refactors some scripts and files to renew the mechanism to publish the infrastructure template files during a release. In addition it adapts to the new account and buckets used for the release.
This changes the 1-click links, so should be merged only at release time
Changes
-
release process - Add some scripts to upload in the buckets used to release the infrastructure files
-
release process - Add a script to update automatically the template links in the documentation
-
release process - Parametrize bucket name in the template, this will be substituted by a script
-
release process - Add a simple common file for error handling
-
fix (licenses) - Add license in some files where it was missing
-
fix (typos) - Fix typos in the slurm accounting template
-
release process - Fix buckets in the documentation
-
release process - Add a dictionary mapping each region with the new buckets
Changelog entry
N/A
How Has This Been Tested?
In various ways:
- Running multiple time the scripts, to ensure idempotency and to actually generate the documentation files
- Launched the Slurm accounting template in us-west-2 (using the 1-click in the slurm-accounting.md file) and successfully created all the resource. Also deletion of the stack was as expected
- Launched pcluster-manager template in eu-west-1 and ca-central-1 (using 1-click in the readme) and ap-northeast-1 (using the 1-click in pcmanager-install.md file) everything created successfully, I successfully created a cluster, also deletion of the stack was as expected
References
N/A
PR Quality Checklist
- [X] I checked that clusters are listed correctly
- [X] I checked that a new cluster can be created (config is produced and dry run passes)
- [X] I checked that login and logout work as expected
In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.