chore(refactor): bump notifications-engine to include Teams adaptive card fix (#26449)

Signed-off-by: choejwoo <jaewoo45@gmail.com>
This commit is contained in:
Jaewoo Choi
2026-02-16 17:55:24 +09:00
committed by GitHub
parent 8dfbdec941
commit ac0c63eb43
6 changed files with 82 additions and 11 deletions

View File

@@ -115,3 +115,6 @@ template.app-deployed: |
- The `github.pullRequestComment.commentTag` parameter is used to identify the comment. If a comment with the specified tag is found, it will be updated (upserted). If no comment with the tag is found, a new comment will be created.
- Reference is optional. When set, it will be used as the ref to deploy. If not set, the revision will be used as the ref to deploy.
## Commit Statuses
The [method for generating commit statuses](https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#create-a-commit-status) allows a maximum of 1000 attempts using the same commit SHA and context. Once this limit is reached, the API returns validation errors (HTTP 422). The notification engine ignores these errors and marks the notification attempts as completed.

View File

@@ -0,0 +1,49 @@
# Nats
## Parameters
This notification service is capable of sending simple messages via Nats.
* Url - Nats server URL, e.g. `nats://nats:4222`
* Headers - optional, additional headers to be sent with the message
* User - optional, Nats user for authentication used in combination with password
* Password - optional, Nats password for authentication used in combination with user
* Nkey - optional, Nats key for authentication
## Example
Resource Annotation:
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
annotations:
notifications.argoproj.io/subscribe.on-deployment-ready.nats: "mytopic"
```
* ConfigMap
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-notifications-cm
data:
service.nats: |
url: "nats://nats:4222"
headers:
my-header: "my-value"
template.deployment-ready: |
message: |
Deployment {{.obj.metadata.name}} is ready!
trigger.on-deployment-ready: |
- when: any(obj.status.conditions, {.type == 'Available' && .status == 'True'})
send: [deployment-ready]
- oncePer: obj.metadata.annotations["generation"]
```

View File

@@ -47,12 +47,14 @@ metadata:
## Templates
* `description` - __optional__, high-level description of this deployment, visible in the [Summary](https://docs.newrelic.com/docs/apm/applications-menu/monitoring/apm-overview-page) page and on the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) page when you select an individual deployment.
* Defaults to `message`
* `changelog` - __optional__, A summary of what changed in this deployment, visible in the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) page when you select (selected deployment) > Change log.
* Defaults to `{{(call .repo.GetCommitMetadata .app.status.sync.revision).Message}}`
* `user` - __optional__, A username to associate with the deployment, visible in the [Summary](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) and on the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page).
* Defaults to `{{(call .repo.GetCommitMetadata .app.status.sync.revision).Author}}`
- `revision` - **optional**, The revision being deployed. Can contain a custom template to extract the revision from your specific application status structure.
- Defaults to `{{.app.status.operationState.syncResult.revision}}`
- `description` - **optional**, high-level description of this deployment, visible in the [Summary](https://docs.newrelic.com/docs/apm/applications-menu/monitoring/apm-overview-page) page and on the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) page when you select an individual deployment.
- Defaults to `message`
- `changelog` - **optional**, A summary of what changed in this deployment, visible in the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) page when you select (selected deployment) > Change log.
- Defaults to `{{(call .repo.GetCommitMetadata .app.status.sync.revision).Message}}`
- `user` - **optional**, A username to associate with the deployment, visible in the [Summary](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) and on the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page).
- Defaults to `{{(call .repo.GetCommitMetadata .app.status.sync.revision).Author}}`
```yaml
context: |