cloudfoundry / cf-deployment-concourse-tasks

Apache License 2.0
23 stars 75 forks source link

Use metadata file instead of name file #161

Closed dsabeti closed 9 months ago

dsabeti commented 9 months ago

This allows for compatibility with other pooled environment providers

What is this change about?

Toolsmiths provides two ways to fetch the name of the an environment:

  1. The name file, which is currently used
  2. The metadata file, which is a json file with the environment name saved in the top-level name field.

This change switches to the second implementation, as other pooled environment providers have maintained the same metadata file schema for compatibility.

Please provide contextual information.

N/A

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?

Use metadata file instead of name file to fetch environment name

What is the level of urgency for publishing this change?

Tag your pair, your PM, and/or team!