Skip to content

Commit

Permalink
add tag and slack changes to tekton
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadiIram authored Nov 5, 2024
1 parent c00db5a commit 9099150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .tekton/odh-trustyai-service-v2-16-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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-trustyai-service"
runAfter:
- prefetch-dependencies
taskRef:
Expand Down

0 comments on commit 9099150

Please sign in to comment.