From a61b47334f9e02ee2afa130782ae24afb4e4eec8 Mon Sep 17 00:00:00 2001 From: hatz Date: Thu, 1 Feb 2024 12:15:18 -0600 Subject: [PATCH] Migrate to the new `figure-linux-standard` action runners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > [!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] --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad26bf0..ed5dff9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: build_init: - runs-on: ubuntu-latest + runs-on: figure-linux-standard name: Build Init steps: - id: version @@ -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 @@ -72,7 +72,7 @@ jobs: path: build/*.zip create_release: - runs-on: ubuntu-latest + runs-on: figure-linux-standard needs: - build_init - build_osx @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b9e56f6..f58b2ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: figure-linux-standard steps: - name: Checkout uses: actions/checkout@master