Skip to content

Add support for s390x and ppc64le #1755

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

Merged
merged 2 commits into from
Mar 28, 2024
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
28 changes: 21 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ jobs:
path: ${{ github.workspace }}/dist
key: nginx-gateway-fabric-${{ github.run_id }}-${{ github.run_number }}

build:
name: Build Image
build-oss:
name: Build OSS images
needs: [vars, binary]
strategy:
fail-fast: false
matrix:
image: [ngf, nginx, plus]
platforms: ["linux/arm64, linux/amd64"]
image: [ngf, nginx]
platforms: ["linux/arm64, linux/amd64, linux/s390x, linux/ppc64le"]
uses: ./.github/workflows/build.yml
with:
image: ${{ matrix.image }}
Expand All @@ -184,9 +184,23 @@ jobs:
id-token: write # for docker/login to login to NGINX registry
secrets: inherit

build-plus:
name: Build Plus images
needs: [vars, binary]
uses: ./.github/workflows/build.yml
with:
image: plus
platforms: "linux/arm64, linux/amd64"
permissions:
contents: read # for docker/build-push-action to read repo content
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
packages: write # for docker/build-push-action to push to GHCR
id-token: write # for docker/login to login to NGINX registry
secrets: inherit

functional-tests:
name: Functional tests
needs: [vars, build]
needs: [vars, build-oss, build-plus]
strategy:
fail-fast: false
matrix:
Expand All @@ -201,7 +215,7 @@ jobs:

conformance-tests:
name: Conformance tests
needs: [vars, build]
needs: [vars, build-oss, build-plus]
strategy:
fail-fast: false
matrix:
Expand All @@ -219,7 +233,7 @@ jobs:
helm-tests:
name: Helm Tests
runs-on: ubuntu-22.04
needs: [vars, build]
needs: [vars, build-oss]
steps:
- name: Checkout Repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand Down
12 changes: 7 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ builds:
goarch:
- amd64
- arm64
- s390x
- ppc64le
flags:
- -trimpath
gcflags:
Expand Down Expand Up @@ -38,13 +40,13 @@ sboms:

blobs:
- provider: azblob
bucket: '{{.Env.AZURE_BUCKET_NAME}}'
bucket: "{{.Env.AZURE_BUCKET_NAME}}"

signs:
- cmd: cosign
artifacts: checksum
output: true
certificate: '${artifact}.pem'
certificate: "${artifact}.pem"
args:
- sign-blob
- "--output-signature=${signature}"
Expand All @@ -55,14 +57,14 @@ signs:
announce:
slack:
enabled: true
channel: '#announcements'
message_template: 'NGINX Gateway Fabric {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}'
channel: "#announcements"
message_template: "NGINX Gateway Fabric {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"

milestones:
- close: true

snapshot:
name_template: 'edge'
name_template: "edge"

before:
hooks:
Expand Down