Comment on page
Our Test Swarm for testing and doing UAT
In order to test new code, but also to help requestors do UAT, we have created a swarm of test instances that can be used by P4 dev team to test and showcase specific changes.
On opening a Pull Request a test instance is automatically selected. A label and a comment are added to the PR once it's been deployed. The relevant Jira ticket is also update in order for the test instance to appear occupied in the Test Swarm Dashboard.
If you want to manually reserve a test instance you can follow these steps:
- 2.Go to your Jira ticket and enter the name of the instance you want to use in the
environmentfield of the relevant ticket. This is necessary in order to reserve that instance. Keep in mind, that the ticket should be either "In Progress" (status "In Development") or "In Review".
- 3.The Dashboard provides direct link to the instance source code, so by adjusting its
composer-local.jsonfile you can trigger a deployment for a specific branch per repository.
When a PR is finally merge into the
mainbranch of an app repository, a reset-instance job is running that mainly does two things:
composer-local.jsonand switch to
dev-mainfor both app repositories.
- 2.During the reset pipeline the defaultcontent database is being imported effectively reseting all addinional content that had been created in the meantime.
If you want to manually reset a test instance database all you have to do is add a commit with the
[RESET]prefix in its subject.