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

Has anyone used conftest in s390x environment? #888

Closed
harpaldhillon opened this issue Nov 28, 2023 · 3 comments
Closed

Has anyone used conftest in s390x environment? #888

harpaldhillon opened this issue Nov 28, 2023 · 3 comments
Labels
question Further information is requested

Comments

@harpaldhillon
Copy link
Contributor

Hi All,

I've a requirement to run conftest compliance tests in s390x based machine. I'm able to generate the s390x package by adding GOARCH flag when building the package. But I'm still waiting for the s390x machine to be provisioned before I can test the conftest binary.

root@afd70aee0d65:~/conftest# file conftest 
conftest: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, Go BuildID=Kw21OPDg4wPNzxa8JFiO/X-E5FPNdpcXyTYuoO7Oi/9fJwBbAutZSlp_y9IVQm/OT9-6gS19eAo7Et5n9Tz, with debug_info, not stripped

Anyone else used conftest in s390x based environment? Any challenges or issues they faced?

Thanks and Regards,
Harpal Dhillon

@jalseth jalseth added the question Further information is requested label Nov 28, 2023
@jalseth
Copy link
Member

jalseth commented Nov 29, 2023

No reason it wouldn't work, conftest doesn't rely on any Cgo and Go supports s390x as you've discovered. If you'd like this architecture to be included for builds in the official conftest releases, feel free to open a PR to update the config:

goarch:

@harpaldhillon
Copy link
Contributor Author

Thanks for your reply @jalseth

Let me test the binary and if it works as expected, then I'll open a new PR request as suggested.

Cheers.

@jalseth
Copy link
Member

jalseth commented Jan 13, 2024

Added in #905

@jalseth jalseth closed this as completed Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants