Support arm64 architecture #321
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requires #320.
This pull request primarily introduces the ability to specify the VM size for the AKS pool in the GitHub workflows and modifies the build process to support multi-architecture builds, specifically targeting ARM64 and AMD64 platforms. Additionally, it updates the version of the weblogic-azure-aks package and adds constraints and information regarding unsupported platforms in the
createUiDefinition.json
file.Changes to GitHub workflows:
.github/workflows/testWlsAksWithDependencyCreation.yml
and.github/workflows/testWlsAksWithoutDependencyCreation.yml
: Added a newvmSize
input parameter and modified the jobs to use this new parameter. This allows the user to specify the VM size for the AKS pool. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Changes to the build process:
weblogic-azure-aks/src/main/arm/scripts/buildWLSDockerImage.sh
andweblogic-azure-aks/src/main/arm/scripts/createVMAndBuildImage.sh
: Modified the build process to support multi-architecture builds. The build process now detects the architecture of the system and installs the appropriate version of OpenJDK. It also passes the architecture information to the Docker build command. [1] [2] [3] [4] [5] [6]Package version update:
pom.xml
: Updated the version of the weblogic-azure-aks package from 1.0.79 to 1.0.80.Changes to the
createUiDefinition.json
file:weblogic-azure-aks/src/main/arm/createUiDefinition.json
: Added constraints requiring three availability zones and added a new info box that displays an error message when an unsupported platform is selected. [1] [2]