Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump GitHub runner to Ubuntu 22.04 #3273

Merged
merged 1 commit into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

checks:
name: Checks and variables
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
go_path: ${{ steps.go.outputs.go_path }}
k8s_latest: ${{ steps.vars.outputs.k8s_latest }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

binary:
name: Build binary
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: checks
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

unit-tests:
name: Unit Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: checks
steps:
- name: Checkout Repository
Expand All @@ -115,7 +115,7 @@ jobs:

helm-tests:
name: Helm Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [binary, unit-tests, checks]
strategy:
matrix:
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:

setup-matrix:
name: Setup Matrix for Smoke Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [checks, unit-tests]
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:

smoke-tests:
name: Smoke Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: setup-matrix
strategy:
fail-fast: false
Expand All @@ -249,7 +249,7 @@ jobs:

build-binaries:
name: Build Binaries
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [checks, smoke-tests, helm-tests]
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:

package-helm:
name: Package Helm Chart
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-docker
outputs:
version: ${{ steps.var.outputs.helm_version }}
Expand Down Expand Up @@ -425,7 +425,7 @@ jobs:

release-helm:
name: Release Helm Chart
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: package-helm
if: ${{ github.event_name == 'push' }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
dockerHubDescription:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

scan:
name: Fossa
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Checkout Repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
comment:
name: Issue comment
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: text
id: controller
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
on-failure:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.repository.fork == false }}
steps:
- name: Data
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

binary:
name: Create Draft Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v3
- run: npm install semver
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/stale@v6
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
jobs:
# This job sync this repo to our internal repo
repo-sync:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Repo Sync
Expand All @@ -39,7 +39,7 @@ jobs:
- nginxinc/nginx-prometheus-exporter
- nginxinc/nginx-plus-go-client
- nginxinc/nginx-asg-sync
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

variables:
name: Get versions of base images
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
kic-tag: ${{ steps.kic.outputs.tag }}
versions: ${{ steps.versions.outputs.matrix }}
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

check:
name: Check if updates are needed
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: variables
outputs:
needs-updating-debian: ${{ steps.needs.outputs.debian }}
Expand All @@ -81,7 +81,7 @@ jobs:
binary:
if: ${{ needs.check.outputs.needs-updating-debian == 'true' || needs.check.outputs.needs-updating-alpine == 'true' || needs.check.outputs.needs-updating-ubi == 'true' }}
name: Build binaries
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [check, variables]
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

test:
name: Run tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [check, variables, binary]
strategy:
matrix:
Expand Down