A tool for handling automated tasks in Steinwurf.
Project description
In Steinwurf we have a few general tasks that every developer in Steinwurf needs to carry out once in a while.
For example, Releasing a new version of a project.
Steinwurf Tasker is the tool for automating such tasks.
Installation
Install the steinwurf-tasker tool using pip:
python -m pip install steinwurf-tasker
Setup config
Create a file in your home folder called .steinwurf-tasker.yaml.
Add the following content and modify the values to the
editor: code resolve_path: /home/username/projects/dependencies project_paths: - /home/username/projects/ release_email: host: smtp.emailhost.com port: 587 sender: release_email@email.com password: release_email_password receiver: release_email_receiver@email.com tailscale: api_key: tskey-123456789 url: https://api.tailscale.com/api/v2/tailnet/steinwurfvpn@gmail.com credentials: user: common_account_name password: common_account_password github_token: <your_PAT_here>
Usage
You’ll now be able to use the sw command line tool. The following will list the available sw commands:
sw -l
Update
To update Steinwurf Tasker use pip:
python -m pip install steinwurf-tasker
Please make sure to also extend the config file with required information.
Development
When developing a new feature for Steinwurf Tasker it can be nice to install the local version in editable mode. This can done using the following command:
cd steinwurf-tasker python3 -m pip install -e .
To revert this and use the pip package use this command:
cd steinwurf-tasker python3 -m pip uninstall steinwurf-tasker python -m pip install steinwurf-tasker
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for steinwurf_tasker-2.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cadeb8df41674a6feadf966ecdbdfb4c8d93dbe20d42338207a1b9870657e910 |
|
MD5 | 6d4ee5f149a549f95d9d50de296dcac1 |
|
BLAKE2b-256 | 95409ceb0f709ccb006fd37538efca093791bb8ff225ed5910c51e55f9981d8b |