wheel-build: only install afs client for publish jobs

The base build jobs don't need to interact with AFS, so remove the
client install.

The publish jobs run the wheel builds then but copy the files to the
AFS volumes.  Add the openafs-client role to these.

The release jobs run after the publish jobs and essentially do a "vos
release" on the volumes that were just populated by the publish jobs.
These run on the executor (which is already an AFS client) so nothing
to do here.

Change-Id: Iaa7c2ad23930fcdbd10a952d11e1647fa6e57b3b
This commit is contained in:
Ian Wienand 2018-08-30 10:07:01 +10:00
parent 0d498db23f
commit f5ce07359b
1 changed files with 5 additions and 1 deletions

View File

@ -986,7 +986,6 @@
description: |
Base job for building wheels published in OpenStack CI mirrors.
pre-run:
- playbooks/openafs-client/setup.yaml
- playbooks/wheel/pre.yaml
run: playbooks/wheel/build.yaml
post-run: playbooks/wheel/post-base.yaml
@ -1018,6 +1017,7 @@
description: |
Publish CentOS 7 wheels for OpenStack CI mirrors.
parent: build-wheel-mirror-centos-7
pre-run: playbooks/openafs-client/setup.yaml
post-run: playbooks/publish/wheel-mirror.yaml
final: true
secrets:
@ -1046,6 +1046,7 @@
parent: build-wheel-mirror-ubuntu-bionic
description: |
Publish Ubuntu Bionic wheels for OpenStack CI mirrors.
pre-run: playbooks/openafs-client/setup.yaml
post-run: playbooks/publish/wheel-mirror.yaml
final: true
secrets:
@ -1074,6 +1075,7 @@
parent: build-wheel-mirror-ubuntu-trusty
description: |
Publish Ubuntu Trusty wheels for OpenStack CI mirrors.
pre-run: playbooks/openafs-client/setup.yaml
post-run: playbooks/publish/wheel-mirror.yaml
final: true
secrets:
@ -1102,6 +1104,7 @@
parent: build-wheel-mirror-ubuntu-xenial
description: |
Publish Ubuntu Xenial wheels for OpenStack CI mirrors.
pre-run: playbooks/openafs-client/setup.yaml
post-run: playbooks/publish/wheel-mirror.yaml
final: true
secrets:
@ -1130,6 +1133,7 @@
parent: build-wheel-mirror-ubuntu-xenial-arm64
description: |
Publish Ubuntu Xenial ARM64 wheels for OpenStack CI mirrors.
pre-run: playbooks/openafs-client/setup.yaml
post-run: playbooks/publish/wheel-mirror.yaml
final: true
secrets: