File tree Expand file tree Collapse file tree 6 files changed +48
-65
lines changed Expand file tree Collapse file tree 6 files changed +48
-65
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ spec_path : ecs-logging-core/src/test/resources/spec/spec.json
2+ signedcommit : true
Original file line number Diff line number Diff line change 1+ scm :
2+ enabled : true
3+ owner : elastic
4+ repository : ecs-logging-java
5+ branch : main
6+ # begin update-compose policy values
7+ user : obltmachine
8+ email : obltmachine@users.noreply.github.com
9+ # end update-compose policy values
Original file line number Diff line number Diff line change 1+ spec :
2+ files :
3+ - " update-compose.yaml"
Original file line number Diff line number Diff line change 1- ---
2- # Send PRs to the subscribed ECS Agents if the spec files (JSON) are modified
3- name : update-specs
1+ name : updatecli
42
53on :
6- workflow_dispatch :
4+ workflow_dispatch : ~
75 schedule :
86 - cron : ' 0 6 * * *'
97
108permissions :
119 contents : read
1210
1311jobs :
14- bump :
12+ compose :
1513 runs-on : ubuntu-latest
14+ permissions :
15+ contents : read
16+ packages : read
1617 steps :
17-
1818 - uses : actions/checkout@v4
1919
20+ - uses : docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
21+ with :
22+ registry : ghcr.io
23+ username : ${{ github.actor }}
24+ password : ${{ secrets.GITHUB_TOKEN }}
25+
26+ - uses : elastic/oblt-actions/updatecli/run@v1
27+ with :
28+ command : --experimental compose diff
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
31+
2032 - uses : elastic/oblt-actions/updatecli/run@v1
2133 with :
22- command : " --experimental apply --config .ci/update-specs.yml "
34+ command : --experimental compose apply
2335 env :
2436 GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
2537
2638 - if : failure()
27- uses : elastic/oblt-actions/slack/send@v1.2.0
39+ uses : elastic/oblt-actions/slack/send@v1
2840 with :
2941 bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
3042 channel-id : " #apm-agent-java"
Original file line number Diff line number Diff line change 1+ # Config file for `updatecli compose ...`.
2+ # https://www.updatecli.io/docs/core/compose/
3+ policies :
4+ - name : Handle ecs-logging specs
5+ policy : ghcr.io/elastic/oblt-updatecli-policies/apm/ecs-logging-specs:0.3.0@sha256:6c765407764d391d6d65b04c54ba409977decc24a000d5b8d7839f58bcd07c5b
6+ values :
7+ - .ci/updatecli/values.d/scm.yml
8+ - .ci/updatecli/values.d/ecs-logging-specs.yml
9+
10+ - name : Update Updatecli policies
11+ policy : ghcr.io/updatecli/policies/autodiscovery/updatecli:0.4.0@sha256:254367f5b1454fd6032b88b314450cd3b6d5e8d5b6c953eb242a6464105eb869
12+ values :
13+ - .ci/updatecli/values.d/scm.yml
14+ - .ci/updatecli/values.d/update-compose.yml
You can’t perform that action at this time.
0 commit comments