Skip to content

Commit

Permalink
updatecli: link to the original Pull Request (elastic#3416)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 7, 2023
1 parent aa9b099 commit b859bcf
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .ci/updatecli.d/update-gherkin-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ sources:
transformers:
- findsubmatch:
pattern: "[0-9a-f]{40}"

pull_request:
kind: shell
dependson:
- sha
spec:
command: gh api /repos/elastic/apm/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
environments:
- name: GITHUB_TOKEN
- name: PATH
api_key.feature:
kind: file
spec:
Expand Down Expand Up @@ -62,10 +70,13 @@ actions:
description: |-
### What
APM agent Gherkin specs automatic sync
### Why
*Changeset*
* {{ source "pull_request" }}
* https://github.com/elastic/apm/commit/{{ source "sha" }}
targets:
api_key.feature:
name: api_key.feature
Expand Down
12 changes: 11 additions & 1 deletion .ci/updatecli.d/update-json-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ sources:
transformers:
- findsubmatch:
pattern: "[0-9a-f]{40}"

pull_request:
kind: shell
dependson:
- sha
spec:
command: gh api /repos/elastic/apm/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
environments:
- name: GITHUB_TOKEN
- name: PATH
container_metadata_discovery.json:
kind: file
spec:
Expand Down Expand Up @@ -65,8 +73,10 @@ actions:
description: |-
### What
APM agent specs automatic sync
### Why
*Changeset*
* {{ source "pull_request" }}
* https://github.com/elastic/apm/commit/{{ source "sha" }}
targets:
Expand Down
11 changes: 11 additions & 0 deletions .ci/updatecli.d/update-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ sources:
transformers:
- findsubmatch:
pattern: "[0-9a-f]{40}"
pull_request:
kind: shell
dependson:
- sha
spec:
command: gh api /repos/elastic/apm-data/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
environments:
- name: GITHUB_TOKEN
- name: PATH
error.json:
kind: file
spec:
Expand Down Expand Up @@ -58,8 +67,10 @@ actions:
description: |-
### What
APM agent json schema automatic sync
### Why
*Changeset*
* {{ source "pull_request" }}
* https://github.com/elastic/apm-data/commit/{{ source "sha" }}
targets:
Expand Down

0 comments on commit b859bcf

Please sign in to comment.