Add a tool to build collections with pbr

OpenStack in general uses git tags to drive versioning of artifacts.
This is important because of our code review driven workflow, since
patches don't necessarily land in a predictable sequence, so flows
requiring a version number in a file to be updated at a specific
time are problematic.

By having pbr generate the correct version number then putting that
into the galaxy.yml file, we can match the behavior without too much
undue burden.

Also ignore build_artifact directory.

Change-Id: Id02fee682fb5a4b6fd6dcb0644848e6d1269e19b
This commit is contained in:
Monty Taylor
2020-02-26 08:32:01 -06:00
parent b7e9e8870c
commit 5936a8f691
6 changed files with 57 additions and 1 deletions

View File

@@ -1,20 +0,0 @@
namespace: openstack
name: cloud
version: 1.0.0
readme: README.md
authors: Openstack
description: Openstack Ansible modules
license: GPLv3
license_file: LICENSE
tags:
- cloud
- openstack
dependencies: {}
repository: https://opendev.org/openstack/ansible-collections-openstack.git
documentation: https://docs.openstack.org/ansible-collections-openstack
homepage: https://opendev.org
issues: https://review.opendev.org/q/project:openstack/ansible-collections-openstack
build_ignore:
- build_artifact/
- "*.tar.gz"
- zuul.yaml