-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unzip ibsolution file #3
Conversation
cicd/promote_solution.py
Outdated
@@ -15,6 +15,10 @@ | |||
from migration_helpers import download_ibsolution, compile_and_package_ib_solution, \ | |||
download_dependencies_from_dev_and_upload_to_prod | |||
|
|||
from dotenv import load_dotenv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does load_dotenv do here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will load in any environment variables stored in a .env
file and if it doesn't exist does nothing, I've added a bit to the readme to explain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, added a couple of refactoring components/questions
Co-authored-by: Ben Hope <bnjhope1@gmail.com>
Co-authored-by: Ben Hope <bnjhope1@gmail.com>
Co-authored-by: Ben Hope <bnjhope1@gmail.com>
Co-authored-by: Ben Hope <bnjhope1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - small nit but approved 🙌
Co-authored-by: Ben Hope <bnjhope1@gmail.com>
If
download_ibsolution
flag is set then also store the unzipped version of the ibsolution. If this is stored as part of a CI pipeline then version control of the code will be possibleAlso:
write_to_local
to False when downloading ibsolution to upload to target environment