From 43ff31c68e53eedb71cb815e247df5d50dcb30b1 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Mon, 5 Feb 2024 12:15:48 +0000 Subject: [PATCH 1/3] Add mavencreds volume to podTemplate or tkn pipeline won't work Signed-off-by: Jade Carino --- pipelines/templates/pod-template.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pipelines/templates/pod-template.yaml b/pipelines/templates/pod-template.yaml index 8bd01e92..59b53c4e 100644 --- a/pipelines/templates/pod-template.yaml +++ b/pipelines/templates/pod-template.yaml @@ -22,4 +22,7 @@ volumes: secretName: github-token - name: harborcreds secret: - secretName: harbor-creds-yaml \ No newline at end of file + secretName: harbor-creds-yaml +- name: mavencreds + secret: + secretName: maven-creds \ No newline at end of file From b4a202ca098a5aa9334a76d3da80c973754dc0d7 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Mon, 5 Feb 2024 12:17:11 +0000 Subject: [PATCH 2/3] Remove github and harbor creds volumes from Main, PR and PR Review ELs as not needed Signed-off-by: Jade Carino --- pipelines/event-listeners/main-builds.yaml | 6 ------ pipelines/event-listeners/pr-builds.yaml | 6 ------ pipelines/event-listeners/pr-reviewed-build.yaml | 6 ------ 3 files changed, 18 deletions(-) diff --git a/pipelines/event-listeners/main-builds.yaml b/pipelines/event-listeners/main-builds.yaml index f18948cc..c7c7b409 100644 --- a/pipelines/event-listeners/main-builds.yaml +++ b/pipelines/event-listeners/main-builds.yaml @@ -56,12 +56,6 @@ spec: - name: mavengpg secret: secretName: mavengpg - - name: githubcreds - secret: - secretName: github-token - - name: harborcreds - secret: - secretName: harbor-creds-yaml workspaces: - name: git-workspace volumeClaimTemplate: diff --git a/pipelines/event-listeners/pr-builds.yaml b/pipelines/event-listeners/pr-builds.yaml index 285fa73d..689b0d3d 100644 --- a/pipelines/event-listeners/pr-builds.yaml +++ b/pipelines/event-listeners/pr-builds.yaml @@ -83,12 +83,6 @@ spec: - name: mavengpg secret: secretName: mavengpg - - name: githubcreds - secret: - secretName: github-token - - name: harborcreds - secret: - secretName: harbor-creds-yaml workspaces: - name: git-workspace volumeClaimTemplate: diff --git a/pipelines/event-listeners/pr-reviewed-build.yaml b/pipelines/event-listeners/pr-reviewed-build.yaml index 5d419e70..c6dcb82c 100644 --- a/pipelines/event-listeners/pr-reviewed-build.yaml +++ b/pipelines/event-listeners/pr-reviewed-build.yaml @@ -89,12 +89,6 @@ spec: - name: mavengpg secret: secretName: mavengpg - - name: githubcreds - secret: - secretName: github-token - - name: harborcreds - secret: - secretName: harbor-creds-yaml workspaces: - name: git-workspace volumeClaimTemplate: From cbdc4587ea4b13caae47cad4e4641fbcc7c7767b Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Mon, 5 Feb 2024 12:20:29 +0000 Subject: [PATCH 3/3] Actually, they do, because they might use the Galasabld task Signed-off-by: Jade Carino --- pipelines/event-listeners/main-builds.yaml | 9 +++++++++ pipelines/event-listeners/pr-builds.yaml | 9 +++++++++ pipelines/event-listeners/pr-reviewed-build.yaml | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/pipelines/event-listeners/main-builds.yaml b/pipelines/event-listeners/main-builds.yaml index c7c7b409..d71a1cdf 100644 --- a/pipelines/event-listeners/main-builds.yaml +++ b/pipelines/event-listeners/main-builds.yaml @@ -56,6 +56,15 @@ spec: - name: mavengpg secret: secretName: mavengpg + - name: githubcreds + secret: + secretName: github-token + - name: harborcreds + secret: + secretName: harbor-creds-yaml + - name: mavencreds + secret: + secretName: maven-creds workspaces: - name: git-workspace volumeClaimTemplate: diff --git a/pipelines/event-listeners/pr-builds.yaml b/pipelines/event-listeners/pr-builds.yaml index 689b0d3d..5a421b17 100644 --- a/pipelines/event-listeners/pr-builds.yaml +++ b/pipelines/event-listeners/pr-builds.yaml @@ -83,6 +83,15 @@ spec: - name: mavengpg secret: secretName: mavengpg + - name: githubcreds + secret: + secretName: github-token + - name: harborcreds + secret: + secretName: harbor-creds-yaml + - name: mavencreds + secret: + secretName: maven-creds workspaces: - name: git-workspace volumeClaimTemplate: diff --git a/pipelines/event-listeners/pr-reviewed-build.yaml b/pipelines/event-listeners/pr-reviewed-build.yaml index c6dcb82c..d1573039 100644 --- a/pipelines/event-listeners/pr-reviewed-build.yaml +++ b/pipelines/event-listeners/pr-reviewed-build.yaml @@ -89,6 +89,15 @@ spec: - name: mavengpg secret: secretName: mavengpg + - name: githubcreds + secret: + secretName: github-token + - name: harborcreds + secret: + secretName: harbor-creds-yaml + - name: mavencreds + secret: + secretName: maven-creds workspaces: - name: git-workspace volumeClaimTemplate: