Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poll from Bucket Not Maintained by GoCD #47

Open
steve-gray opened this issue Dec 21, 2016 · 3 comments
Open

Poll from Bucket Not Maintained by GoCD #47

steve-gray opened this issue Dec 21, 2016 · 3 comments

Comments

@steve-gray
Copy link

Scenario:

  • Using Drone CI to do builds, with artifacts being pushed to an S3 bucket (i.e. /app/.zip
  • Using GoCD to then take those artifacts and run them through the gambit of tests and so forth.

Trouble I'm having: how do I structure the bucket or configure the S3 Material Poller? it appears to want an upstream pipelines details when there are none.

@manojlds
Copy link
Member

The plugins are really designed to work best together. The material plugin specifically looks for metadata set on S3 objects to figure out the latest artifact and upstream pipeline information.

If you are interested to take a stab at making the materials plugin work independently, we would be more than happy!

@steve-gray
Copy link
Author

Is there any documentation on what the metadata this is expecting is?

-Steve

@manojlds
Copy link
Member

It is an internal implementation detail, so we haven't documented it (maybe we should).

Relevant code sections - https://github.com/indix/gocd-s3-artifacts/blob/master/utils/src/main/java/com/indix/gocd/utils/store/S3ArtifactStore.java#L174-L186

There has been enough interest in the community to make these plugins work independent of each other, though that's not an use case we have internally. We can take and give help to get this done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants