https://github.com/openstack-charmers/buck
https://github.com/openstack-charmers/buck
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/openstack-charmers/buck
- Owner: openstack-charmers
- License: gpl-3.0
- Created: 2022-10-18T19:04:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T11:15:35.000Z (over 3 years ago)
- Last Synced: 2023-04-19T03:47:37.738Z (about 3 years ago)
- Language: Python
- Size: 114 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Buck
====
|snapcraft-badge| |check-badge|
Buck is a tox plugin to provide sane targets (and highly opinionated) to
Charmed OpenStack charms.
Installation
------------
Using the package manager `pip `_ to install buck: ::
pip install git+https://github.com/openstack-charmers/buck.git#egg=buck
Using the snap: ::
sudo snap install --edge buck
Usage
-----
Tox Plugin
^^^^^^^^^^
Example tox.ini: ::
[tox]
skipsdist = True
skip_missing_interpreters = False
requires =
buck @ git+https://github.com/openstack-charmers/buck.git@main#egg=buck
Buck Up (experimental)
^^^^^^^^^^^^^^^^^^^^^^
Example charmcraft.yaml: ::
type: charm
parts:
buck:
plugin: nil
build-snaps:
- buck/latest/edge
override-build: |
cd /root/parts/charm/
buck up
charm:
after: [buck]
source: src/
plugin: reactive
build-snaps:
- charm
bases:
- build-on:
- name: ubuntu
channel: "22.04"
architectures:
- amd64
run-on:
- name: ubuntu
channel: "22.04"
architectures: [amd64, s390x, ppc64el, arm64]
Contributing
------------
Pull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.
Please make sure to update tests as appropriate.
Why 'Buck'?
-----------
- After many executions of ``petname`` this animal standed out.
- Buck is the `male form of an Antelope `_.
- Antelope was the development cycle of OpenStack when this project started.
- 'buck up' means `'to raise the morale of' `_.
License
-------
`GPLv3 <./LICENSE>`_
.. |snapcraft-badge| image:: https://github.com/openstack-charmers/buck/actions/workflows/snapcraft.yaml/badge.svg
.. |check-badge| image:: https://github.com/openstack-charmers/buck/actions/workflows/check.yaml/badge.svg