archs: add files for each known architecture

So that they can be prepend to teuthology-suite to run a job on a
designated architecture.

Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
Loic Dachary 2016-03-25 14:49:52 +01:00
parent fcde1f6b9f
commit 40277ca6a9
8 changed files with 12 additions and 2 deletions

1
archs/arm64.yaml Normal file
View File

@ -0,0 +1 @@
arch: arm64

1
archs/armv7.yaml Normal file
View File

@ -0,0 +1 @@
arch: armv7l

1
archs/i686.yaml Normal file
View File

@ -0,0 +1 @@
arch: i686

1
archs/x86_64.yaml Normal file
View File

@ -0,0 +1 @@
arch: x86_64

View File

@ -0,0 +1,3 @@
os_type: ubuntu
os_version: "14.04"
arch: arm64

View File

@ -0,0 +1,3 @@
os_type: ubuntu
os_version: "14.04"
arch: i686

View File

@ -1,4 +1,4 @@
# --suite buildpackages/tests --ceph v10.0.1 --filter centos_7,ubuntu_14.04
# --suite buildpackages/tests --ceph v10.0.1 --filter centos_7.2,ubuntu_14.04
overrides:
ansible.cephlab:
playbook: users.yml

View File

@ -145,7 +145,7 @@ def task(ctx, config):
d = os.path.join(os.path.dirname(__file__), 'buildpackages')
os_type = misc.get_distro(ctx)
os_version = misc.get_distro_version(ctx)
arch = ctx.config.get('arch', 'x86_64')
arch = ctx.config.get('arch', OpenStack().get_default_arch())
dist = LocalGitbuilderProject()._get_distro(distro=os_type,
version=os_version)
pkg_type = get_pkg_type(os_type)