Development¶
Installation for development¶
Create a virtual environment for development. Then install LTD Conveyor with development dependencies:
make init
You can run tests with:
tox
Releases¶
Releases are made by creating a Git tag with a semantic version and pushing to GitHub.
git tag -s X.Y.Z -m "X.Y.Z"
git push --tags
Travis CI creates the PyPI release itself and setuptools_scm ensures the PyPI version matches the Git tag.
GitHub CI¶
The GitHub CI action needs AWS creds and an existing S3 bucket. These creds and the bucket name are injected via repository-scoped Actions secrets and variables
These creds are attached to the ltd-conveyor-tests IAM user. This user has an attached ltd-conveyor-tests policy. This policy grants access to the lsst-the-docs-test S3 bucket.