cloudfoundry-community / cf-resource

Concourse resource for interacting with Cloud Foundry
Apache License 2.0
35 stars 63 forks source link

Push docker image directly to cloud foundry #30

Open avirkar opened 7 years ago

avirkar commented 7 years ago

I am trying to use the cf resource to push a docker image to CF but that seem to be not supported by this resource. Do you think you will have a update on it?

concourse-bot commented 7 years ago

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

laugimethods commented 7 years ago

Apparently, this upgrade doesn't need a lot of new code: https://github.com/Logimethods/cf-resource/commit/319eb580bfccb062a40fb3afa03f35ae23b11d05

However I don't know how to test that code, nor how to build the associated Docker Image (Build failed: ADD failed: stat /var/lib/docker/tmp/docker-builder473524230/cf: no such file or directory).

Any help would be welcome.

jtarchie commented 7 years ago

@laugimethods we are working on making it easier for people to test and build with these docker images. I assure, it is happening, we've done it with a number of resources so far.

I will update this issue once we do! 👍

jtarchie commented 7 years ago

We've updated the README with build instructions! We'd accept a PR with tests.

brentdemark commented 7 years ago

I believe if the docker image were just rebuilt pulling in the latest binary, that would fix this issue. Allowing you specify a "docker.image:" in the manifest. This was apparently added in 6.31 of the client.