chore: update import paths and registry refs after move to gitea (#307)
Repo moved from GitLab to Gitea (git.unbound.se). Updates Go module path, all internal Go imports, Renovate registry pkg name, .buildtools.yaml registry block, and Dockerfile (drops obsolete GOPRIVATE + GITLAB_USER/GITLAB_TOKEN). Reviewed-on: #307
This commit was merged in pull request #307.
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
FROM golang:1.26@sha256:b54cbf583d390341599d7bcbc062425c081105cc5ef6d170ced98ef9d047c716 AS build
|
FROM golang:1.26@sha256:b54cbf583d390341599d7bcbc062425c081105cc5ef6d170ced98ef9d047c716 AS build
|
||||||
|
|
||||||
ARG GITLAB_USER
|
|
||||||
ARG GITLAB_TOKEN
|
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
ENV GOPRIVATE=gitlab.com/unboundsoftware/*
|
|
||||||
ENV GOEXPERIMENT=jsonv2
|
ENV GOEXPERIMENT=jsonv2
|
||||||
|
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ import (
|
|||||||
"github.com/alecthomas/kong"
|
"github.com/alecthomas/kong"
|
||||||
"github.com/rs/cors"
|
"github.com/rs/cors"
|
||||||
|
|
||||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||||
"gitlab.com/unboundsoftware/auth0mock/handlers"
|
"git.unbound.se/unboundsoftware/auth0mock/handlers"
|
||||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module gitlab.com/unboundsoftware/auth0mock
|
module git.unbound.se/unboundsoftware/auth0mock
|
||||||
|
|
||||||
go 1.26.0
|
go 1.26.0
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DiscoveryHandler handles OIDC discovery endpoints
|
// DiscoveryHandler handles OIDC discovery endpoints
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ManagementHandler handles Auth0 Management API endpoints
|
// ManagementHandler handles Auth0 Management API endpoints
|
||||||
|
|||||||
+2
-2
@@ -9,8 +9,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed templates/login.html
|
//go:embed templates/login.html
|
||||||
|
|||||||
+2
-2
@@ -5,8 +5,8 @@ import (
|
|||||||
"log/slog"
|
"log/slog"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SessionHandler handles session-related endpoints
|
// SessionHandler handles session-related endpoints
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@
|
|||||||
"kubernetes"
|
"kubernetes"
|
||||||
],
|
],
|
||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"registry.gitlab.com/unboundsoftware/auth0mock"
|
"oci.unbound.se/unboundsoftware/auth0mock"
|
||||||
],
|
],
|
||||||
"enabled": false
|
"enabled": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user