cloudfoundry / cf-deployment-concourse-tasks

Apache License 2.0
23 stars 76 forks source link

Fix use case of `bosh-deploy-with-created-release` task #139

Open svkrieger opened 1 year ago

svkrieger commented 1 year ago

What is this change about?

The bosh-deploy-with-created-release task did not seem to work with a release tarball. The bash script was looking for a final.yml in the config folder, which is both not present when providing the release as a tarball.

I added two input parameters to the task: RELEASE_NAME_OF_TARBALL, which is the name of the release, which has been provided as a tarball and RELEASE_VERSION_OF_TARBALL, which is the version of that release. Both is needed to construct the ops file, to add the release to the deployment.yml.

The shared function bosh_interpolate needed some changes as well, to support the new version parameter.

Please provide contextual information.

I found #96, which also mentions about this problem, which seems to have never been fully resolved.

Please check all that apply for this PR:

Did you update the README as appropriate for this change?

How should this change be described in release notes?

Fixed use case of bosh-deploy-with-created-release task, where a release has been provided as a tarball.

What is the level of urgency for publishing this change?