Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work CI-CD #1198

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/update-dependencies-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: Update dependencies (round 1)

on:
schedule:
# At 00:00 UTC.
- cron: '00 00 * * Wed,Fri'
# Round 1/5: (02:00 UTC).
- cron: '00 02 * * Mon,Wed'
repository_dispatch:
types: update-dependencies
workflow_dispatch:
Expand All @@ -19,7 +19,7 @@ jobs:
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
secrets: inherit
with:
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
timeout-minutes: 15 # The next round will start after (taking into account PR merge and build branch).
workingDirectory: devices
branchToPr: 'develop'
solutionsToCheck: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-dependencies-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Update dependencies (round 2)

on:
schedule:
# At 00:15 UTC .
# Set 15 min apart from previous round to allow enough time for any changes to propagate.
- cron: '15 00 * * Wed,Fri'
# Round 2/5: Executes 30 minutes after round 1 (02:30 UTC) to allow enough time for any changes to propagate.
# (taking into account PR merge and build branch).
- cron: '30 02 * * Mon,Wed'
repository_dispatch:
types: update-dependencies
workflow_dispatch:
Expand All @@ -20,7 +20,7 @@ jobs:
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
secrets: inherit
with:
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
timeout-minutes: 15 # The next round will start after (taking into account PR merge and build branch).
workingDirectory: devices
branchToPr: 'develop'
solutionsToCheck: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-dependencies-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Update dependencies (round 3)

on:
schedule:
# At 00:30 UTC .
# Set 15 min apart from previous round to allow enough time for any changes to propagate.
- cron: '30 00 * * Wed,Fri'
# Round 3/5: Executes 30 minutes after round 2 (03:00 UTC) to allow enough time for any changes to propagate.
# (taking into account PR merge and build branch).
- cron: '00 03 * * Mon,Wed'
repository_dispatch:
types: update-dependencies
workflow_dispatch:
Expand All @@ -20,7 +20,7 @@ jobs:
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
secrets: inherit
with:
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
timeout-minutes: 15
workingDirectory: devices
branchToPr: 'develop'
solutionsToCheck: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-dependencies-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Update dependencies (round 4)

on:
schedule:
# At 01:45 UTC.
# Set 15 min apart from previous round to allow enough time for any changes to propagate.
- cron: '45 01 * * Wed,Fri'
# Round 4/5: Executes 30 minutes after round 3 (03:30 UTC) to allow enough time for any changes to propagate.
# (taking into account PR merge and build branch).
- cron: '30 03 * * Mon,Wed'
repository_dispatch:
types: update-dependencies
workflow_dispatch:
Expand All @@ -20,7 +20,7 @@ jobs:
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
secrets: inherit
with:
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
timeout-minutes: 120 # It takes a long time as IoT devices has lots of solutions to update!
solutionsToCheck: '*.sln'
workingDirectory: devices
branchToPr: 'develop'
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/update-dependencies-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
# See LICENSE file in the project root for full license information.

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

name: Update dependencies (round 5)

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