Skip to content

Commit

Permalink
chore: change periodicity to once a quarter (#26)
Browse files Browse the repository at this point in the history
### **PR Type**
Enhancement


___

### **Description**
- Updated GitHub Actions runner names in `push_build_devShells.yaml`:
  - Replaced `ubuntu-22.04` with `blacksmith-2vcpu-ubuntu-2204`
- Replaced `ubuntu-arm64-22.04-2cores` with
`blacksmith-2vcpu-ubuntu-2204-arm`
- Changed the schedule for updating dependencies in
`schedule_update_deps.yaml`:
  - Modified cron job to run quarterly instead of monthly
- These changes aim to improve the CI/CD pipeline by using more specific
runner names and optimizing the frequency of dependency updates.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>push_build_devShells.yaml</strong><dd><code>Update
GitHub Actions runner names</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/push_build_devShells.yaml

<li>Updated the <code>os</code> matrix to use new runner names:
<br><code>blacksmith-2vcpu-ubuntu-2204</code> and
<code>blacksmith-2vcpu-ubuntu-2204-arm</code><br>


</details>


  </td>
<td><a
href="https://github.com/nhost/nixops/pull/26/files#diff-b1123282b0f93c6605b4ca4a523c47e9f662dfa74dba5bc08199fa7471bc22ca">+1/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>                    

<tr>
  <td>
    <details>
<summary><strong>schedule_update_deps.yaml</strong><dd><code>Adjust
dependency update schedule</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

.github/workflows/schedule_update_deps.yaml

<li>Modified the cron schedule from monthly to quarterly by changing
<code>'0 2 </code><br><code>27 * *'</code> to <code>'0 2 27 */3
*'</code><br>


</details>


  </td>
<td><a
href="https://github.com/nhost/nixops/pull/26/files#diff-f3a17eaf3f5039252245791ce2e54b81d5c4e8399d289ee87bfb207286abb8e0">+1/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>                    
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
  • Loading branch information
dbarrosop authored Oct 27, 2024
1 parent 3355850 commit 939fe65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push_build_devShells.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
artifacts:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-arm64-22.04-2cores]
os: [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
fail-fast: true

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule_update_deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "gen: update depenendencies"
on:
schedule:
- cron: '0 2 27 * *'
- cron: '0 2 25 1,4,7,10 *'

jobs:
run:
Expand Down

0 comments on commit 939fe65

Please sign in to comment.