From 63cea288322db2054e1c8f2258302f9a5f68d868 Mon Sep 17 00:00:00 2001 From: Mohammadi Iram <89964724+MohammadiIram@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:56:02 +0530 Subject: [PATCH] add tag and slack changes to tekton Signed-off-by: Mohammadi Iram <89964724+MohammadiIram@users.noreply.github.com> --- .tekton/odh-modelmesh-v2-16-push.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.tekton/odh-modelmesh-v2-16-push.yaml b/.tekton/odh-modelmesh-v2-16-push.yaml index 301ab854..d2395713 100644 --- a/.tekton/odh-modelmesh-v2-16-push.yaml +++ b/.tekton/odh-modelmesh-v2-16-push.yaml @@ -234,6 +234,7 @@ spec: build_time="$(date +%Y-%m-%dT%H:%M:%S)" slack_message="${alertEmoji} <${build_url}|${pipelinerun_name}> - ${build_time}" slack_message=$(echo -e "${slack_message}\nStatus: ${statusText} ${statusEmoji}") + slack_message=$(echo -e "${slack_message}\nCC - <@S05B904NQ6L>") echo -n "${slack_message}" > "$(results.slack-message-failure-text.path)" - name: init @@ -450,6 +451,7 @@ spec: - release='$(tasks.clone-repository.results.commit-timestamp)' - git.url=$(params.git-url) - git.commit=$(params.revision) + - io.openshift.tags="odh-modelmesh" runAfter: - prefetch-dependencies taskRef: @@ -722,4 +724,4 @@ spec: - name: git-auth secret: secretName: '{{ git_auth_secret }}' -status: {} \ No newline at end of file +status: {}