{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/1028","repository_url":"https://api.github.com/repos/cloudfoundry/cli","labels_url":"https://api.github.com/repos/cloudfoundry/cli/issues/1028/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cli/issues/1028/comments","events_url":"https://api.github.com/repos/cloudfoundry/cli/issues/1028/events","html_url":"https://github.com/cloudfoundry/cli/issues/1028","id":194729706,"number":1028,"title":"Add the ability for CF to unzip an artifact that could contain 1 or more files","user":{"login":"pivotal-manuel-morales","id":22778970,"avatar_url":"https://avatars.githubusercontent.com/u/22778970?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-manuel-morales","html_url":"https://github.com/pivotal-manuel-morales","followers_url":"https://api.github.com/users/pivotal-manuel-morales/followers","following_url":"https://api.github.com/users/pivotal-manuel-morales/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-manuel-morales/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-manuel-morales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-manuel-morales/subscriptions","organizations_url":"https://api.github.com/users/pivotal-manuel-morales/orgs","repos_url":"https://api.github.com/users/pivotal-manuel-morales/repos","events_url":"https://api.github.com/users/pivotal-manuel-morales/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-manuel-morales/received_events","type":"User","site_admin":false},"labels":[{"id":371026367,"url":"https://api.github.com/repos/cloudfoundry/cli/labels/unscheduled","name":"unscheduled","color":"D9D9D9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-10T00:31:05Z","updated_at":"2016-12-10T00:31:08Z","closed_at":null,"body":"Currently to push an application that does not get packaged/zipped (.NET, NodeJS, Golang) I just go to the root directory of the project where the manifest.yml file is and run \"cf push\" without specifying a file to upload. If the file is a .jar or .war file I can specify to upload just that file. It would be nice if I could specify a packaged file (.zip, .tar) that contained my .NET, NodeJS or Golang app.\r\n\r\nHere is an example: The CI/CD tool can create artifacts that are directories or single files and these artifacts can be passed around to different parts of the deployment project. The add-ons we wish to use require a single file to be specified for uploading, which works fine for Java apps but not apps written in .NET, NodeJS, Golang, etc. I can tell Bamboo to package up a directory into a single file and keep it as an artifact but Cloud Foundry will not accept that packaged/zipped file when doing the push. Because of this, the deployment projects differ from language to language. If CF can take packaged/zipped files then our deployment process will be the same for every app, regardless of what language is being used.\r\n\r\nIt would also be nice to be able to store artifacts as a single, packaged file and not have to un-package them every time I want to do a push.\r\n\r\nA solution might be to have CF have a step to unpack/unzip a file BEFORE running the any of these detect.sh scripts for each build. That way the first thing it does after a file is uploaded would be to check if it needs to be unpackaged/unzipped and if so then do it then carry on like normal."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/comments/266160862","html_url":"https://github.com/cloudfoundry/cli/issues/1028#issuecomment-266160862","issue_url":"https://api.github.com/repos/cloudfoundry/cli/issues/1028","id":266160862,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T00:31:08Z","updated_at":"2016-12-10T00:31:08Z","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/135886863 \n\nThe labels on this github issue will be updated when the story is started."}}
{"actor":{"display_login":"cf-gitbot"}}