Move mirror status logic to release-tools
🔎 What does this MR do and why?
This MR copies the logic for checking mirror status from chatops to release tools.
The files were copied verbatim from Chatops:
-
https://gitlab.com/gitlab-com/chatops/-/blob/cb01ad5c08c77266d64a15dd677e672de6505507/lib/chatops/slack/mirror_message.rb becomes
lib/release_tools/slack/mirror_message.rb
-
https://gitlab.com/gitlab-com/chatops/-/blob/cb01ad5c08c77266d64a15dd677e672de6505507/spec/chatops/slack/mirror_message_spec.rb becomes
spec/lib/release_tools/slack/mirror_message_spec.rb
-
https://gitlab.com/gitlab-com/chatops/-/blob/838041bd6978cf5d8914d141e7e097976a537a5b/lib/chatops/gitlab/security_mirror_status.rb becomes
lib/release_tools/security/mirror_status.rb
-
https://gitlab.com/gitlab-com/chatops/-/blob/2fb3ce952896b3603b2ee3a934915d3e2a1f87e0/spec/chatops/gitlab/security_mirror_status_spec.rb becomes
spec/lib/release_tools/security/mirror_status_spec.rb
- The
#status
method and all private methods from https://gitlab.com/gitlab-com/chatops/-/blob/cb01ad5c08c77266d64a15dd677e672de6505507/lib/chatops/commands/mirror.rb are moved tolib/release_tools/services/security_mirror_status_service.rb
, renamed as#execute
there. - The
#status
tests from https://gitlab.com/gitlab-com/chatops/-/blob/cb01ad5c08c77266d64a15dd677e672de6505507/spec/chatops/commands/mirror_spec.rb#L44 are moved tospec/lib/release_tools/services/security_mirror_status_service_spec.rb
.
The main changes needed were updating class names and updating the GitLab Client to use the client interface in release-tools as well as the Slack calls to use the Slack methods available in release-tools.
The next steps after this MR will be:
- Create a rake task to check the status
- Update chatops to call the rake task
- Remove the no longer used logic from chatops
🗒 A note to the reviewer
There is a lot of new code introduced here. But the majority is copied with no changes from the chatops project.
To make this easier to review, I've split it into 4 commits:
- Copies the code from chatops with no changes
- Update code for release-tools
- Copies the tests from chatops with minimal changes (I had to update the class names and a few other lines to make lefthook/rubocop happy)
- Update tests for release-tools
- Catch Unauthorized GitLab client error - see this thread for why this change was made: !2472 (comment 1451714982)
You can review commits (2.) and (4.) to see the changes made from the original chatops code. I've set the commits to be squashed upon merge.
If you would find it easier to review by having separate MRs for each class, just let me know and I am happy to split it up.
🔨 Local Testing
To test this, I ran the service locally:
Terminal output
CHAT_CHANNEL=<release_tools_tests_id> CI_JOB_URL=https://gitlab.com/gitlab-org/gitlab SECURITY_RELEASE_PIPELINE=true SLACK_APP_BOT_TOKEN=<token> RELEASE_BOT_PRODUCTION_TOKEN=<token> be pry --gem
[1] pry(main)> ReleaseTools::Services::SecurityMirrorStatusService.new.execute
2023-06-28 15:42:53.035510 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:53 -0600] 200 "GET https://gitlab.com/api/v4/groups/gitlab-org%2Fsecurity/projects" -
2023-06-28 15:42:53.632332 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:53 -0600] 200 "GET https://gitlab.com/api/v4/groups/gitlab-org%2Fsecurity/projects?id=gitlab-org%2Fsecurity&include_ancestor_groups=false&include_subgroups=true&order_by=created_at&owned=false&page=2&per_page=20&simple=false&sort=desc&starred=false&with_custom_attributes=false&with_issues_enabled=false&with_merge_requests_enabled=false&with_security_reports=false&with_shared=true" -
2023-06-28 15:42:53.838058 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:53 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fci-cd%2Fcustom-executor-drivers%2Fautoscaler/remote_mirrors" -
2023-06-28 15:42:54.044528 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:54 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fci-cd%2Fcustom-executor-drivers%2Fautoscaler/remote_mirrors" 2
2023-06-28 15:42:54.282023 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:54 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcli/remote_mirrors" -
2023-06-28 15:42:54.527213 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:54 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcli/remote_mirrors" 2
2023-06-28 15:42:54.776136 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:54 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcontainer-registry/remote_mirrors" -
2023-06-28 15:42:54.997238 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:54 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcontainer-registry/remote_mirrors" 2
2023-06-28 15:42:55.216328 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:55 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/remote_mirrors" -
2023-06-28 15:42:55.425216 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:55 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitaly/remote_mirrors" -
2023-06-28 15:42:55.630432 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:55 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/remote_mirrors" -
2023-06-28 15:42:55.884761 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:55 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab/remote_mirrors" -
2023-06-28 15:42:56.146400 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:56 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcharts%2Fgitlab/remote_mirrors" -
2023-06-28 15:42:56.347445 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:56 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcharts%2Fgitlab/remote_mirrors" -
2023-06-28 15:42:56.574708 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:56 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcluster-integration%2Fgitlab-agent/remote_mirrors" -
2023-06-28 15:42:56.795595 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:56 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcluster-integration%2Fgitlab-agent/remote_mirrors" -
2023-06-28 15:42:56.996283 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:56 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-elasticsearch-indexer/remote_mirrors" -
2023-06-28 15:42:57.228531 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:57 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-elasticsearch-indexer/remote_mirrors" -
2023-06-28 15:42:57.438248 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:57 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-exporter/remote_mirrors" -
2023-06-28 15:42:57.639671 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:57 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-exporter/remote_mirrors" -
2023-06-28 15:42:57.857110 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:57 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-foss/remote_mirrors" -
2023-06-28 15:42:58.083193 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:58 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-foss/remote_mirrors" -
2023-06-28 15:42:58.289725 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:58 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-metrics-exporter/remote_mirrors" -
2023-06-28 15:42:58.521893 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:58 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-metrics-exporter/remote_mirrors" -
2023-06-28 15:42:58.748835 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:58 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcloud-native%2Fgitlab-operator/remote_mirrors" -
2023-06-28 15:42:58.965927 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:58 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcloud-native%2Fgitlab-operator/remote_mirrors" -
2023-06-28 15:42:59.238204 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:59 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-pages/remote_mirrors" -
2023-06-28 15:42:59.474904 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:59 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-pages/remote_mirrors" -
2023-06-28 15:42:59.718261 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:59 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-runner/remote_mirrors" -
2023-06-28 15:42:59.960625 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:42:59 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-runner/remote_mirrors" -
2023-06-28 15:43:00.201484 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:00 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-shell/remote_mirrors" -
2023-06-28 15:43:00.459795 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:00 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-shell/remote_mirrors" -
2023-06-28 15:43:00.680196 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:00 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-vscode-extension/remote_mirrors" -
2023-06-28 15:43:00.922751 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:00 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-workhorse/remote_mirrors" -
2023-06-28 15:43:01.165675 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:01 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-workhorse/remote_mirrors" -
2023-06-28 15:43:01.404850 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:01 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fremote-development%2Fgitlab-workspaces-proxy/remote_mirrors" -
2023-06-28 15:43:01.633745 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:01 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fremote-development%2Fgitlab-workspaces-proxy/remote_mirrors" 2
2023-06-28 15:43:01.887575 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:01 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fbuild%2FCNG/remote_mirrors" -
2023-06-28 15:43:02.117615 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:02 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcharts%2Fcomponents%2Fimages/remote_mirrors" -
2023-06-28 15:43:02.362380 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:02 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fomnibus-gitlab/remote_mirrors" -
2023-06-28 15:43:02.580899 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:02 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fomnibus-gitlab/remote_mirrors" -
2023-06-28 15:43:02.789225 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:02 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fopstrace%2Fopstrace-ui/remote_mirrors" -
2023-06-28 15:43:03.014181 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:03 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fopstrace%2Fopstrace-ui/remote_mirrors" -
2023-06-28 15:43:03.211374 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:03 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fopstrace%2Fopstrace-ui/remote_mirrors" -
2023-06-28 15:43:03.460526 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:03 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fopstrace-ui/remote_mirrors" 2
2023-06-28 15:43:03.727245 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:03 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fquality%2Ftriage-ops/remote_mirrors" -
2023-06-28 15:43:03.961030 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:03 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Flib%2Ftriage-ops/remote_mirrors" 2
2023-06-28 15:43:04.162707 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:04 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-services%2Fversion.gitlab.com/remote_mirrors" 2
2023-06-28 15:43:04.367337 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-28 15:43:04 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-com%2Fwww-gitlab-com/remote_mirrors" 2
2023-06-28 15:43:04.686539 I ReleaseTools::Services::SecurityMirrorStatusService -- Running as part of a security pipeline
ReleaseTools::Services::SecurityMirrorStatusService::RepositoriesOutOfSync: ReleaseTools::Services::SecurityMirrorStatusService::RepositoriesOutOfSync
It successfully posted in slack:
Terminal output and slack message for successful mirroring run
CHAT_CHANNEL=<channel_id> CI_JOB_URL=https://gitlab.com/gitlab-org/gitlab SECURITY_RELEASE_PIPELINE=true SLACK_APP_BOT_TOKEN=<token> RELEASE_BOT_PRODUCTION_TOKEN=<token> be pry --gem
[1] pry(main)> ReleaseTools::Services::SecurityMirrorStatusService.new.execute
2023-06-29 11:02:38.354019 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:38 -0600] 200 "GET https://gitlab.com/api/v4/groups/gitlab-org%2Fsecurity/projects" -
2023-06-29 11:02:39.537607 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:39 -0600] 200 "GET https://gitlab.com/api/v4/groups/gitlab-org%2Fsecurity/projects?id=gitlab-org%2Fsecurity&include_ancestor_groups=false&include_subgroups=true&order_by=created_at&owned=false&page=2&per_page=20&simple=false&sort=desc&starred=false&with_custom_attributes=false&with_issues_enabled=false&with_merge_requests_enabled=false&with_security_reports=false&with_shared=true" -
2023-06-29 11:02:39.796484 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:39 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fci-cd%2Fcustom-executor-drivers%2Fautoscaler/remote_mirrors" -
2023-06-29 11:02:40.070217 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:40 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fci-cd%2Fcustom-executor-drivers%2Fautoscaler/remote_mirrors" 2
2023-06-29 11:02:40.293711 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:40 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcli/remote_mirrors" 30
2023-06-29 11:02:40.544541 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:40 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcontainer-registry/remote_mirrors" 30
2023-06-29 11:02:41.165936 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:41 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/remote_mirrors" -
2023-06-29 11:02:41.431528 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:41 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitaly/remote_mirrors" -
2023-06-29 11:02:41.694134 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:41 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/remote_mirrors" -
2023-06-29 11:02:41.931323 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:41 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab/remote_mirrors" -
2023-06-29 11:02:42.183139 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:42 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcharts%2Fgitlab/remote_mirrors" -
2023-06-29 11:02:42.445111 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:42 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcharts%2Fgitlab/remote_mirrors" -
2023-06-29 11:02:42.685050 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:42 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcluster-integration%2Fgitlab-agent/remote_mirrors" -
2023-06-29 11:02:43.022547 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:43 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcluster-integration%2Fgitlab-agent/remote_mirrors" -
2023-06-29 11:02:43.253086 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:43 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-elasticsearch-indexer/remote_mirrors" -
2023-06-29 11:02:43.492730 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:43 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-elasticsearch-indexer/remote_mirrors" -
2023-06-29 11:02:43.723364 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:43 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-exporter/remote_mirrors" -
2023-06-29 11:02:43.968553 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:43 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-exporter/remote_mirrors" -
2023-06-29 11:02:44.219014 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:44 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-foss/remote_mirrors" -
2023-06-29 11:02:44.484597 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:44 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-foss/remote_mirrors" -
2023-06-29 11:02:44.687549 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:44 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-metrics-exporter/remote_mirrors" 30
2023-06-29 11:02:44.971323 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:44 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fcloud-native%2Fgitlab-operator/remote_mirrors" -
2023-06-29 11:02:45.314432 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:45 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcloud-native%2Fgitlab-operator/remote_mirrors" -
2023-06-29 11:02:45.531426 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:45 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-pages/remote_mirrors" -
2023-06-29 11:02:45.779146 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:45 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-pages/remote_mirrors" -
2023-06-29 11:02:45.993475 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:45 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-runner/remote_mirrors" 30
2023-06-29 11:02:46.220447 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:46 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-shell/remote_mirrors" 30
2023-06-29 11:02:46.463248 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:46 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-vscode-extension/remote_mirrors" 30
2023-06-29 11:02:46.710532 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:46 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-workhorse/remote_mirrors" -
2023-06-29 11:02:46.948276 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:46 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fgitlab-workhorse/remote_mirrors" -
2023-06-29 11:02:47.189996 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:47 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fremote-development%2Fgitlab-workspaces-proxy/remote_mirrors" -
2023-06-29 11:02:47.499410 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:47 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fremote-development%2Fgitlab-workspaces-proxy/remote_mirrors" 2
2023-06-29 11:02:47.749785 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:47 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fbuild%2FCNG/remote_mirrors" -
2023-06-29 11:02:48.014453 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:48 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fcharts%2Fcomponents%2Fimages/remote_mirrors" -
2023-06-29 11:02:48.306239 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:48 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fomnibus-gitlab/remote_mirrors" -
2023-06-29 11:02:48.560935 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:48 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fomnibus-gitlab/remote_mirrors" -
2023-06-29 11:02:48.821562 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:48 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fopstrace%2Fopstrace-ui/remote_mirrors" -
2023-06-29 11:02:49.073247 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:49 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fopstrace%2Fopstrace-ui/remote_mirrors" -
2023-06-29 11:02:49.357671 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:49 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fopstrace%2Fopstrace-ui/remote_mirrors" -
2023-06-29 11:02:49.600980 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:49 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fsecurity%2Fopstrace-ui/remote_mirrors" 2
2023-06-29 11:02:49.842987 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:49 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fquality%2Ftriage-ops/remote_mirrors" 30
2023-06-29 11:02:50.080308 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:50 -0600] 401 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-services%2Fversion.gitlab.com/remote_mirrors" 30
2023-06-29 11:02:50.315504 D ReleaseTools::GitlabClient -- [HTTParty] [2023-06-29 11:02:50 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-com%2Fwww-gitlab-com/remote_mirrors" 2
2023-06-29 11:02:50.647654 I ReleaseTools::Services::SecurityMirrorStatusService -- Running as part of a security pipeline
=> nil
Author Check-list
- [-] Has documentation been updated?
Related to gitlab-com/gl-infra/delivery#19333 (closed)