inject git sha into juju binaries

Bug #1832784 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Harry Pidcock
2.6
Won't Fix
High
Harry Pidcock

Bug Description

juju version should report git sha as well as version number
jujud startup shoud log git sha as well as version number
(needs change to juju build job)

caas operator build job needs to tag docker image with sha as well as juju version number
juju k8s provisioner should look for image tagged with sha and fall back to just version number when sha not available (eg for developers who build locally)

Harry Pidcock (hpidcock)
Changed in juju:
status: Triaged → In Progress
Changed in juju:
milestone: 2.6.5 → 2.6.6
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
milestone: 2.6.6 → 2.7-beta1
Revision history for this message
Harry Pidcock (hpidcock) wrote :
Changed in juju:
milestone: 2.7-beta1 → 2.7-rc1
Revision history for this message
Anastasia (anastasia-macmood) wrote :

This work will not be backported to 2.6.

Revision history for this message
Richard Harding (rharding) wrote :

I was looking for this today to tell what the controller was running in upgrade scenarios. It'd be awesome if it was part of the show-controller output.

Is the gist of this setup for 2.7-rc1?

Changed in juju:
milestone: 2.7-rc1 → none
Revision history for this message
Harry Pidcock (hpidcock) wrote :

Still pending on new snap building in CI

Harry Pidcock (hpidcock)
Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.