This training material will cover the following topics:
ADWR (Account Deletion Weekly Report) is a project within gitlab.com that generates weekly reports concerning account deletion requests.
ADWR works by utilizing GitLab CI/CD and ruby scripts. It runs in two stages:
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 stage. It then compiles these issues into a JSON file, which
is stored as an artifact.
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:
Currently, ADWR runs every Sunday at 0000 UTC.