OpenNMS / elasticsearch-drift-plugin

Elasticearch plugin that helps generate time series data from flow data
Apache License 2.0
3 stars 4 forks source link

HZN-1255: push RPM to AWS #4

Closed RangerRick closed 6 years ago

RangerRick commented 6 years ago

This PR adds a CircleCI config to push the built RPM to AWS. The project is already pre-configured for the AWS credentials so it should work as soon as this is merged.

On the client side I have things set up to auto-sync files that go into that S3 container into their respective directories in develop/common in the yum repository. It only syncs things with SNAPSHOT in the revision, and deletes all but the latest snapshot for each version (determined with rpm -q queries) both locally and in the s3 container.

It also includes a build fix for the .zip file containing the plugin-descriptor.properties file.

RangerRick commented 6 years ago

You can see the script on the pull side here: https://github.com/OpenNMS/ci/commit/e2cd281941a1f6fa67a23ad303c07ebc047e7c39