Skip to content

Commit

Permalink
refactor: Align labels, name convention (#145)
Browse files Browse the repository at this point in the history
Change-Id: I86ef7ee16ebd221ec5421fa83e2493805d42d0d0
  • Loading branch information
MykolaMarusenko committed Mar 7, 2024
1 parent b825f81 commit 637b9ad
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: cd-stage-deploy-custom
name: deploy-custom
labels:
app.edp.epam.com/pipeline: general-deployment
app.edp.epam.com/pipelinetype: deploy
spec:
description: |
Expand Down
47 changes: 0 additions & 47 deletions charts/pipelines-library/templates/pipelines/cd/cd-pipeline.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: cd-stage-deploy-auto
name: deploy-with-autotests
labels:
app.edp.epam.com/pipeline: general-deployment
app.edp.epam.com/pipelinetype: deploy
spec:
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: cd-stage-deploy
name: deploy
labels:
app.edp.epam.com/pipeline: general-deployment
app.edp.epam.com/pipelinetype: deploy
spec:
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: triggers.tekton.dev/v1beta1
kind: TriggerTemplate
metadata:
name: cd-stage-deploy-auto
name: deploy-with-autotests
labels:
app.edp.epam.com/pipelinetype: deploy
spec:
Expand Down Expand Up @@ -30,7 +30,7 @@ spec:
taskRunTemplate:
serviceAccountName: tekton
pipelineRef:
name: cd-stage-deploy-auto
name: deploy-with-autotests
params:
- name: APPLICATIONS_PAYLOAD
value: $(tt.params.APPLICATIONS_PAYLOAD)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: triggers.tekton.dev/v1beta1
kind: TriggerTemplate
metadata:
name: cd-stage-deploy
name: deploy
labels:
app.edp.epam.com/pipelinetype: deploy
spec:
Expand Down Expand Up @@ -30,7 +30,7 @@ spec:
taskRunTemplate:
serviceAccountName: tekton
pipelineRef:
name: cd-stage-deploy
name: deploy
params:
- name: APPLICATIONS_PAYLOAD
value: $(tt.params.APPLICATIONS_PAYLOAD)
Expand Down
3 changes: 2 additions & 1 deletion charts/pipelines-library/tests/test_gerrit_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def test_gerrit_is_disabled():

assert "eventlistener" not in r
assert "triggerbinding" not in r
assert "cdpipeline" in r["pipeline"]
assert "deploy" in r["pipeline"]
assert "deploy-with-autotests" in r["pipeline"]
assert "gitserver" not in r


Expand Down

0 comments on commit 637b9ad

Please sign in to comment.