Skip to content

Commit

Permalink
Update workflows to remove most fermyon refs
Browse files Browse the repository at this point in the history
Signed-off-by: Brian H <[email protected]>
  • Loading branch information
fibonacci1729 committed Feb 24, 2025
1 parent d680c89 commit 3363959
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/gh-checktags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ which gh &> /dev/null || {
exit 1
}

tags=$(gh release list --repo fermyon/spin --exclude-pre-releases --exclude-drafts | grep -v TITLE | awk '{print $1}')
tags=$(gh release list --repo spinframework/spin --exclude-pre-releases --exclude-drafts | grep -v TITLE | awk '{print $1}')

exit_code=0
for tag in $tags; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
cargo-vet:
name: Vet Dependencies
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'fermyon' }}
if: ${{ github.repository_owner == 'spinframework' }}
env:
CARGO_VET_VERSION: 0.7.0
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
all-integration-tests:
# run on a larger runner for more SSD/resource access
runs-on: ubuntu-22.04-4core-spin
if: ${{ github.repository_owner == 'fermyon' }}
if: ${{ github.repository_owner == 'spinframework' }}
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
check-tags:
name: check tags
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'fermyon' }}
if: ${{ github.repository_owner == 'spinframework' }}
steps:
- uses: actions/checkout@v3
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Code coverage
on:
# Currently disabled due to cargo-tarpaulin timing out on the GH Ubuntu hosts.
# Ref: https://github.com/fermyon/spin/issues/1350
# Ref: https://github.com/spinframework/spin/issues/1350
# Will need to investigate and tune usage/invocation to get passing before re-enabling.
# schedule:
# - cron: '0 0 * * *'
Expand All @@ -10,7 +10,7 @@ jobs:
build-rust:
name: Build Spin
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'fermyon' }} || ${{ github.event_name == 'workflow_dispatch' }}
if: ${{ github.repository_owner == 'spinframework' }} || ${{ github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v3

Expand All @@ -33,7 +33,7 @@ jobs:
code-coverage:
name: Run code coverage
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'fermyon' }} || ${{ github.event_name == 'workflow_dispatch' }}
if: ${{ github.repository_owner == 'spinframework' }} || ${{ github.event_name == 'workflow_dispatch' }}
needs: build-rust
steps:
- uses: actions/checkout@v3
Expand All @@ -57,12 +57,12 @@ jobs:
env:
RUST_LOG: spin=trace

# Only attempt to upload to codecov.io if the repo owner is fermyon.
# Only attempt to upload to codecov.io if the repo owner is spinframework.
# This allows forks to run code coverage manually, without needing
# to have a codecov token for uploading.
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'fermyon' }}
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'spinframework' }}
with:
fail_ci_if_error: true
verbose: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
dispatch-rust-docs:
name: Dispatch rust-docs spin-update event
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'fermyon' }}
if: ${{ github.repository_owner == 'spinframework' }}
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DEST_REPO_ACCESS_TOKEN }}
repository: fermyon/rust-docs
repository: spinframework/rust-docs
event-type: spin-update
client-payload: '{"ref": "${{ github.ref_name }}"}'
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
if: |
runner.os == 'linux' &&
matrix.config.arch == 'amd64' &&
github.repository_owner == 'fermyon' &&
github.repository_owner == 'spinframework' &&
github.ref == 'refs/heads/main'
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -184,7 +184,7 @@ jobs:
if: |
runner.os == 'linux' &&
matrix.config.arch == 'amd64' &&
github.repository_owner == 'fermyon' &&
github.repository_owner == 'spinframework' &&
github.ref == 'refs/heads/main'
run: |
aws s3 cp _dist/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz s3://${{ secrets.SPIN_RELEASE_ARTIFACTS_REPO }}/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz --acl public-read
Expand Down

0 comments on commit 3363959

Please sign in to comment.