Skip to content

RahulMR42/oci-devops-cicd-with-java-micronaut

Repository files navigation

Sample illustration of JAVA application with Micronaut and OCI Devops


Objective

  • Create OCI Devops build pipeline.
  • Build a Java Micronaut simple sample application.
  • Push the artifact to OCI Container repo.
  • Use OCI Deployment pipeline and deploy to OCI OKE.

Procedure

https://docs.oracle.com/en-us/iaas/Content/devops/using/add_buildstage.htm#add_buildstage

  • Create a OCI deployment pipeline using the OKE cluster enviroment and the artifact (kubernetes manifest) created.

  • Ensure to add below deployment parameters for the deployment pipeline.

  • Connect the deployment pipeline with build pipeline by adding Invoke deployment stage to the existing OCI build pipeline.

  • Final view of our build pipeline is as below .

  • Do a test Run.

  • Connect to the OKE and fetch the Loadbalancer IP to validate the application .

  • Launch a browser and use the URL http://< Loadbalancer IP >/hello

  • You can validate the execution via build logs too

About

A sample illustration of micronaut with OCI devops

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages