Skip to content

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

Open
@jeffreyaven

Description

@jeffreyaven

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions