File tree Expand file tree Collapse file tree 4 files changed +6
-20
lines changed
Expand file tree Collapse file tree 4 files changed +6
-20
lines changed Original file line number Diff line number Diff line change 1+ ---
12name : Updatecli
23on :
34 release :
45 workflow_dispatch :
56 schedule :
67 # Run at 12:00 every Saterday every 14 days
78 - cron : " 0 12 */14 * *"
8-
99jobs :
1010 updatecli :
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : " Checkout"
1414 uses : " actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0
15-
1615 - name : " Setup updatecli"
17- uses : " updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635 " # v2.96 .0
16+ uses : " updatecli/updatecli-action@4b17f4ea784de29f71f85f9bc4955402ba1ae53c " # v2.100 .0
1817 with :
1918 version : " v0.114.0"
20-
2119 - name : " Run updatecli"
2220 run : updatecli compose apply --clean-git-branches=true --experimental
2321 env :
Original file line number Diff line number Diff line change @@ -15,17 +15,14 @@ jobs:
1515 steps :
1616 - name : " Checkout"
1717 uses : " actions/checkout@v4"
18-
1918 - name : " Install Updatecli"
20- uses : " updatecli/updatecli-action@v2.96.0 "
19+ uses : " updatecli/updatecli-action@4b17f4ea784de29f71f85f9bc4955402ba1ae53c " # v2.100.0
2120 with :
2221 version : " v0.114.0"
23-
2422 # releasepost is required by the Updatecli
2523 # * policy ghcr.io/updatecli/policies/releasepost/releasepost
2624 - name : " Install Releasepost"
2725 uses : " updatecli/releasepost-action@v0.5.0"
28-
2926 - name : " Run updatecli only on release pipelines"
3027 run : updatecli compose apply --clean-git-branches=true --labels="event:release" --experimental
3128 env :
3532 UPDATECLI_UDASH_API_URL : ${{ secrets.UPDATECLI_UDASH_API_URL }}
3633 UPDATECLI_UDASH_ACCESS_TOKEN : ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}
3734 UPDATECLI_UDASH_URL : ${{ secrets.UPDATECLI_UDASH_URL }}
38-
3935 - name : " Run updatecli"
4036 run : " updatecli compose apply --file updatecli-compose-release.yaml --experimental"
4137 env :
Original file line number Diff line number Diff line change 11name : Updatecli Test
2-
32on :
43 pull_request :
5-
64permissions :
75 contents : read
8-
96jobs :
107 updatecli :
118 runs-on : ubuntu-latest
129 steps :
1310 - name : " Checkout"
1411 uses : " actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0
15-
1612 - name : " Setup updatecli"
17- uses : " updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635 " # v2.96 .0
13+ uses : " updatecli/updatecli-action@4b17f4ea784de29f71f85f9bc4955402ba1ae53c " # v2.100 .0
1814 with :
1915 version : " v0.114.0"
20-
2116 - name : " Test updatecli in dry-run mode"
2217 run : " updatecli compose diff --experimental"
2318 env :
Original file line number Diff line number Diff line change 1+ ---
12name : Updatecli - Update
23on :
34 workflow_dispatch :
45 push :
56 branches :
67 - main
7-
88jobs :
99 updatecli :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : " Checkout"
1313 uses : " actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0
14-
1514 - name : " Setup updatecli"
16- uses : " updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635 " # v2.96 .0
15+ uses : " updatecli/updatecli-action@4b17f4ea784de29f71f85f9bc4955402ba1ae53c " # v2.100 .0
1716 with :
1817 version : " v0.114.0"
19-
2018 - name : " Run updatecli only on monitored pipelines"
2119 run : updatecli compose apply --clean-git-branches=true --labels="monitoring:enabled" --experimental
2220 env :
2624 UPDATECLI_UDASH_API_URL : ${{ secrets.UPDATECLI_UDASH_API_URL }}
2725 UPDATECLI_UDASH_ACCESS_TOKEN : ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}
2826 UPDATECLI_UDASH_URL : ${{ secrets.UPDATECLI_UDASH_URL }}
29-
3027 - name : " Run updatecli only on existing pipelines"
3128 run : updatecli compose apply --clean-git-branches=true --existing-only=true --experimental
3229 env :
You can’t perform that action at this time.
0 commit comments