Skip to content

Commit 5e60df6

Browse files
Work CI-CD (#1198)
***no_ci***
1 parent f8b8fb2 commit 5e60df6

File tree

5 files changed

+19
-20
lines changed

5 files changed

+19
-20
lines changed

.github/workflows/update-dependencies-1.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ name: Update dependencies (round 1)
77

88
on:
99
schedule:
10-
# At 00:00 UTC.
11-
- cron: '00 00 * * Wed,Fri'
10+
# Round 1/5: (02:00 UTC).
11+
- cron: '00 02 * * Mon,Wed'
1212
repository_dispatch:
1313
types: update-dependencies
1414
workflow_dispatch:
@@ -19,7 +19,7 @@ jobs:
1919
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
2020
secrets: inherit
2121
with:
22-
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
22+
timeout-minutes: 15 # The next round will start after (taking into account PR merge and build branch).
2323
workingDirectory: devices
2424
branchToPr: 'develop'
2525
solutionsToCheck: |

.github/workflows/update-dependencies-2.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Update dependencies (round 2)
77

88
on:
99
schedule:
10-
# At 00:15 UTC .
11-
# Set 15 min apart from previous round to allow enough time for any changes to propagate.
12-
- cron: '15 00 * * Wed,Fri'
10+
# Round 2/5: Executes 30 minutes after round 1 (02:30 UTC) to allow enough time for any changes to propagate.
11+
# (taking into account PR merge and build branch).
12+
- cron: '30 02 * * Mon,Wed'
1313
repository_dispatch:
1414
types: update-dependencies
1515
workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
2020
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
2121
secrets: inherit
2222
with:
23-
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
23+
timeout-minutes: 15 # The next round will start after (taking into account PR merge and build branch).
2424
workingDirectory: devices
2525
branchToPr: 'develop'
2626
solutionsToCheck: |

.github/workflows/update-dependencies-3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Update dependencies (round 3)
77

88
on:
99
schedule:
10-
# At 00:30 UTC .
11-
# Set 15 min apart from previous round to allow enough time for any changes to propagate.
12-
- cron: '30 00 * * Wed,Fri'
10+
# Round 3/5: Executes 30 minutes after round 2 (03:00 UTC) to allow enough time for any changes to propagate.
11+
# (taking into account PR merge and build branch).
12+
- cron: '00 03 * * Mon,Wed'
1313
repository_dispatch:
1414
types: update-dependencies
1515
workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
2020
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
2121
secrets: inherit
2222
with:
23-
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
23+
timeout-minutes: 15
2424
workingDirectory: devices
2525
branchToPr: 'develop'
2626
solutionsToCheck: |

.github/workflows/update-dependencies-4.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Update dependencies (round 4)
77

88
on:
99
schedule:
10-
# At 01:45 UTC.
11-
# Set 15 min apart from previous round to allow enough time for any changes to propagate.
12-
- cron: '45 01 * * Wed,Fri'
10+
# Round 4/5: Executes 30 minutes after round 3 (03:30 UTC) to allow enough time for any changes to propagate.
11+
# (taking into account PR merge and build branch).
12+
- cron: '30 03 * * Mon,Wed'
1313
repository_dispatch:
1414
types: update-dependencies
1515
workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
2020
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
2121
secrets: inherit
2222
with:
23-
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
23+
timeout-minutes: 120 # It takes a long time as IoT devices has lots of solutions to update!
2424
solutionsToCheck: '*.sln'
2525
workingDirectory: devices
2626
branchToPr: 'develop'

.github/workflows/update-dependencies-5.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
# See LICENSE file in the project root for full license information.
33

44
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
5-
# Second round, because of dependencies from other IoT bindings.
65

76
name: Update dependencies (round 5)
87

98
on:
109
schedule:
11-
# At 03:30 UTC.
12-
# Set 3 hours apart from previous round to allow enough time for any changes to propagate.
13-
- cron: '30 04 * * Wed,Fri'
10+
# Round 5/5: Executes 3 hours after round 4 (06:30 UTC) to allow enough time for any changes to propagate.
11+
# (taking into account PR merge and build branch).
12+
- cron: '30 06 * * Mon,Wed'
1413
repository_dispatch:
1514
types: update-dependencies
1615
workflow_dispatch:
@@ -21,7 +20,7 @@ jobs:
2120
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
2221
secrets: inherit
2322
with:
24-
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
23+
timeout-minutes: 15 # It should not take longer!
2524
workingDirectory: devices
2625
branchToPr: 'develop'
2726
solutionsToCheck: |

0 commit comments

Comments
 (0)