HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

How to capture tools release to trigger upgrade?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
triggercapturereleasehowtoolsupgrade

Problem

We capture our applications release by using commits from source code management, new package into the artifactory system etc.,

How can we capture my tools release from vendor so that I will trigger my upgrade script to upgrade my tools itself, for ex: upgrading Jenkins whenever new release available from Jenkins itself?

List of tools am expecting to upgrade:

1. Jenkins
2. GitHub Enterprise
3. Atlassian Jira
4. Atlassian Bamboo
5. Atlassian BitBucket Server


Basically, continuous deployment(with proper pipeline including testing) to production without human interaction for these tools.

Note: I am looking for some example, my requirement is for more than 10 tools. So for Jenkins, it will be Linux and Ubuntu.

Solution

From your list of tools:

Jenkins and Github have apt/yum repositories you can use to install and upgrade.

For Atlassian products, best up to date information about repositories I can found is This ShipIt experiment and it seems unlikely to change from this forum post

The workaround may be parsing the mailing list to update the deploy.

Now if you really want something automated to handle the installation and configuration of your tools, you can try a Configuration Management System like Chef/Puppet/Ansible/Salt.

For Chef I know better, there's cookbooks for Jira and Confluence maintained.

For the rest you'll be on your own writing the bits to deploy and configure.

This means having 4 CI/CD systems (at least), two 'groups' validating each other, as a pipeline won't be able to validate and upgrade itself properly (inception). That sounds overkill in my opinion.

At the end of the day, there's no silver bullet for all and every software you may use, each will have its own particularity and way to be installed and you'll have to workaround those bits.

Context

StackExchange DevOps Q#798, answer score: 3

Revisions (0)

No revisions yet.