A BOSH release for Opensearch
- Follow these steps: https://github.com/cloud-gov/internal-docs/blob/main/docs/runbooks/BOSH/building-bosh-releases.md#vendoring-python
- Follow these steps to ensure that the changes to
.final_builds/package/python3
get updated in thefinal-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
-
Install Java locally and download Logstash version from
config/blobs.yml
to your local machine -
From the directory for Logstash on your machine, install the relevant plugin:
bin/logstash-plugin install logstash-filter-alter
-
Check what version of the plugin was installed:
bin/logstash-plugin list --verbose | grep logstash-filter-alter
-
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
-
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
-
Upload the updated blobs the S3 blobstore:
bosh upload-blobs