Skip to content
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

[FEATURE] Automated testing, build and deployment to PyPi #46

Open
jeffreyaven opened this issue Oct 9, 2024 · 0 comments
Open

[FEATURE] Automated testing, build and deployment to PyPi #46

jeffreyaven opened this issue Oct 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jeffreyaven
Copy link
Member

Feature Description

Currently CI/CD covers the web site deployment only, need to expand this to cover package updates (any changes to stackql-deploy/**)
. If changes are made to files in this dir tree, then:

  1. test that the package version (semver) has been updated (from the previous main version (setup.py and __init__.py)
  2. run some basic automated tests (deploying and tearing down basic stacks to AWS, Azure and Google) - provider creds supplied as actions secrets - this can include testing of the marketplace GitHub Action
  3. build and publish to PyPi automatically upon merge to main

steps for 3 are:

pip install --upgrade build
pip install twine
python3 -m build
twine upload --config-file .pypirc dist/*

.pypirc contains the access token for PyPi, so this would need to be written in an actions step from an actions secret

@jeffreyaven jeffreyaven added the enhancement New feature or request label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant