Skip to content

Commit

Permalink
Adding support for s390x (#3099)
Browse files Browse the repository at this point in the history
* added support for s390x

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>


---------

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>
  • Loading branch information
dilipgb committed Apr 18, 2024
1 parent be3ed1d commit c46c303
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ jobs:
build-args: |
commit_hash=${{ github.sha }}
tag_name=dev
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}

Expand Down Expand Up @@ -281,6 +281,7 @@ jobs:
build_binary linux arm64
build_binary linux arm
build_binary linux ppc64le
build_binary linux s390x
build_binary darwin amd64
build_binary darwin arm64
build_binary windows amd64
Expand Down Expand Up @@ -378,6 +379,6 @@ jobs:
build-args: |
commit_hash=${{ github.sha }}
tag_name=${{ github.ref_name }}
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ builds:
- arm
- arm64
- ppc64le
- s390x

goarm:
- "6"
- "7"
Expand Down
1 change: 1 addition & 0 deletions docs/install/install-binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ We currently release binary builds for the following platforms:
* linux ARM
* linux ARM64
* linux PPC64le
* linux s390x
* windows AMD64
* window ARM64
{{</hint>}}
Expand Down
2 changes: 1 addition & 1 deletion docs/install/install-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Installation instructions for go-swagger, from a docker image
{{<hint "info">}}
We release current master as docker images too.

Images are built for architectures: linux/amd64, linux/arm/v7, linux/arm64 and linux/ppc64le.
Images are built for architectures: linux/amd64, linux/arm/v7, linux/arm64 and linux/ppc64le,linux/s390x.
{{</hint>}}

### Docker image
Expand Down
34 changes: 34 additions & 0 deletions hack/doc-site/hugo/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,40 @@
"updated_at": "2023-06-10T18:59:13Z",
"browser_download_url": "https://github.com/go-swagger/go-swagger/releases/download/v0.30.5/swagger_linux_ppc64le"
},
{
"url": "https://api.github.com/repos/go-swagger/go-swagger/releases/assets/112179147",
"id": 112179147,
"node_id": "RA_kwDOAZfQX84Gr7fL",
"name": "swagger_linux_s390x",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 16252928,
"download_count": 23,
"created_at": "2023-06-10T18:59:12Z",
"updated_at": "2023-06-10T18:59:13Z",
"browser_download_url": "https://github.com/go-swagger/go-swagger/releases/download/v0.30.5/swagger_linux_s390x"
},
{
"url": "https://api.github.com/repos/go-swagger/go-swagger/releases/assets/112179148",
"id": 112179148,
Expand Down

0 comments on commit c46c303

Please sign in to comment.