{"action":"closed","issue":{"url":"https://api.github.com/repos/concourse/cf-resource/issues/54","repository_url":"https://api.github.com/repos/concourse/cf-resource","labels_url":"https://api.github.com/repos/concourse/cf-resource/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/concourse/cf-resource/issues/54/comments","events_url":"https://api.github.com/repos/concourse/cf-resource/issues/54/events","html_url":"https://github.com/concourse/cf-resource/issues/54","id":323934127,"node_id":"MDU6SXNzdWUzMjM5MzQxMjc=","number":54,"title":"Setting \"environment_variables\" gives Deprecation warning","user":{"login":"drazen-nikolic","id":16214871,"node_id":"MDQ6VXNlcjE2MjE0ODcx","avatar_url":"https://avatars3.githubusercontent.com/u/16214871?v=4","gravatar_id":"","url":"https://api.github.com/users/drazen-nikolic","html_url":"https://github.com/drazen-nikolic","followers_url":"https://api.github.com/users/drazen-nikolic/followers","following_url":"https://api.github.com/users/drazen-nikolic/following{/other_user}","gists_url":"https://api.github.com/users/drazen-nikolic/gists{/gist_id}","starred_url":"https://api.github.com/users/drazen-nikolic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drazen-nikolic/subscriptions","organizations_url":"https://api.github.com/users/drazen-nikolic/orgs","repos_url":"https://api.github.com/users/drazen-nikolic/repos","events_url":"https://api.github.com/users/drazen-nikolic/events{/privacy}","received_events_url":"https://api.github.com/users/drazen-nikolic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-17T09:06:49Z","updated_at":"2018-08-08T15:09:39Z","closed_at":"2018-08-08T15:09:39Z","author_association":"NONE","body":"I've used the configuration like this, in the Concourse `pipeline.yml`:\r\n\r\n```\r\n...\r\n    - put: cf-resource\r\n      params:\r\n        path: my-app/*.jar\r\n        manifest: my-app/manifest.yml\r\n        environment_variables:\r\n          TEST_ENV_VARIABLE: some-value\r\n```\r\nEverything worked fine and as expected but I got this Deprecation warning in the Concourse logs:\r\n```\r\nDeprecation warning: Specifying app manifest attributes at the top level is deprecated. Found: env.\r\nPlease see http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#deprecated for alternatives and other app manifest deprecations. This feature will be removed in the future.\r\n```\r\nI have no experience with Go language but I guess `/out/manifest.go` should be updated, that `env` part is set not on the root level. Just my assumption."}}
{"actor":{"display_login":"vito"}}