Sample illustration of build and deploy a polyglot application with Graal VM with OCI Devops.
🪄 Objective .
- Make a sample build and deploy using Polyglot application with Graal VM.
- Its encomposed with nodejs and R application language.
- the build and Deployment is orchestrated with OCI devops services .
- The application will be deployed on to OCI OKE.
🖨️ How to use it .
-
Create an OCI Devops Project - https://docs.oracle.com/en-us/iaas/Content/devops/using/devops_projects.htm
-
Create a container registry and update the value to the deployment_spec.yaml for your reference.
-
Create an OCI Build pipeline & Add manage build , Artifactory steps - https://docs.oracle.com/en-us/iaas/Content/devops/using/managing_build_pipelines.htm
- You may use OCI Repo or GITHUB with external connection as the source for buils.
-
Create an OCI Deployment pipeline with OKE deployment stage.
- Specify below as deployment parameters.
- Refer deployment_spec.yaml for deployment manifest (as an inline or use with OCI artifactory) and the type as 'kube manifest'
- Add an invoke deployment stage to your Build pipeline - https://docs.oracle.com/en-us/iaas/Content/devops/using/triggerdeploy_stage.htm
Finally
- Post the successfull build /deployment ,connect to oke and execute *kubectl get all -n < namespace >' and fetch the OCI loadbalancer IP.
- Launch the IP via browser and refer the sample view .You may update server.js to alter the view / experience it .
References & Credits for base code