Skip to content

Commit

Permalink
[ci] Drop support for Ubuntu 20.04
Browse files Browse the repository at this point in the history
Ubuntu 20.04 is in the process of being [deprecated for github
actions](actions/runner-images#11101) and
will be fully unsupported by 2025-04-01.
  • Loading branch information
maru-ava committed Feb 21, 2025
1 parent dd79669 commit 8606176
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 61 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-linux-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build-x86_64-binaries-tarball:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
TAG: ${{ env.TAG }}
BUCKET: ${{ secrets.BUCKET }}
ARCH: "amd64"
RELEASE: "focal"
RELEASE: "jammy"

- name: Save as Github artifact
uses: actions/upload-artifact@v4
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/build-ubuntu-amd64-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,64 +11,6 @@ on:
- "*"

jobs:
build-focal-amd64-package:
runs-on: ubuntu-20.04
permissions:
id-token: write
contents: read

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go-for-project
- run: go version

- name: Build the avalanchego binaries
run: ./scripts/build.sh

- name: Install aws cli
run: sudo snap install aws-cli --classic

- name: Try to get tag from git
if: "${{ github.event.inputs.tag == '' }}"
id: get_tag_from_git
run: |
echo "TAG=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_ENV"
shell: bash

- name: Try to get tag from workflow dispatch
if: "${{ github.event.inputs.tag != '' }}"
id: get_tag_from_workflow
run: |
echo "TAG=${{ github.event.inputs.tag }}" >> "$GITHUB_ENV"
shell: bash

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_DEPLOY_SA_ROLE_ARN }}
role-session-name: githubrolesession
aws-region: us-east-1

- name: Create debian package
run: ./.github/workflows/build-deb-pkg.sh
env:
PKG_ROOT: /tmp/avalanchego
TAG: ${{ env.TAG }}
BUCKET: ${{ secrets.BUCKET }}
ARCH: "amd64"
RELEASE: "focal"

- name: Save as Github artifact
uses: actions/upload-artifact@v4
with:
name: focal
path: /tmp/avalanchego/avalanchego-${{ env.TAG }}-amd64.deb

- name: Cleanup
run: |
rm -rf ./build
rm -rf /tmp/avalanchego
build-jammy-amd64-package:
runs-on: ubuntu-22.04
permissions:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The minimum recommended hardware specification for nodes connected to Mainnet is
- RAM: 16 GiB
- Storage: 1 TiB
- Nodes running for very long periods of time or nodes with custom configurations may observe higher storage requirements.
- OS: Ubuntu 20.04/22.04 or macOS >= 12
- OS: Ubuntu 22.04/24.04 or macOS >= 12
- Network: Reliable IPv4 or IPv6 network connection, with an open public port.

If you plan to build AvalancheGo from source, you will also need the following software:
Expand Down

0 comments on commit 8606176

Please sign in to comment.