File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 schedule :
77 # Run at 12:00 every Saterday every 14 days
88 - cron : 0 12 */14 * *
9+
10+ permissions : {}
11+
912jobs :
1013 updatecli :
1114 runs-on : ubuntu-latest
1215 steps :
1316 - name : " Checkout"
1417 uses : " actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
18+ with :
19+ persist-credentials : false
20+
1521 - name : " Setup updatecli"
1622 uses : " updatecli/updatecli-action@2cc8e6d8e356d76b0280cdd03766c36596a0614e" # v3.0.0
1723 with :
18- version : " v0.115.0"
24+ version : " v0.116.0"
25+
1926 - name : " Set up Go"
2027 uses : " actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c" # v6.4.0
2128 with :
2229 go-version-file : " go.mod"
2330 id : go
31+
2432 - name : Install Swagger
2533 run : " go install github.com/swaggo/swag/cmd/swag@$SWAGGER_VERSION"
2634 env :
2735 SWAGGER_VERSION : v1.16.6
36+
2837 - name : " Run updatecli"
2938 run : updatecli compose apply --clean-git-branches=true --experimental
3039 env :
Original file line number Diff line number Diff line change 22name : Updatecli Test
33on :
44 pull_request :
5+
56permissions :
67 contents : read
8+
79jobs :
810 updatecli :
911 runs-on : ubuntu-latest
1012 steps :
1113 - name : " Checkout"
1214 uses : " actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
15+ with :
16+ persist-credentials : false
17+
1318 - name : " Setup updatecli"
1419 uses : " updatecli/updatecli-action@2cc8e6d8e356d76b0280cdd03766c36596a0614e" # v3.0.0
1520 with :
16- version : " v0.115.0"
21+ version : " v0.116.0"
22+
1723 - name : " Set up Go"
1824 uses : " actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c" # v6.4.0
1925 with :
2026 go-version-file : " go.mod"
27+
2128 id : go
2229 - name : Install Swagger
2330 run : " go install github.com/swaggo/swag/cmd/swag@$SWAGGER_VERSION"
2431 env :
2532 SWAGGER_VERSION : v1.16.6
33+
2634 - name : " Test updatecli in dry-run mode"
2735 run : " updatecli compose diff"
2836 env :
Original file line number Diff line number Diff line change 88 push :
99 branches :
1010 - main
11+
12+ permissions : {}
13+
1114jobs :
1215 updatecli :
1316 runs-on : ubuntu-latest
1417 steps :
1518 - name : " Checkout"
1619 uses : " actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
20+ with :
21+ persist-credentials : false
22+
1723 - name : " Setup updatecli"
1824 uses : " updatecli/updatecli-action@2cc8e6d8e356d76b0280cdd03766c36596a0614e" # v3.0.0
1925 with :
20- version : " v0.115.0"
26+ version : " v0.116.0"
27+
2128 - name : " Set up Go"
2229 uses : " actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c" # v6.4.0
2330 with :
2431 go-version-file : " go.mod"
2532 id : go
33+
2634 - name : Install Swagger
2735 run : " go install github.com/swaggo/swag/cmd/swag@$SWAGGER_VERSION"
2836 env :
2937 SWAGGER_VERSION : v1.16.6
38+
3039 - name : " Run updatecli only on monitored pipelines"
31- run : updatecli compose apply --clean-git-branches=true --labels="monitoring:enabled " --experimental
40+ run : updatecli compose apply --clean-git-branches=true --labels="monitor:active " --experimental
3241 env :
3342 UPDATECLI_GITHUB_APP_CLIENT_ID : ${{ secrets.UPDATECLIBOT_APP_ID }}
3443 UPDATECLI_GITHUB_APP_PRIVATE_KEY : ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}
3544 UPDATECLI_GITHUB_APP_INSTALLATION_ID : ${{ secrets.UPDATECLIBOT_APP_INSTALLATION_ID }}
3645 UPDATECLI_UDASH_API_URL : ${{ secrets.UPDATECLI_UDASH_API_URL }}
3746 UPDATECLI_UDASH_ACCESS_TOKEN : ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}
3847 UPDATECLI_UDASH_URL : ${{ secrets.UPDATECLI_UDASH_URL }}
48+
3949 - name : " Run updatecli only on existing pipelines"
4050 run : updatecli compose apply --clean-git-branches=true --existing-only=true --experimental
4151 env :
Original file line number Diff line number Diff line change 11name : Update API Documentation
22
33labels :
4- event : release
5- monitoring : enabled
4+ release : udash
5+ monitor : active
66
77pipelineid : " venom"
88actions :
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: "ci: bump Swag version"
22pipelineid : " swagger"
33
44labels :
5- event : release
6- monitoring : enabled
5+ release : udash
6+ monitor : active
77
88actions :
99 default :
You can’t perform that action at this time.
0 commit comments