Skip to content

Commit

Permalink
Re-add ppc64le, s390x. Run CI and Release workflow on Ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanHauth committed Jan 23, 2025
1 parent fce0ce1 commit 72dbd83
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
jobs:
helm-test:
name: Run helm unit tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -34,7 +34,7 @@ jobs:
helm-lint:
name: Run helm linting
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -49,7 +49,7 @@ jobs:
tests:
name: Run unit tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

linting:
name: Run linting
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -106,7 +106,7 @@ jobs:
generated-files:
name: Check generated files
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -121,7 +121,7 @@ jobs:
security:
name: Code security scanning alerts
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -134,7 +134,7 @@ jobs:

markdown-lint:
name: Lint markdown files
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -147,7 +147,7 @@ jobs:

check-uncommitted-doc-changes:
name: Check uncommitted changes in api docs action
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -166,7 +166,7 @@ jobs:

prepare:
name: Prepare properties
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -200,11 +200,11 @@ jobs:

build:
name: Build images
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [prepare, tests, linting, generated-files]
strategy:
matrix:
platform: [amd64, arm64]
platform: [amd64, arm64, ppc64le, s390x]
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -218,11 +218,11 @@ jobs:

push:
name: Push images
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [prepare, build]
strategy:
matrix:
platform: [amd64, arm64]
platform: [amd64, arm64, ppc64le, s390x]
if: ${{ !github.event.pull_request.head.repo.fork }}
steps:
- name: Checkout
Expand All @@ -246,7 +246,7 @@ jobs:
manifest:
name: Create manifest
needs: [prepare, push]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
COMBINED: ${{ github.ref_protected }}
if: ${{ !github.event.pull_request.head.repo.fork }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
contents: read
id-token: write
name: Prepare properties
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -36,11 +36,11 @@ jobs:

build:
name: Build images
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [prepare]
strategy:
matrix:
platform: [amd64, arm64]
platform: [amd64, arm64, ppc64le, s390x]
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -55,12 +55,12 @@ jobs:
name: Push images
environment: Release
needs: [prepare, build]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
strategy:
matrix:
platform: [amd64, arm64]
platform: [amd64, arm64, ppc64le, s390x]
registry: [gcr, dockerhub, amazon-ecr, rhcc]
include:
- registry: gcr
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
name: Create Docker manifests
environment: Release
needs: [prepare, push]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
outputs:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
name: Attach sbom
environment: Release
needs: [ prepare, push, manifest ]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
name: Run preflight for rhcc
environment: Release
needs: [ prepare, push, manifest]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
SCAN_REGISTRY: "quay.io"
steps:
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
contents: write
pull-requests: write
id-token: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down

0 comments on commit 72dbd83

Please sign in to comment.