Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpolate the manifest before deploying #21

Merged
merged 2 commits into from
Jul 11, 2017
Merged

Interpolate the manifest before deploying #21

merged 2 commits into from
Jul 11, 2017

Conversation

mdelillo
Copy link
Contributor

@mdelillo mdelillo commented Jul 6, 2017

OpsFiles can modify stemcells and releases (e.g windows-cell.yml
https://github.com/cloudfoundry/cf-deployment/blob/master/operations/windows-cell.yml)
this will allow the stemcells to be consumed properly

We also added a skip_export option to the get. If multiple stemcells are present (i.e. linux and windows), then the get will fail because bosh does not support exporting releases with multiple stemcells.

Fix #14

Signed-off-by: Amin Jamali ajamali@pivotal.io

- OpsFiles can modify stemcells and releases (e.g windows-cell.yml
https://github.com/cloudfoundry/cf-deployment/blob/master/operations/windows-cell.yml)
this will allow the stemcells to be consumed properly

[#148348965]

Fix #14

Signed-off-by: Amin Jamali <ajamali@pivotal.io>
@cfdreddbot
Copy link

Hey mdelillo!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@drich10
Copy link
Contributor

drich10 commented Jul 7, 2017

Thanks for submitting the PR! Still reading through the PR. Wanted to ask why you needed to add the skip-export flag? The resource should only attempt to export releases if you specify the compiled_releases key on a get.

Signed-off-by: Amin Jamali <ajamali@pivotal.io>
@aminjam
Copy link
Contributor

aminjam commented Jul 10, 2017

@drich10 We have revised the PR. We removed skip-export and added logic to stop exporting releases when we have an empty compiled_releases.

@drich10 drich10 merged commit ce4caa0 into cloudfoundry:master Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants