-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[STRMCMP-1639] Integration Test Fix (#277)
## overview Integrations tests working in CI again ## Additional Info - Change to minikube from microk8s. Largely due to being able to reproduce the integration env locally. Iterating bugs that occurred only in CI on microk8s due to memory was inefficient. - Upgrade k8s to 1.20 from 1.13. Changes for v1 CRD's were introduced to support 1.22 k8s however k8s client, on 1.14, for integration tests only support v1beta1 which was deprecated in 1.22. Upgrading the client is non-trivial and will be done separately. Using older k8s versions met issues with docker and local system cgroup. 1.20 became the decided upon version. - Create service account, role, and role binding in CI since 1.20 has RBAC by default. Disabling rbac is hacky and resulted in issues with the kube proxy - Remove base mount of tmp directory due to permission issues. Flink application writes 0755. Integration test downgrades 0777 to 0755. Using minikube ssh directly to create and delete the necessary files. This creates a strong dependency on minikube which is acceptable for now. - Comment out test for rescale given that default github runner only has 8gb memory and 2 cpu. Rescale needs 2 flink clusters up with above average size which busts limits. Separate ticket created to address using larger runners (in beta). Flink test apps were also scaled down to parallelism 2 using 1 TM to fit on the github runner - Changes made to build the test app image locally as opposed to pull from dockerhub. Not in use currently as the tests are remaining on 1.8 due to simpler memory configuration until larger github runners are used. Additional changes made to upgrade flink app from 1.8 to 1.11. - Upgrade ubuntu for CI as ubuntu version is deprecated on april 1st 2023 by github
- Loading branch information
1 parent
bd15d93
commit d3a6fe4
Showing
16 changed files
with
300 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.