Track where your code is deployed with toolchains

Have you ever wanted to track where your code is deployed? With toolchains in IBM® Bluemix® Continuous Delivery, you can now track code deployments through tags, labels, and comments in your Git repository (repo).

For example, take a toolchain that includes Delivery Pipeline and uses a Git repo from the IBM hosted Git Repos and Issue Tracking service as an input. After the pipeline builds and deploys your app to your staging environment, the toolchain adds the deploy:staging label to your issues. You can then filter by that label to find out which fixes are in staging.

Each deployment creates a tag in your Git repo. You can find out which commits are deployed in an environment by selecting the tag.

Comments that include references to the environment and the automated build system are also added to the issue. You can easily navigate to the deployed app or to the job that deployed the app from your issue-tracking system (Issues) or from your source-code management system (Git).

In addition, if your toolchain contains IBM Cloud DevOps Insights, DevOps Insights can apply analytics to your tags and labels to provide insights into your project.

Track your code changes in issues

After the toolchain deploys your commit, any issues that are referenced in the commit’s comment are automatically updated with a comment and label.

The comment that is added to the issue contains the deployments details and links to the related components, including the toolchain, delivery pipeline, commit, and the deployed app on Bluemix.

You can create custom issue queries that are based on labels to track the issues that are deployed to an environment.

Track your code changes with tags

Tags in the Git Repos and Issue Tracking service

Each time a commit is deployed, a tag is created that shows all of the commits that are included in the deployment.

Tags in the Web IDE

In the Web IDE, you can see the tags in the Git commit history.

Get started tracking your code changes

You can try this new feature in two ways.

Create a toolchain that includes code deployment and issue tracking

Create a simple Cloud Foundry toolchain from a template by clicking the Create Toolchain button. In the toolchain, the code deployment and issue-tracking feature is enabled by default.

Create Toolchain

If you’d prefer to create a toolchain from another template, go to the Create a Toolchain page. In the following toolchains, the code deployment and issue tracking feature is enabled:

  • The Simple Cloud Foundry toolchain (v2) template

  • The Microservices toolchain with DevOps Insights (v2) template

Enable code deployment and issue tracking for a toolchain

If you already have a toolchain, you can enable code deployment and issue tracking for the toolchain:

  1. On the Toolchains page, select your toolchain.

  2. Right-click the Git repo card and click Configure.

  3. Make sure that the repository type is Existing, and select the Track deployment of code changes check box.

Resources

Working with toolchainsWorking with Git Repos and Issue Tracking

Categories

More from Announcements

IBM TechXchange underscores the importance of AI skilling and partner innovation

3 min read - Generative AI and large language models are poised to impact how we all access and use information. But as organizations race to adopt these new technologies for business, it requires a global ecosystem of partners with industry expertise to identify the right enterprise use-cases for AI and the technical skills to implement the technology. During TechXchange, IBM's premier technical learning event in Las Vegas last week, IBM Partner Plus members including our Strategic Partners, resellers, software vendors, distributors and service…

Introducing Inspiring Voices, a podcast exploring the impactful journeys of great leaders

< 1 min read - Learning about other people's careers, life challenges, and successes is a true source of inspiration that can impact our own ambitions as well as life and business choices in great ways. Brought to you by the Executive Search and Integration team at IBM, the Inspiring Voices podcast will showcase great leaders, taking you inside their personal stories about life, career choices and how to make an impact. In this first episode, host David Jones, Executive Search Lead at IBM, brings…

IBM watsonx Assistant and NICE CXone combine capabilities for a new chapter in CCaaS

5 min read - In an age of instant everything, ensuring a positive customer experience has become a top priority for enterprises. When one third of customers (32%) say they will walk away from a brand they love after just one bad experience (source: PWC), organizations are now applying massive investments to this experience, particularly with their live agents and contact centers.  For many enterprises, that investment includes modernizing their call centers by moving to cloud-based Contact Center as a Service (CCaaS) platforms. CCaaS solutions…

See what’s new in SingleStoreDB with IBM 8.0

3 min read - Despite decades of progress in database systems, builders have compromised on at least one of the following: speed, reliability, or ease. They have two options: one, they could get a document database that is fast and easy, but can’t be relied on for mission-critical transactional applications. Or two, they could rely on a cloud data warehouse that is easy to set up, but only allows lagging analytics. Even then, each solution lacks something, forcing builders to deploy other databases for…