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 committed Dec 20, 2024
1 parent b546a88 commit 4f3b094
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 31 deletions.
4 changes: 2 additions & 2 deletions charts/common-library/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: A Helm chart library with common components for KubeRocketCI Tekton
home: https://docs.kuberocketci.io
name: edp-tekton-common-library
type: library
version: 0.3.7
appVersion: 0.3.7
version: 0.3.8
appVersion: 0.3.8
icon: https://docs.kuberocketci.io/img/logo.svg
keywords:
- edp
Expand Down
2 changes: 1 addition & 1 deletion charts/common-library/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# edp-tekton-common-library

![Version: 0.3.7](https://img.shields.io/badge/Version-0.3.7-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.3.7](https://img.shields.io/badge/AppVersion-0.3.7-informational?style=flat-square)
![Version: 0.3.8](https://img.shields.io/badge/Version-0.3.8-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.3.8](https://img.shields.io/badge/AppVersion-0.3.8-informational?style=flat-square)
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/epmdedp)](https://artifacthub.io/packages/search?repo=epmdedp)

A Helm chart library with common components for KubeRocketCI Tekton Pipelines
Expand Down
4 changes: 4 additions & 0 deletions charts/common-library/templates/_common_github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
taskRef:
kind: Task
name: github-set-status
when:
- input: $(params.gitsha)
operator: notin
values: ["$(tt.params.gitsha)"]
params:
- name: REPO_FULL_NAME
value: $(params.gitfullrepositoryname)
Expand Down
6 changes: 3 additions & 3 deletions charts/pipelines-library/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: edp-tekton-common-library
repository: file://../common-library
version: 0.3.7
version: 0.3.8
- name: tekton-cache
repository: https://epam.github.io/edp-helm-charts/stable
version: 0.4.1
digest: sha256:3880d2be9efd9b03dc3a2f9a7ad5e0011ee17e0cf33e7ba855ccb623cfc5e535
generated: "2024-12-19T08:36:25.19115+02:00"
digest: sha256:67e48f27bda2fc673cc79ba2a9c6dce61b6c5b00679303e85e11e3dc00b51719
generated: "2024-12-20T19:40:54.859764+02:00"
2 changes: 1 addition & 1 deletion charts/pipelines-library/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ annotations:
# we use templates from common library
dependencies:
- name: edp-tekton-common-library
version: 0.3.7
version: 0.3.8
repository: "file://../common-library"
- name: tekton-cache
version: 0.4.1
Expand Down
2 changes: 1 addition & 1 deletion charts/pipelines-library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Follows [Tekton Interceptor](https://tekton.dev/vault/triggers-main/clusterinter
| Repository | Name | Version |
|------------|------|---------|
| @epamedp | tekton-cache | 0.4.1 |
| file://../common-library | edp-tekton-common-library | 0.3.7 |
| file://../common-library | edp-tekton-common-library | 0.3.8 |

## Values

Expand Down
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 4f3b094

Please sign in to comment.