From 69a630d18536c93741768bd4b9b3ae5c45e9d5f2 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Mon, 8 Jun 2026 21:10:56 +0330 Subject: [PATCH] CI/Docker NuGet: Nexus-only (drop Liara fallback) NuGet loads the service index of EVERY listed source, so a 500 from the Liara fallback aborted the whole restore (NU1301) even though Nexus was healthy. Mirror cert chain is fixed now, so use our Nexus mirror as the single source of truth. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/ci-cd.yml | 10 ++++------ nuget.docker.config | 12 +++++------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index c384512..9eeedc9 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -39,9 +39,10 @@ jobs: git fetch --depth=1 origin "${REF}" git checkout FETCH_HEAD - - name: Write NuGet config (Nexus group primary; Liara fallback) - # Nexus nuget-group is the primary mirror; Liara is kept as a fallback so a - # single mirror outage (e.g. a 500 on the service index) doesn't break restore. + - name: Write NuGet config (Nexus only) + # Single source = our Nexus mirror. We do NOT list Liara as a fallback: NuGet loads + # the service index of EVERY configured source, so a 500 from a fallback aborts the + # whole restore (NU1301). Nexus is the source of truth. run: | cat > /tmp/nuget.ci.config << 'EOF' @@ -51,9 +52,6 @@ jobs: - diff --git a/nuget.docker.config b/nuget.docker.config index d4e6f4a..fbaaa29 100644 --- a/nuget.docker.config +++ b/nuget.docker.config @@ -1,9 +1,10 @@ @@ -11,9 +12,6 @@ -