Skip to content

Commit

Permalink
chore: Align to new name KubeRocketCI (#220)
Browse files Browse the repository at this point in the history
Remove old custom chart that is deprecated

Signed-off-by: Sergiy Kulanov <[email protected]>
  • Loading branch information
SergK committed Jul 5, 2024
1 parent b3ddc33 commit c20d308
Show file tree
Hide file tree
Showing 104 changed files with 90 additions and 8,477 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# Create a new file with the desired text and the UUIDs
echo "### Deployment Certifications and Source Traceability" > new_release.md
echo "EDP container images bear [cosign](https://github.com/sigstore/cosign) signatures. Refer to the [documentation](https://epam.github.io/edp-install/operator-guide/artifacts-verification/) for instructions on verification." >> new_release.md
echo "KubeRocketCI container images bear [cosign](https://github.com/sigstore/cosign) signatures. Refer to the [documentation](https://docs.kuberocketci.io./docs/developer-guide/artifacts-verification) for instructions on verification." >> new_release.md
echo "The Rekor UUID's for this release is \`${ATTESTATION_UUID}\` - attestation and" >> new_release.md
echo "\`${SIGNATURE_UUID}\` - signature" >> new_release.md
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@

<!-- /TOC -->

The edp-tekton repository consolidates elements for Tekton integration with EDP [EPAM Delivery Platform (EDP)](https://epam.github.io/edp-install/).
The edp-tekton repository consolidates elements for Tekton integration with [KubeRocketCI](https://docs.kuberocketci.io) (former EPAM Delivery Platform (EDP)).
and disposes of two main components:

- **EDP Interceptor**. Follows [Tekton Interceptor](https://tekton.dev/vault/triggers-main/clusterinterceptors/) paradigm and enriches payload from different Version Control Systems (VCS) like Gerrit, GitHub or GitLab with EDP specific data.
- **Tekton Pipelines**. Consists of [Tekton Tasks, Pipelines, Triggers](https://tekton.dev/docs/pipelines/) and implements EDP CI Pipelines logic. Some of the tasks are forks from [origin source](https://github.com/tektoncd/catalog), the others are EDP specific.
- **EDP Interceptor**. Follows [Tekton Interceptor](https://tekton.dev/vault/triggers-main/clusterinterceptors/) paradigm and enriches payload from different Version Control Systems (VCS) like Gerrit, GitHub or GitLab with the platform specific metadata.
- **Tekton Pipelines**. Consists of [Tekton Tasks, Pipelines, Triggers](https://tekton.dev/docs/pipelines/) and implements KubeRocketCI Pipelines logic. Some of the tasks are forks from [origin source](https://github.com/tektoncd/catalog), the others are platform specific.

## EDP Interceptor

EDP Interceptor is used as a component that provides EDP data for Tekton Pipelines. The code is based on [Upstream implementation](https://github.com/tektoncd/triggers/tree/main/pkg/interceptors).
EDP Interceptor is used as a component that provides KubeRocketCI metadata for Tekton Pipelines. The code is based on [Upstream implementation](https://github.com/tektoncd/triggers/tree/main/pkg/interceptors).

EDP Interceptor extracts information from VCS payload, like `repository_name`. The `repository_name` has 1-2-1 mapping with `EDP Codebase` (kind: Codebase; apiVersion:v2.edp.epam.com/v1). Interceptor populates Tekton Pipelines with [Codebase SPEC](https://github.com/epam/edp-codebase-operator/blob/master/docs/api.md#codebasespec) data, see the diagram below:
EDP Interceptor extracts information from VCS payload, like `repository_name`. The `repository_name` has 1-2-1 mapping with the KubeRocketCI `Codebase` (kind: Codebase; apiVersion:v2.edp.epam.com/v1). Interceptor populates Tekton Pipelines with [Codebase SPEC](https://github.com/epam/edp-codebase-operator/blob/master/docs/api.md#codebasespec) data, see the diagram below:

┌────────────┐ ┌─────────────────┐ ┌─────────────┐
│ │ │ EDP Interceptor │ │ Tekton │
Expand All @@ -38,19 +38,19 @@ EDP Interceptor extracts information from VCS payload, like `repository_name`. T
└────────────────────────────────┘

The data, retrieved from the Codebase SPEC, is used in Tekton Pipelines logic.
The docker images for EDP Interceptor are available on the [DockerHub](https://hub.docker.com/repository/docker/epamedp/edp-tekton).
The docker images for Interceptor are available on the [DockerHub](https://hub.docker.com/repository/docker/epamedp/edp-tekton).
The helm-chart for interceptor deployment is in the same repository by the [charts/interceptor](./charts/interceptor) directory.

## Tekton Pipelines

Tekton Pipelines supports three VCS: Gerrit, GitHub, GitLab. To check the VCS Import strategy, please refer to the [EDP Documentation](https://epam.github.io/edp-install/operator-guide/import-strategy/).
Tekton Pipelines supports three VCS: Gerrit, GitHub, GitLab. To check the VCS Import strategy, please refer to the [KubeRocketCI Documentation](https://docs.kuberocketci.io)).

EDP Tekton Pipelines are implemented and packaged using the [helm-chart](./charts/pipelines-library/) approach. The helm-chart contains:
Tekton Pipelines are implemented and packaged using the [helm-chart](./charts/pipelines-library/) approach. The helm-chart contains:

- `Tasks` - basic building block for Tekton. Some of the tasks are forks from [Upstream Tekton Catalog](https://github.com/tektoncd/catalog).
- `Pipelines`, which consist of `Tasks` and implement logic for the CI flow. EDP follows the below approach for pipelines definition:
- `Pipelines`, which consist of `Tasks` and implement logic for the CI flow. KubeRocketCI follows the below approach for pipelines definition:
- Each type of VCS has its own Pipelines, e.g. for Gerrit, GitHub, GitLab;
- EDP has [two types of Pipelines](https://epam.github.io/edp-install/user-guide/ci-pipeline-details/): `CodeReview` - triggers on Review, `Build` - triggers on Merged Event.
- KubeRocketCI has [two types of Pipelines](https://docs.kuberocketci.io/docs/operator-guide/ci/tekton-overview): `CodeReview` - triggers on Review, `Build` - triggers on Merged Event.
- `Triggers`, `TriggerBindings`, `TriggerTemplates` - defines the logic for specific VCS Events (Gerrit, GitHub, GitLab) and Pipelines.
- `Resources` - Kubernetes resources, that are used from Pipelines, e.g. `ServiceAccount` with [IRSA Enablement](https://epam.github.io/edp-install/operator-guide/kaniko-irsa/), `ConfigMaps` for Maven/Gradle Pipelines, Tekton cache, CodeNarc, CTLint, and PVC to share resources between Tasks.
- `Resources` - Kubernetes resources, that are used from Pipelines, e.g. `ServiceAccount` with [IRSA Enablement](https://docs.kuberocketci.io/docs/developer-guide/aws-reference-architecture#iam-roles-for-service-accounts-irsa), `ConfigMaps` for Maven/Gradle Pipelines, Tekton cache, CodeNarc, CTLint, and PVC to share resources between Tasks.
- `Tekton Pipeline pruner` - created as a cron job, it is designed to clear outdated pipelines.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported Versions

The EDP Tekton project maintains release branches for the three most recent minor releases. Applicable fixes, including security fixes, may be backported to those three release branches, depending on severity and feasibility. Please refer to CHANGELOG.md for details.
The KubeRocketCI Tekton project maintains release branches for the three most recent minor releases. Applicable fixes, including security fixes, may be backport to those three release branches, depending on severity and feasibility. Please refer to CHANGELOG.md for details.

## Reporting a Vulnerability

Expand Down
19 changes: 9 additions & 10 deletions charts/common-library/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v2
description: A Helm chart library with common components for EDP Tekton Pipelines
home: https://epam.github.io/edp-install/
description: A Helm chart library with common components for KubeRocketCI Tekton Pipelines
home: https://docs.kuberocketci.io
name: edp-tekton-common-library
type: library
version: 0.2.18
appVersion: 0.2.18
icon: https://epam.github.io/edp-install/assets/logo.png
version: 0.3.0
appVersion: 0.3.0
icon: https://docs.kuberocketci.io/img/logo.svg
keywords:
- edp
- tekton
Expand All @@ -22,16 +22,15 @@ keywords:
maintainers:
- name: epmd-edp
email: [email protected]
url: https://solutionshub.epam.com/solution/epam-delivery-platform
url: https://solutionshub.epam.com/solution/kuberocketci
- name: sergk
url: https://github.com/SergK
sources:
- https://github.com/epam/edp-tekton
annotations:
artifacthub.io/license: Apache-2.0
artifacthub.io/operatorCapabilities: Basic Install
artifacthub.io/links: |
- name: EDP Documentation
url: https://epam.github.io/edp-install/
- name: KubeRocketCI Documentation
url: https://docs.kuberocketci.io
- name: EPAM SolutionHub
url: https://solutionshub.epam.com/solution/epam-delivery-platform
url: https://solutionshub.epam.com/solution/kuberocketci
10 changes: 5 additions & 5 deletions charts/common-library/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# edp-tekton-common-library

![Version: 0.2.18](https://img.shields.io/badge/Version-0.2.18-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.2.18](https://img.shields.io/badge/AppVersion-0.2.18-informational?style=flat-square)
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-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 EDP Tekton Pipelines
A Helm chart library with common components for KubeRocketCI Tekton Pipelines

## Additional Information

Common library that holds steps for EDP pipelines
Common library that holds steps for KubeRocketCI pipelines

**Homepage:** <https://epam.github.io/edp-install/>
**Homepage:** <https://docs.kuberocketci.io>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| epmd-edp | <[email protected]> | <https://solutionshub.epam.com/solution/epam-delivery-platform> |
| epmd-edp | <[email protected]> | <https://solutionshub.epam.com/solution/kuberocketci> |
| sergk | | <https://github.com/SergK> |

## Source Code
Expand Down
2 changes: 1 addition & 1 deletion charts/common-library/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Additional Information

Common library that holds steps for EDP pipelines
Common library that holds steps for KubeRocketCI pipelines

{{ template "chart.homepageLine" . }}

Expand Down
2 changes: 0 additions & 2 deletions charts/custom-pipelines/.gitignore

This file was deleted.

23 changes: 0 additions & 23 deletions charts/custom-pipelines/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions charts/custom-pipelines/Chart.lock

This file was deleted.

43 changes: 0 additions & 43 deletions charts/custom-pipelines/Chart.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions charts/custom-pipelines/README.md

This file was deleted.

1 change: 0 additions & 1 deletion charts/custom-pipelines/templates/NOTES.txt

This file was deleted.

42 changes: 0 additions & 42 deletions charts/custom-pipelines/templates/_helpers.tpl

This file was deleted.

Loading

0 comments on commit c20d308

Please sign in to comment.