@@ -31,6 +31,8 @@ Requirements:
3131* Run ` pre-commit install ` to install the git hook.
3232
3333## Testing
34+
35+ ### Pre-Commit
3436As a pre-deployment step we syntatically validate our sceptre and
3537cloudformation yaml files with [ pre-commit] ( https://pre-commit.com ) .
3638
@@ -40,6 +42,30 @@ execute the validations by running `pre-commit run --all-files`.
4042Please install pre-commit, once installed the file validations will
4143automatically run on every commit.
4244
45+ ### Functional Testing
46+ The process to test the functionality of an AMI and it's integration with our
47+ Service Catalog products is to first manually create a new AMI, then manually
48+ upload a new product template to S3, and finally create a test product in
49+ Service Catalog through a pull request to ` organizations-infra ` :
50+
51+ 1 . Make local changes to the packer repo to update or modify the AMI.
52+ 1 . Run packer manually with admin credentials for the ` itsandbox ` account
53+ to create a test AMI.
54+ 1 . Create an EC2 instance in the ` itsandbox ` account from the test AMI for any
55+ initial system validation.
56+ 1 . Make local changes to ` service-catalog-library ` to update the desired template
57+ to reference the test AMI.
58+ 1 . Manually upload the test template to S3 in the ` itsandbox ` account.
59+ 1 . Create a pull request for ` organizations-infra ` to add a new Service Catalog
60+ product to ` scipool-dev ` with 'test' in the name.
61+ 1 . Provision the test product from http://sc-dev.sageit.org to validate AMI
62+ integration with the product template
63+ 1 . Create a pull request for the packer repo to modify the AMI.
64+ 1 . Create a pull request for ` service-catalog-library ` to reference the new AMI.
65+ 1 . Create a pull request for ` organizations-infra ` to remove the test product and
66+ update the target product with the new template version.
67+ 1 . Delete the manually-created resources from ` itsandbox ` .
68+
4369## Issues
4470* https://sagebionetworks.jira.com/projects/IT
4571
0 commit comments