Skip to content

Latest commit

 

History

History
executable file
·
23 lines (16 loc) · 2.04 KB

full_cfc.md

File metadata and controls

executable file
·
23 lines (16 loc) · 2.04 KB

Deploying the sample via a pipeline to IBM Spectrum Conductor for Containers (CfC)

This method presents the sample with a Jenkins-based devOps pipeline.

Before you begin

  • Install a Git client to obtain the sample code.
  • Install Maven and a Java 8 JDK if you wish to build changes locally.
  • Install a Docker engine if you wish to fully test changes locally.

Install the Microservice Builder Sample application and the Jenkins-based pipeline

  1. Fork the WASdev/sample.microservicebuilder.* projects into your own Git organisation.
  2. Install IBM Spectrum Conductor for Containers - see the User Guide in the 'Quick Links' section of the homepage.
  3. Install the Microservice Builder fabric - these are various services that run on top of Kubernetes.
  4. Install the Microservice Builder ELK Sample - Elasticsearch, Logstash, and Kibana stack used for monitoring metrics.
  5. Install the Microservice Builder pipeline, adding your organisation organisation to the list of GitHub organisations that Jenkins will monitor.
  6. Check that the sample repositories have built and deployed correctly.
  7. Use kubectl get ing to determine the address of the web-application-ingress. Open this location in a web browser to access the sample.

Modifying the sample

Once you've made changes to the source code you'll want to rebuild and redeploy the new modules. See this topic for some notes about redeployment. In general, make your changes in a branch and use git push to trigger the build pipeline once you have webhooks set up.