Skip to content

Commit

Permalink
ci: remove duplicate actions, use finch-core (#511)
Browse files Browse the repository at this point in the history
finch-core already defines scripts for updating some dependencies:

https://github.com/runfinch/finch-core/blob/main/bin/update-deps.sh


Since this repo takes finch-core as a submodule, some actions can be
consolidated to this one for dependency updates.

CORE_URL is unused and that behavior is removed.

Issue #, if available:

*Description of changes:*

*Testing done:*



- [x] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Gavin Inglis <[email protected]>
  • Loading branch information
ginglis13 committed Aug 1, 2023
1 parent e826bcf commit e43d63b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 88 deletions.
42 changes: 0 additions & 42 deletions .github/bin/update-lima-dep.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync Submodules
name: Sync Submodules and Dependencies

# Pulls changes from the main branch of submodules daily at 9:00 UTC and opens a PR.
on:
Expand All @@ -15,14 +15,26 @@ jobs:
with:
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update sub modules

- name: Update submodules
run: |
git submodule update --remote
- name: Update OS image
run: |
./.github/bin/update-os-image.sh
- name: Update lima dependencies url
run: |
./deps/finch-core/bin/update-deps.sh -d ${{ secrets.DEPENDENCY_BUCKET_NAME }}
- name: Update rootfs
run: |
./deps/finch-core/bin/update-rootfs.sh -d ${{ secrets.DEPENDENCY_BUCKET_NAME }}
- name: Create PR
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
signoff: true
title: 'build(deps): Bump submodules'
title: 'build(deps): Bump submodules and dependencies'
43 changes: 0 additions & 43 deletions .github/workflows/update-deps.yaml

This file was deleted.

0 comments on commit e43d63b

Please sign in to comment.