Skip to content

Commit

Permalink
chore: Update Naming Convention for Nexus-Operator Resources (#384)
Browse files Browse the repository at this point in the history
* Fix github build start templates
  • Loading branch information
Mykola Serdiuk authored and SergK committed Dec 23, 2024
1 parent 18967e1 commit be7ca1b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion charts/pipelines-library/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ dependencies:
repository: https://epam.github.io/edp-helm-charts/stable
version: 0.4.1
digest: sha256:67e48f27bda2fc673cc79ba2a9c6dce61b6c5b00679303e85e11e3dc00b51719
generated: "2024-12-23T11:08:17.822724+02:00"
generated: "2024-12-23T12:11:42.718002+02:00"
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ metadata:
labels:
{{- include "edp-tekton.labels" . | nindent 4 }}
data:
SNAPSHOTS_REPO_PATH: "/repository/edp-maven-snapshots"
RELEASES_REPO_PATH: "/repository/edp-maven-releases"
SNAPSHOTS_REPO_PATH: "/repository/krci-maven-snapshots"
RELEASES_REPO_PATH: "/repository/krci-maven-releases"
init.gradle: |
// Copyright 2024 EPAM Systems.
//
Expand Down Expand Up @@ -52,7 +52,7 @@ data:
username = System.getenv("CI_USERNAME")
password = System.getenv("CI_PASSWORD")
}
url = System.getenv("NEXUS_HOST_URL") + "/repository/edp-maven-group"
url = System.getenv("NEXUS_HOST_URL") + "/repository/krci-maven-group"
allowInsecureProtocol = true
}
maven {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ data:
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://nexus.nexus:8081/repository/edp-maven-group</url>
<url>http://nexus.nexus:8081/repository/krci-maven-group</url>
</mirror>
</mirrors>
Expand All @@ -95,8 +95,8 @@ data:
<profile>
<id>nexus</id>
<properties>
<altSnapshotDeploymentRepository>nexus::http://nexus.nexus:8081/repository/edp-maven-snapshots</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>nexus::http://nexus.nexus:8081/repository/edp-maven-releases</altReleaseDeploymentRepository>
<altSnapshotDeploymentRepository>nexus::http://nexus.nexus:8081/repository/krci-maven-snapshots</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>nexus::http://nexus.nexus:8081/repository/krci-maven-releases</altReleaseDeploymentRepository>
</properties>
</profile>
<!-- GitLab registry profile for managing artifacts within GitLab. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,36 @@ metadata:
{{- include "edp-tekton.labels" . | nindent 4 }}
data:
.npmrc-ci: |
registry=${NEXUS_HOST_URL}/repository/edp-npm-group
${NEXUS_HOST}/repository/:email=ci.user@edp.com
registry=${NEXUS_HOST_URL}/repository/krci-npm-group
${NEXUS_HOST}/repository/:email=ci.user@krci.com
${NEXUS_HOST}/repository/:_auth=${upBase64}
cache=${NPM_CACHE_DIR}
.npmrc-publish-snapshots: |
registry=${NEXUS_HOST_URL}/repository/edp-npm-snapshots
${NEXUS_HOST}/repository/:email=ci.user@edp.com
registry=${NEXUS_HOST_URL}/repository/krci-npm-snapshots
${NEXUS_HOST}/repository/:email=ci.user@krci.com
${NEXUS_HOST}/repository/:_auth=${upBase64}
cache=${NPM_CACHE_DIR}
.npmrc-publish-releases: |
registry=${NEXUS_HOST_URL}/repository/edp-npm-releases
${NEXUS_HOST}/repository/:email=ci.user@edp.com
registry=${NEXUS_HOST_URL}/repository/krci-npm-releases
${NEXUS_HOST}/repository/:email=ci.user@krci.com
${NEXUS_HOST}/repository/:_auth=${upBase64}
cache=${NPM_CACHE_DIR}
# Example of how to push changes when using Node.js version 18.10.0 with the node:18.10-alpine3.16 image
# .npmrc-ci: |
# registry=${NEXUS_HOST_URL}/repository/edp-npm-group
# registry=${NEXUS_HOST_URL}/repository/krci-npm-group
# _auth=${upBase64}
# cache=${NPM_CACHE_DIR}

# .npmrc-publish-snapshots: |
# registry=${NEXUS_HOST_URL}/repository/edp-npm-snapshots
# registry=${NEXUS_HOST_URL}/repository/krci-npm-snapshots
# _auth=${upBase64}
# cache=${NPM_CACHE_DIR}

# .npmrc-publish-releases: |
# registry=${NEXUS_HOST_URL}/repository/edp-npm-releases
# registry=${NEXUS_HOST_URL}/repository/krci-npm-releases
# _auth=${upBase64}
# cache=${NPM_CACHE_DIR}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ data:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nugetStorageSnapshots" value="%NEXUS_HOST_URL%/repository/edp-dotnet-snapshots" />
<add key="nugetStorageReleases" value="%NEXUS_HOST_URL%/repository/edp-dotnet-releases" />
<add key="nugetStorageSnapshots" value="%NEXUS_HOST_URL%/repository/krci-dotnet-snapshots" />
<add key="nugetStorageReleases" value="%NEXUS_HOST_URL%/repository/krci-dotnet-releases" />
</packageSources>
<packageSourceCredentials>
<nugetStorageSnapshots>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ metadata:
{{- include "edp-tekton.labels" . | nindent 4 }}
data:
# Private repo index path PIP searches through. It is used by 'pip search' command.
# e.g. '/repository/edp-python-group/pypi'
PIP_INDEX_PATH: "/repository/edp-python-group/pypi"
# e.g. '/repository/krci-python-group/pypi'
PIP_INDEX_PATH: "/repository/krci-python-group/pypi"

# Repo index path from wich PIP downloads private packages and public packages via proxy.
# PIP_INDEX_URL can have only one URL while PIP_EXTRA_INDEX_URL can hold
# multiple URLs if passed with spaces. It is used by 'pip install' command.
# To access index via web, add slash at the end of 'simple/'.
# e.g. '/repository/edp-python-group/simple'
PIP_INDEX_URL_PATH: "/repository/edp-python-group/simple"
# e.g. '/repository/krci-python-group/simple'
PIP_INDEX_URL_PATH: "/repository/krci-python-group/simple"

# Path for the snapshots repository in artifact storage.
REPOSITORY_SNAPSHOTS_PATH: "/repository/edp-python-snapshots/"
REPOSITORY_SNAPSHOTS_PATH: "/repository/krci-python-snapshots/"

# Path for the releases repository in artifact storage
REPOSITORY_RELEASES_PATH: "/repository/edp-python-releases/"
REPOSITORY_RELEASES_PATH: "/repository/krci-python-releases/"

# Example for pushing a snapshot and a release packages package to GitLab
# Ref: https://docs.gitlab.com/ee/user/packages/pypi_repository/
Expand Down

0 comments on commit be7ca1b

Please sign in to comment.