From 0e46363ee8263e28a1c6869d699217e778f4a914 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonatan=20M=C3=A4nnchen?= <jonatan@maennchen.ch>
Date: Tue, 2 May 2023 13:32:57 +0200
Subject: [PATCH] feat(datasource/hexpm-bob): Switch to builds.hex.pm from
 repo.hex.pm (#21915)

---
 lib/modules/datasource/hexpm-bob/common.ts     | 2 +-
 lib/modules/datasource/hexpm-bob/index.spec.ts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/modules/datasource/hexpm-bob/common.ts b/lib/modules/datasource/hexpm-bob/common.ts
index f487d8b774..0be5a337f8 100644
--- a/lib/modules/datasource/hexpm-bob/common.ts
+++ b/lib/modules/datasource/hexpm-bob/common.ts
@@ -1,3 +1,3 @@
-export const defaultRegistryUrl = 'https://repo.hex.pm';
+export const defaultRegistryUrl = 'https://builds.hex.pm';
 
 export const datasource = 'hexpm-bob';
diff --git a/lib/modules/datasource/hexpm-bob/index.spec.ts b/lib/modules/datasource/hexpm-bob/index.spec.ts
index 25969936b4..6f494597d0 100644
--- a/lib/modules/datasource/hexpm-bob/index.spec.ts
+++ b/lib/modules/datasource/hexpm-bob/index.spec.ts
@@ -82,7 +82,7 @@ describe('modules/datasource/hexpm-bob/index', () => {
       });
       expect(res).toEqual({
         homepage: 'https://elixir-lang.org/',
-        registryUrl: 'https://repo.hex.pm',
+        registryUrl: 'https://builds.hex.pm',
         releases: [
           {
             gitRef: '185eeec5ecbc2a0c8d9b8b97cb2d23108615ffdb',
@@ -133,7 +133,7 @@ describe('modules/datasource/hexpm-bob/index', () => {
 
       expect(res).toEqual({
         homepage: 'https://www.erlang.org/',
-        registryUrl: 'https://repo.hex.pm',
+        registryUrl: 'https://builds.hex.pm',
         releases: [
           {
             gitRef: '6efb5e31df6bc512ed6c466584ef15b846dcecab',
-- 
GitLab