ADWR
What is the ADWR
ADWR (Account Deletion Weekly Report) is a project within gitlab.com that generates weekly reports concerning account deletion requests.
The source code for it is located here.
How does the ADWR work
ADWR works by utilizing GitLab CI/CD and ruby scripts. It runs in two stages:
- gather
- create
gather stage
This stage runs the ./bin/gather
script, which includes the ADWR lib files and
calls the function ADWR::Gather.run!
. This function makes an API request to
gitlab.com to grab all the issues within the
Account Deletion and Other Requests project
that are in an open state. It then compiles these issues into a JSON file, which
is stored as an artifact.
create stage
This stage runs the ./bin/create
script, which includes the ADWR lib files and
calls the function ADWR::Create.run!
. This function uses the artifact made in
the gather stage to generate a report (which is an
ADWR issue).
The body of the created issues comes from parsing the issues from the artifact made in the gather stage, skipping those without an assignee.
This report will contain a table with the following information:
- the issue title
- the assignee’s gitlab.com username
- the assignee’s manager’s gitlab.com username
- labels the issue in question has.
When does the ADWR run
Currently, ADWR runs every Sunday at 0000 UTC.
Change management
As these are maintained via sync repositories, our standard change management process applies to all ADWR changes. See standard change management for more information.
Labels to use
For all issues and MRs involving ADWR, the label
Support-Ops-Category::GitLab Projects
should be used.
Change criticality
As this is an internal tool with no direct impact, all issues/MRs related to ADWR will be classified as criticality 4
5acb8dd8
)