From 530fb9d61e66067b05e094813d585eb57171c14f Mon Sep 17 00:00:00 2001 From: Matthias Kaeppler <mkaeppler@gitlab.com> Date: Mon, 1 Aug 2022 11:36:04 +0200 Subject: [PATCH] Pin gitlab-metrics-exporter version It turns out we cannot use moving refs like branch names in our release tooling. Setting this to a SHA should allow us to re-add GME to our release pipeline without failing deploys. --- GITLAB_METRICS_EXPORTER_VERSION | 2 +- spec/lib/tasks/gitlab/metrics_exporter_task_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GITLAB_METRICS_EXPORTER_VERSION b/GITLAB_METRICS_EXPORTER_VERSION index ba2906d0666cf..f3e956091b9c0 100644 --- a/GITLAB_METRICS_EXPORTER_VERSION +++ b/GITLAB_METRICS_EXPORTER_VERSION @@ -1 +1 @@ -main +2c781b65ccfd6d016c7bfab1982ecb234c4e2cd0 diff --git a/spec/lib/tasks/gitlab/metrics_exporter_task_spec.rb b/spec/lib/tasks/gitlab/metrics_exporter_task_spec.rb index dfb3c5114703f..4e17e91f0195e 100644 --- a/spec/lib/tasks/gitlab/metrics_exporter_task_spec.rb +++ b/spec/lib/tasks/gitlab/metrics_exporter_task_spec.rb @@ -26,7 +26,7 @@ let(:expected_clone_params) do { repo: 'https://gitlab.com/gitlab-org/gitlab-metrics-exporter.git', - version: 'main', + version: an_instance_of(String), target_dir: 'path/to/exporter' } end -- GitLab