Skip to main content

task-core

CI Status

Install

pip install .

Example invocation (tests framework)

task-core-example

Example invocation (from folder)

task-core --services-dir examples/directord/services \
          --inventory-file examples/directord/inventory.yaml \
          --roles-file examples/directord/roles.yaml \
          --debug

Example directord execution

This is an example that uses [https://github.com/cloudnull/directord] to setup an instance of keystone. The below bit of code assumes 4 nodes available with a stack user that can been connected to via ssh from the user running the bash script.

sudo dnf install python3-virtualenv git -y

virtualenv ~/test-venv
source ~/test-venv/bin/activate

git clone https://github.com/Directord/task-core

pip install directord

pushd task-core
pip install -r requirements.txt
pip install .
popd

ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ""
for H in 2 3 4 5; do
  ssh-keyscan -H -t rsa 192.168.24.$H >> ~/.ssh/known_hosts
  ssh-copy-id 192.168.24.$H
done

cat > ~/catalog.yaml <<EOF
directord_server:
  targets:
  - host: 192.168.24.2
    port: 22
    username: stack

directord_clients:
  args:
    port: 22
    username: stack
  targets:
  - host: 192.168.24.3
  - host: 192.168.24.4
  - host: 192.168.24.5
EOF

directord bootstrap --catalog $HOME/catalog.yaml --catalog ~/test-venv/share/directord/tools/directord-bootstrap-catalog.yaml

sudo chmod a+w /var/run/directord.sock

cat > ~/inventory.yaml <<EOF
hosts:
  standalone-1:
    role: keystone
  standalone-2:
    role: basic
  standalone-3:
    role: basic
EOF

task-core \
  -s task-core/examples/directord/services/ \
  -i $HOME/inventory.yaml \
  -r task-core/examples/directord/roles.yaml

ssh standalone-1 openstack --os-auth-url http://standalone-1:5000/v3 --os-user-domain-name default --os-username admin --os-password keystone token issue

Metadata

Release files for task-core 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for task-core 0.2.1
File Size Uploaded Provenance
task-core-0.2.1.tar.gz 80.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for task-core 0.2.1
File Interpreter ABI Platform
task_core-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 211.2 kB

Release files / task-core-0.2.1.tar.gz

Download URL task-core-0.2.1.tar.gz
Size 80.6 kB
Tags Source
SHA-256 checksum
How to use checksums
712af964f5725b6bc88aadb3dce82a8595de37b9c2650db2c83ff5b630c826c5
BLAKE2b-256 checksum
How to use checksums
3430f1c3a518b6bf7ad1e41f6651b6ab2c47c0d3d5fe0f4f2826d1a527413f40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

Release files / task_core-0.2.1-py3-none-any.whl

Download URL task_core-0.2.1-py3-none-any.whl
Size 130.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f9ff3e3ff09de49c7055ffa0dbd239d2756d0661354774b508f0df1e48e147a
BLAKE2b-256 checksum
How to use checksums
2fbfa852d57eeb8a0ceaf6579f3f062f45a0c55b0433ee1374bef96b22713367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

Security for task-core 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page