starhawking / python-terrascript

Create Terraform files using Python scripts.
BSD 2-Clause "Simplified" License
515 stars 76 forks source link

Release/0.9.0 #118

Closed ilons closed 3 years ago

ilons commented 4 years ago

[0.9.0-rc1] - 2020-09-14

This release requires Python 3.6 or later, and Terraform 0.12 or later.
Be aware of embedded variable bugfix, which could break workarounds.

Added

ilons commented 4 years ago

@mjuenema I think this release does not add too much to worry about, and should be relatively safe.

ilons commented 4 years ago

@mjuenema When it comes to pypi, and readthedocs, is this automatically build and deployed by travis, or is there some manual step required when making a release?

ilons commented 4 years ago

Waiting to pull in https://github.com/mjuenema/python-terrascript/pull/119 as well

mjuenema commented 4 years ago

@ilons Check RELEASING.md. I hope it's still up-to-date, otherwise correct the document as needed. That's what I used to do manually but maybe some steps could be automated.

ilons commented 4 years ago

@mjuenema I'll make an attempt to build and upload a RC for this.

ilons commented 4 years ago

@mjuenema We would either have to share the credentials for pypi, or set it up in the travis job to automatically build and push tags to pypi. I would vote for the later, but that might not be done in time for 0.9.0 (on friday).

There is now a 0.9.0-rc1 tag which would be good if you could push to pypi test for me to test.

mjuenema commented 4 years ago

Let me check how that works with Travis-CI. If it's too difficult I am going to do it manually. Having it done automatically would be nice.

ilons commented 4 years ago

Let me check how that works with Travis-CI. If it's too difficult I am going to do it manually. Having it done automatically would be nice.

Indeed would be nice. My suggestion is to build and publish all tags mathching X.X.X-rcX to pypi test, and tags matching X.X.X to pypi.

mjuenema commented 4 years ago

That sounds like a good approach. I should be able to set this up tomorrow morning, Australian time. That's late night Central European Time.

mjuenema commented 4 years ago

I have a .travis.yml file that (hopefully) makes Travis-CI automatically deploy to PyPi and TestPyPi. Getting the conditions right to publish all tags matchhing X.X.X-rcX to pypi test, and tags matching X.X.X to pypi is a bit tricky. Time will tell whether it works as expected. I successfully tested it, but only without those exact conditions. What branch would you like me to create a Pull Request against?

ilons commented 4 years ago

I have a .travis.yml file that (hopefully) makes Travis-CI automatically deploy to PyPi and TestPyPi. Getting the conditions right to publish all tags matchhing X.X.X-rcX to pypi test, and tags matching X.X.X to pypi is a bit tricky. Time will tell whether it works as expected. I successfully tested it, but only without those exact conditions. What branch would you like me to create a Pull Request against?

Make a PR against develop and we can look at it and discuss it there :+1: