From 674ac21eb78c7af2cd1a013cbaa905984031d12d Mon Sep 17 00:00:00 2001 From: averevki Date: Mon, 11 Nov 2024 15:26:38 +0100 Subject: [PATCH] Update manifests api version Signed-off-by: averevki --- README.md | 2 +- main/pipeline.yaml | 2 +- nightly/pipeline.yaml | 2 +- tasks/kubectl-login-task.yaml | 4 ++-- tasks/run-tests-task.yaml | 4 ++-- tasks/upload-results-task.yaml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 54f2919..7e5ea01 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Pipeline execution Trigger nightly pipeline manually --- ```shell -kubectl create job --from=cronjob/trigger-nightly-pipeline trigger-nightly-pipeline-$(date +%d_%m)-$(whoami)-manual -n ${PIPELINE_NAMESPACE} +kubectl create job --from=cronjob/trigger-nightly-pipeline trigger-nightly-pipeline-$(date +%d.%m)-$(whoami)-manual -n ${PIPELINE_NAMESPACE} ``` Setup automatic cleanup of old PipelineRun's every week diff --git a/main/pipeline.yaml b/main/pipeline.yaml index 26d3dd1..4068df5 100644 --- a/main/pipeline.yaml +++ b/main/pipeline.yaml @@ -1,4 +1,4 @@ -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Pipeline metadata: name: testsuite-pipeline diff --git a/nightly/pipeline.yaml b/nightly/pipeline.yaml index 1cdf5a3..523ee79 100644 --- a/nightly/pipeline.yaml +++ b/nightly/pipeline.yaml @@ -1,4 +1,4 @@ -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Pipeline metadata: name: nightly-pipeline diff --git a/tasks/kubectl-login-task.yaml b/tasks/kubectl-login-task.yaml index f06e809..2a23cdf 100644 --- a/tasks/kubectl-login-task.yaml +++ b/tasks/kubectl-login-task.yaml @@ -1,4 +1,4 @@ -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Task metadata: name: kubectl-login @@ -29,7 +29,7 @@ spec: - /bin/bash - -cveo - pipefail - resources: + computeResources: limits: cpu: '250m' memory: 128Mi diff --git a/tasks/run-tests-task.yaml b/tasks/run-tests-task.yaml index 1b9c9f0..b994886 100644 --- a/tasks/run-tests-task.yaml +++ b/tasks/run-tests-task.yaml @@ -1,4 +1,4 @@ -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Task metadata: name: run-tests @@ -34,7 +34,7 @@ spec: - /bin/bash - -cveo - pipefail - resources: + computeResources: limits: cpu: '1' memory: 1000Mi diff --git a/tasks/upload-results-task.yaml b/tasks/upload-results-task.yaml index 81490af..4a18366 100644 --- a/tasks/upload-results-task.yaml +++ b/tasks/upload-results-task.yaml @@ -1,4 +1,4 @@ -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Task metadata: name: upload-results @@ -23,7 +23,7 @@ spec: - /bin/bash - -cveo - pipefail - resources: + computeResources: limits: cpu: '250m' memory: 128Mi