Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.61 KB

RELEASE.md

File metadata and controls

29 lines (21 loc) · 1.61 KB

Release Steps

PyPI

Note: To release a new Instana package, you must be a project member of the Instana package project on Pypi. Contact Peter Giacomo Lombardo to be added.

  1. Before releasing, assure that tests have passed and that the package has also been manually validated in various stacks.
  2. git checkout master && git pull --rebase && pip install -U twine
  3. Bump the package version in instana/version.py. git commit & push the version change to the master branch
  4. Create a draft Release on Github using ./bin/create_general_release.py
  5. Run python setup.py sdist bdist_wheel to create the packages file in ./dist/
  6. Upload the package to Pypi with twine: twine upload dist/instana-<version>*
  7. Validate the new release on https://pypi.org/project/instana/
  8. Update Python documentation with latest changes: https://docs.instana.io/ecosystem/python/
  9. Publish the draft release on Github

AWS Lambda Layer

To release a new AWS Lambda layer, see bin/aws-lambda/lambda_build_publish_layer.py.

./bin/aws-lambda/build_and_publish_lambda_layer.py [-dev|-prod]
./bin/create_lambda_release.py <version>

These scripts assumes that you have the AWS CLI and Github CLI installed and credentials already configured.

Post release, remember to update documentation and the Instana UI.