Skip to content

cloud-gov/opensearch-boshrelease

Repository files navigation

opensearch-boshrelease

A BOSH release for Opensearch

How to update the vendored Python version

  1. Follow these steps: https://github.com/cloud-gov/internal-docs/blob/main/docs/runbooks/BOSH/building-bosh-releases.md#vendoring-python
  2. Follow these steps to ensure that the changes to .final_builds/package/python3 get updated in the final-builds-opensearch.tgz file tracked in S3: https://github.com/cloud-gov/internal-docs/blob/main/docs/runbooks/BOSH/building-bosh-releases.md#updating-vendored-packages-in-a-forked-release

How to add blobs for Logstash filter plugins

  1. Install Java locally and download Logstash version from config/blobs.yml to your local machine

  2. From the directory for Logstash on your machine, install the relevant plugin:

    bin/logstash-plugin install logstash-filter-alter
  3. Check what version of the plugin was installed:

    bin/logstash-plugin list --verbose | grep logstash-filter-alter
  4. Create an offline version of the plugin for use with BOSH and make sure to use the correct version from the previous step in the filename:

    bin/logstash-plugin prepare-offline-pack --output logstash-filter-alter-3.0.3.zip logstash-filter-alter
  5. Add the filter plugin to the blobs referencing the path to the generated offline file on your machine:

    bosh add-blob logstash/logstash-filter-alter-3.0.3.zip /path/to/logstash-filter-alter-3.0.3.zip
  6. Upload the updated blobs the S3 blobstore:

    bosh upload-blobs