File tree 6 files changed +48
-65
lines changed
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
+
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
4
2
5
3
on :
6
- workflow_dispatch :
4
+ workflow_dispatch : ~
7
5
schedule :
8
6
- cron : ' 0 6 * * *'
9
7
10
8
permissions :
11
9
contents : read
12
10
13
11
jobs :
14
- bump :
12
+ compose :
15
13
runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : read
16
17
steps :
17
-
18
18
- uses : actions/checkout@v4
19
19
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
+
20
32
- uses : elastic/oblt-actions/updatecli/run@v1
21
33
with :
22
- command : " --experimental apply --config .ci/update-specs.yml "
34
+ command : --experimental compose apply
23
35
env :
24
36
GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
25
37
26
38
- if : failure()
27
- uses : elastic/oblt-actions/slack/send@v1.2.0
39
+ uses : elastic/oblt-actions/slack/send@v1
28
40
with :
29
41
bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
30
42
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