apiclarity
apiclarity copied to clipboard
feat: Enable multi-arch builds
AMD64, ARM64 and ARMv7 for now. The Tyk plugin depends on the tykio/tyk-plugin-compiler image which does not support any other architecture than AMD64 for now. See https://github.com/TykTechnologies/tyk-build-env/issues/4
Signed-off-by: Felix Kaechele [email protected]
This can wait for now. Istio doesn't support ARM64 either, I figured out :P
This can wait for now. Istio doesn't support ARM64 either, I figured out :P
bummer :( maybe we can try the Tap plugin instead of Istio in this case
Upstream istio issue for multi-arch support: https://github.com/istio/istio/issues/26652
@kaechele Istio now supports multi-arch builds (they work delightfully on my little RPi cluster 😅). Any chance that pushes the merge of this PR forward?
I'd be happy to take another look at this, yes.
@kaechele Just checking on this again. FWIW, I've built multi-arch images for API Clarity and deployed them to my local RPi cluster with the latest multi-arch istio images and it all works like a charm.
Can we put a conditional in place to skip Tyk plugin build for non-amd64 architectures and list in the caveats that Tyk support is only available on amd64 platforms?
The skipping should be in place already: For the GitHub actions:
- https://github.com/openclarity/apiclarity/pull/86/files#diff-3f5366f6d6df3ec1179e5efadc6f350bfa88eebf4e2da589b4d94ccb85ae5e94R82
- https://github.com/openclarity/apiclarity/pull/86/files#diff-e426ed45842837026e10e66af23d9c7077e89eacbe6958ce7cb991130ad05adaR147
And when building through the Makefile: https://github.com/openclarity/apiclarity/pull/86/files#diff-7eba0837a02c2deea05123583489cc7941f60b687718194ad0b30077c3181c62R22
Also, not sure why the build is failing in CI. Works fine locally.