diff --git a/ci/pipelines/hwlab-jd01-v03-ci-image-publish.yaml b/ci/pipelines/hwlab-jd01-v03-ci-image-publish.yaml index 9c1ff9c7..6f50feec 100644 --- a/ci/pipelines/hwlab-jd01-v03-ci-image-publish.yaml +++ b/ci/pipelines/hwlab-jd01-v03-ci-image-publish.yaml @@ -24,7 +24,7 @@ { "name": "git-read-url", "type": "string", - "default": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git" + "default": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" }, { "name": "git-write-url", diff --git a/deploy/deploy.yaml b/deploy/deploy.yaml index bf18e620..b5750d26 100644 --- a/deploy/deploy.yaml +++ b/deploy/deploy.yaml @@ -361,8 +361,8 @@ lanes: - model-catalog.json externalPostgres: enabled: true - serviceName: g14-platform-postgres - endpointAddress: 10.42.0.1 + serviceName: jd01-pk01-platform-postgres + endpointAddress: 82.156.23.220 port: 5432 runtimeStore: postgres: diff --git a/scripts/gitops-render.mjs b/scripts/gitops-render.mjs index c3347f47..311ebca0 100644 --- a/scripts/gitops-render.mjs +++ b/scripts/gitops-render.mjs @@ -27,7 +27,7 @@ const defaultSourceRepo = process.env.HWLAB_NODE_GIT_URL || "git@github.com:pika const defaultGitReadUrl = process.env.HWLAB_NODE_GIT_READ_URL || null; const defaultV02GitReadUrl = process.env.HWLAB_V02_GIT_READ_URL || "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"; const defaultV02GitWriteUrl = process.env.HWLAB_V02_GIT_WRITE_URL || "http://git-mirror-write.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"; -const defaultRuntimeLaneGitReadUrl = process.env.HWLAB_RUNTIME_LANE_GIT_READ_URL || defaultV02GitReadUrl; +const defaultRuntimeLaneGitReadUrl = process.env.HWLAB_RUNTIME_LANE_GIT_READ_URL || "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git"; const defaultRuntimeLaneGitWriteUrl = process.env.HWLAB_RUNTIME_LANE_GIT_WRITE_URL || defaultV02GitWriteUrl; const defaultBranch = process.env.HWLAB_NODE_BRANCH || "node"; const defaultGitopsBranch = process.env.HWLAB_NODE_GITOPS_BRANCH || "node-gitops"; diff --git a/scripts/gitops-render.test.ts b/scripts/gitops-render.test.ts index ea1c3754..2723b482 100644 --- a/scripts/gitops-render.test.ts +++ b/scripts/gitops-render.test.ts @@ -650,8 +650,8 @@ test("v03 render keeps node identity as data instead of generated structure", as const externalPostgres = JSON.parse(await readFile(path.join(outDir, "runtime-v03", "external-postgres.yaml"), "utf8")); assert.deepEqual((externalPostgres.items ?? []).map((item) => item.kind), ["Service", "EndpointSlice"]); const externalPostgresSlice = (externalPostgres.items ?? []).find((item) => item.kind === "EndpointSlice"); - assert.equal(externalPostgresSlice?.metadata?.name, "g14-platform-postgres-host"); - assert.equal(externalPostgresSlice?.metadata?.labels?.["kubernetes.io/service-name"], "g14-platform-postgres"); + assert.equal(externalPostgresSlice?.metadata?.name, "jd01-pk01-platform-postgres-host"); + assert.equal(externalPostgresSlice?.metadata?.labels?.["kubernetes.io/service-name"], "jd01-pk01-platform-postgres"); const deepseekProxy = await readFile(path.join(outDir, "runtime-v03", "deepseek-proxy.yaml"), "utf8"); const deepseekProxyJson = JSON.parse(deepseekProxy); const metricsSidecarConfigMaps = [...(workloadsJson.items ?? []), ...(deepseekProxyJson.items ?? [])]