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/object-store-gateway
```

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 1, 2024
1 parent 82f9d17 commit 146d566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
java_build:
name: Build and Publish Jar
runs-on: ubuntu-latest
runs-on: figure-linux-standard

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
docker_build:
name: Build and Publish Docker Image
needs: java_build
runs-on: ubuntu-latest
runs-on: figure-linux-standard

if: github.event_name == 'release'

Expand Down

0 comments on commit 146d566

Please sign in to comment.