Skip to content

Commit

Permalink
Migrate to the new figure-linux-standard action runners
Browse files Browse the repository at this point in the history
> [!WARNING]
> ## 📣 Action Required
> **The old runners will stop working on 2024-02-22, please approve and merge this PR!**
>
> If this PR does not properly build, please let us know in slack - `#devops`.

---

This PR moves all of the workflows from our old self-hosted runners and ubuntu-latest to our new `figure-linux-standard` action runners. The new runners do cool things like autoscaling, so eventually our goal is to have more runners available for devs while also spending less money.

We highly recommend wiping the Actions cache for this repo before merging this PR. We've seen some issues restoring a cache made by an old runner on a new runner, which can result in dramatically slower builds. The first build on a default branch on the new runner after wiping the cache will be slow, but subsequent builds will be faster since they'll have a proper cache restore. This can be done using the [`gh` cli](https://cli.github.com) (`brew install gh`):

```
gh cache delete --all -R FigureTechnologies/kong-jwt-wallet
```

Check out our [Notion Blog post](https://www.notion.so/figuretech/New-GitHub-Action-Runners-dea588c903e949f0958469492f4da882?pvs=4) for more info and our FAQ.

---

🤖🪄 This PR was automatically created by a magic script. Please reach out to `#devops` with questions.

[sc-281866]
  • Loading branch information
ahatzz11 committed Feb 8, 2024
1 parent 6169cf6 commit 92aae18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_init:
runs-on: ubuntu-latest
runs-on: figure-linux-standard
name: Build Init
steps:
- id: version
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
path: build/*.zip

build_linux:
runs-on: ubuntu-latest
runs-on: figure-linux-standard
needs:
- build_init
name: Build Linux
Expand All @@ -72,7 +72,7 @@ jobs:
path: build/*.zip

create_release:
runs-on: ubuntu-latest
runs-on: figure-linux-standard
needs:
- build_init
- build_osx
Expand All @@ -96,7 +96,7 @@ jobs:
release_url: ${{ steps.create_release.outputs.upload_url }}

update_release:
runs-on: ubuntu-latest
runs-on: figure-linux-standard
needs:
- build_init
- create_release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: figure-linux-standard
steps:
- name: Checkout
uses: actions/checkout@master
Expand Down

0 comments on commit 92aae18

Please sign in to comment.