Merge "publish puppet-aodh in tarball for master"
This commit is contained in:
commit
7b09330da0
@ -5220,6 +5220,7 @@
|
|||||||
- puppet-beaker-jobs-centos7:
|
- puppet-beaker-jobs-centos7:
|
||||||
job-suffix: ''
|
job-suffix: ''
|
||||||
branch-override: default
|
branch-override: default
|
||||||
|
- '{name}-tarball'
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: puppet-apparmor
|
name: puppet-apparmor
|
||||||
|
@ -14,12 +14,25 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
venv=${1:-venv}
|
# this is a puppet module
|
||||||
|
if [ -r metadata.json ]; then
|
||||||
|
MODULE_NAME=$(basename `git rev-parse --show-toplevel`)
|
||||||
|
puppet module build .
|
||||||
|
# so we can re-use "tarball" publisher
|
||||||
|
mv pkg dist
|
||||||
|
if [ -z "$ZUUL_REFNAME" ] || [ "$ZUUL_REFNAME" == "master" ]; then
|
||||||
|
mv dist/*.tar.gz dist/$MODULE_NAME-master.tar.gz
|
||||||
|
# need to figure how to deal with stable branches
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# this a python project
|
||||||
|
venv=${1:-venv}
|
||||||
|
|
||||||
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
|
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
|
||||||
|
|
||||||
rm -f dist/*.tar.gz
|
rm -f dist/*.tar.gz
|
||||||
tox -e$venv python setup.py sdist
|
tox -e$venv python setup.py sdist
|
||||||
|
fi
|
||||||
|
|
||||||
FILES=dist/*.tar.gz
|
FILES=dist/*.tar.gz
|
||||||
for f in $FILES; do
|
for f in $FILES; do
|
||||||
|
@ -8999,6 +8999,8 @@ projects:
|
|||||||
- name: puppet-openstack-integration-jobs-scenario001
|
- name: puppet-openstack-integration-jobs-scenario001
|
||||||
check-tripleo:
|
check-tripleo:
|
||||||
- gate-tripleo-ci-f22-nonha
|
- gate-tripleo-ci-f22-nonha
|
||||||
|
post:
|
||||||
|
- puppet-aodh-tarball
|
||||||
|
|
||||||
- name: openstack/puppet-autossh
|
- name: openstack/puppet-autossh
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user