Skip to content

Disable CGO usage in builds#486

Merged
mattlord merged 2 commits intorelease-2.10from
disable_cgo
Oct 9, 2023
Merged

Disable CGO usage in builds#486
mattlord merged 2 commits intorelease-2.10from
disable_cgo

Conversation

@mattlord
Copy link
Collaborator

@mattlord mattlord commented Oct 9, 2023

Vitess has not used CGO since v15 where our usage of the native sqlite C library was replaced: vitessio/vitess#12214

We should not build the operator using CGO as it will not run on platforms that have an older glibc version than the one used on the golang container image used for the build.

This also moves the backup and restore test to using the default/mysql80 images in test/endtoend/operator/101_initial_cluster_backup.yaml. This was the only test still using the mysql57 images and this moves everything to 8.0 (MySQL 5.7 is EOL next month).

Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord merged commit b1640f8 into release-2.10 Oct 9, 2023
@mattlord mattlord deleted the disable_cgo branch October 9, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants