Skip to content

Update deploy.sh, openssl, use pip #914

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

Merged
merged 3 commits into from
Nov 22, 2022
Merged

Conversation

BenjaminBossan
Copy link
Collaborator

I ran into this issue when trying to deploy:

https://askubuntu.com/questions/1428181/module-lib-has-no-attribute-x509-v-flag-cb-issuer-check

Therefore, I adjusted the script to update pyopenssl. On top of that, I was frustrated with the very slow testing cycle, since the script always creates a new environment from scratch. To accelerate this, I removed the reliance on the (outdated) environment.yml and used pip for the requirements.txt, which is faster and also more in line with our CI.

I tested this locally except for the last step (the upload) and it worked.

I ran into this issue when trying to deploy:

https://askubuntu.com/questions/1428181/module-lib-has-no-attribute-x509-v-flag-cb-issuer-check

Therefore, I adjusted the script to update pyopenssl. On top of that, I
was frustrated with the very slow testing cycle, since the script always
creates a new environment from scratch. To accelerate this, I removed
the reliance on the (outdated) environment.yml and used pip for the
requirements.txt, more in line with our CI.

I tested this locally except for the last step (the upload) and it
worked.
@ottonemo
Copy link
Member

Would it make sense to generate the environment.yml from the deployment script (or a step before that)? If it is too old then we should either abandon it or update it (if possible automatically).

@BenjaminBossan
Copy link
Collaborator Author

Would it make sense to generate the environment.yml from the deployment script (or a step before that)? If it is too old then we should either abandon it or update it (if possible automatically).

Yeah, I actually thought about removing it completely, but didn't want to add it to this PR, as it would require touching different parts of the docs as well. Probably it's hardly used and would require an automatic mechanism to keep it up to date, so I'd rather remove it.

BenjaminBossan and others added 2 commits November 22, 2022 10:50
Co-authored-by: ottonemo <marian.tietz@ottogroup.com>
Co-authored-by: ottonemo <marian.tietz@ottogroup.com>
@ottonemo ottonemo merged commit 432912d into master Nov 22, 2022
@BenjaminBossan BenjaminBossan deleted the update-deploy-script-openssl branch November 22, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants