Updating a Bosh release

105 views
Skip to first unread message

Arunabha Ghosh

unread,
Oct 26, 2013, 2:08:59 PM10/26/13
to bosh-...@cloudfoundry.org
Hi, I'm trying to update a bosh release using the following

1) Make local change to the local release files (say some .yml.erb)

2) Commit the change

3) Update the release yml file to increment the version number

4) Bosh upload release.

After these steps, bosh releases shows the new release version, however the commit hash of each release version is the same and the new template does not seem to be used. 

bosh releases
.
.
 cf-services-contrib | 2*       | 59465dc6+   |
|                            | 2.1*     | 59465dc6+   |
|                            | 2.2*     | 59465dc6+   |
|                            | 2.3      | 59465dc6+   |

How do I upload a release which uses the modified template file ?

Thanks

Dr Nic Williams

unread,
Oct 26, 2013, 2:13:55 PM10/26/13
to bosh-users
I think you're missing the "bosh create release" step. Was this what you're doing in step 3?

Nic

Arunabha Ghosh

unread,
Oct 26, 2013, 2:59:20 PM10/26/13
to bosh-...@cloudfoundry.org
Hmm, yes I was. I just did a create release followed by an upload release, however the results are the same, the has of the release is the same as before.

 cf-services-contrib | 2*       | 59465dc6+   |
|                     | 2.1*     | 59465dc6+   |
|                     | 2.2*     | 59465dc6+   |
|                     | 2.3*     | 59465dc6+   |
|                     | 2.4      | 59465dc6+   |

Ferran Rodenas

unread,
Oct 29, 2013, 5:09:22 PM10/29/13
to bosh-...@cloudfoundry.org
I'm confused about step 3 (Update the release yml file to increment the version number). Are you incrementing the version number manually? Bosh create release should increment it automatically.

- Ferdy


2013/10/26 Arunabha Ghosh <aruna...@gmail.com>

To unsubscribe from this group and stop receiving emails from it, send an email to bosh-users+...@cloudfoundry.org.

Arunabha Ghosh

unread,
Oct 29, 2013, 5:14:45 PM10/29/13
to bosh-...@cloudfoundry.org
Yes, I had to edit the release manifest to update the version number. Does create release generate a new release manifest ? if so, where is the file kept ?

Ferran Rodenas

unread,
Oct 29, 2013, 5:19:55 PM10/29/13
to bosh-...@cloudfoundry.org
Yes, it creates a new release manifest. Look at the dev_release dir (assuming you're not creating a final release).

- Ferdy


2013/10/29 Arunabha Ghosh <aruna...@gmail.com>

Chris Brown

unread,
Oct 30, 2013, 5:01:56 AM10/30/13
to bosh-...@cloudfoundry.org
I think you are both talking about different manifests. Ferdy is talking about the release manifest in dev_releases directory inside the root release directory and Arunabha is talking about the deployment manifest for the actual deployment of a release. As an aside, to avoid having to increment the version number each time you create a release you can use the value "latest" for the version number which the BOSH director will semantically interpret as the highest version number of the release requested.
Reply all
Reply to author
Forward
0 new messages