Cloud Native Apps

 View Only

Develop a Code Engine App with IBM Cloud Continuous Delivery

By Steve Weaver posted Tue June 07, 2022 04:30 PM

  

IBM publishes a new DevOps toolchain template and tutorial for Code Engine

With IBM Cloud Continuous Delivery, you can adopt a DevOps or DevSecOps approach which includes open toolchains that automate the building and deployment of applications. You can get started quickly by using templates that create simple deployment toolchains that support development, deployment, and operations tasks. 

Develop a Code Engine App Toolchain Template


IBM has published a new toolchain template that you can use develop and deploy an application securely into IBM Cloud® Code Engine, a shared, multi-tenant Kubernetes service on IBM Cloud.  Code Engine is a fully managed, serverless platform that runs your containerized workloads, including web apps, micro-services, event-driven functions, or batch jobs. Code Engine even builds container images for you from your source code. Because these workloads are all hosted within the same Kubernetes infrastructure, all of them can seamlessly work together. The Code Engine experience is designed so that you can focus on writing code and not on the infrastructure that is needed to host it.

By default, the toolchain uses a sample Node.js "Hello World" app, but you can link to your own GitHub repository instead. The toolchain is preconfigured for continuous delivery with Vulnerability Advisor, source control, issue tracking, and online editing.

To get started, click Create:

Create toolchain

Figure 1: Develop a Code Engine App toolchain

Develop a Code Engine App Tutorial

To accompany the new toolchain template, IBM has also published a new tutorial to step you through the process of using the template to create an open toolchain using IBM Cloud® Continuous Delivery and deploy your app on Code Engine. You also learn how toolchains are implemented in the Continuous Delivery service and how to develop and deploy a simple web application (app) by using toolchains.


The toolchain that is used in this tutorial implements standard DevOps practices such as code scanning, acceptance tests, Git repos, and continuous integration and continuous delivery capabilities. After you create clusters and associate them with a Continuous Delivery cluster group, you create a toolchain to change your app's code and push the change to the Git Repos and Issue Tracking repo. When you push changes to your repo, the Tekton-based delivery pipeline automatically builds and deploys the code.

To get started with the tutorial, click here.


Prerequisites and Notes

  • Pay-As-You-Go account required
  • You can manage your Code Engine projects and applications in the console.
  • The toolchain uses tools that are part of the Continuous Delivery service. If an instance of that service isn't already in the selected resource group or organization, when you click Create, it is automatically added with the free Lite plan selected.

Related content



  • If you have any questions, you can get help directly from the IBM Cloud development teams by joining us on Slack
0 comments
13 views

Permalink