Component · Shared or other
Change request via GitHub issue and ServiceNow
What it is
Controlled changes to Choreo Cloud are requested as GitHub issues in the wso2-enterprise/wso2cloud repository. A change request (CR) uses the 'Service Request - Change' form and a title starting with [CR]:. A GitHub Actions workflow checks the form and labels it. The request then continues in the CSM portal (called ServiceNow in older workflow names), and its progress comes back as bot comments on the issue.
Like a service desk counter with a paper form: a clerk checks the form is complete before it is allowed into the approval queue.
Why it exists
Changes to shared environments need a record, a named change class and an approval path. Putting the form in GitHub means requesters stay where they already work. For stage and production environments nothing is changed directly: a CR (change request) is created and handed to the SRE team, who make the change. A promotion to prod, for instance, starts with a CR.
How it works
- A person opens an issue with one of four forms: Service Request - Change, Service Request - Generic, Incident / Bug Report / Vulnerability, or New Risk. The change form fills the title prefix [CR]: and asks for the change type, environments and the plans.
- The workflow 'GitHub Issue → CSM' runs when an issue is opened, edited or labelled. It recognises a CR by its [CR]: title.
- For a CR it requires Change Request Type to be exactly Normal Change, Standard Change or Emergency Change, and every required field to be filled, including Implementation Plan, Test Plan and Monitoring Checks. If not, it adds validation-failed and comments the missing fields. Editing the issue runs the check again.
- On a pass it adds validation-passed and a label CR/NormalChange, CR/StandardChange or CR/EmergencyChange, and comments that the request will be created in the CSM portal.
- As the request moves, the portal sends events back and bot comments show the new state and the change window. States include New, Assess, Authorize, Scheduled (CAB approved), Implement, Review and Closed.
Key facts
- Repository
- wso2-enterprise/wso2cloud
- Change title prefix
- [CR]:
- Change classes
- Normal Change, Standard Change, Emergency Change
- Labels
- validation-passed, validation-failed, CR/NormalChange, CR/StandardChange, CR/EmergencyChange
- Environments on the form
- Development, Staging V1, Production V1, Staging V2, Production V2 US, Production V2 EU
- CAB
- Change advisory board
- Namespace
- wso2-enterprise/wso2cloud issues
Talks to (2)
- depends on manual-promote-environment promotions are requested through CR issues that go to the SRE teamissue to SRE
- depends on manual-deploy-hotfix hotfixes are requested through CR issues that go to the SRE teamissue to SRE
Inside and around
Part of: wso2cloud (WC core services)