specs and amulet tests need be to able to exercise staging and proposed cloud archive pockets

Bug #1524043 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Testing
New
Undecided
Unassigned
Openstack Mojo Testing
New
Undecided
Unassigned

Bug Description

OpenStack Test Specs and Amulet Tests need to be to able to pivot on different openstack-origin values.

These env vars are already set on every run in UOSCI, an could be leveraged:

  INSTALLATION_SOURCE = default|staging|proposed (not ppa: or cloud:)

  UBUNTU_RELEASE

  OPENSTACK_RELEASE

Currently, there is no mechanism to run staging or proposed cloud archive pockets in the mojo spec tests or in amulet tests.

In non-spec and non-amulet UOSCI automation, there are already environment variables set and consumed, which are parsed into corresponding target names in the deployer bundle files.

ex:

...

trusty-liberty:
  inherits: openstack-icehouse
  series: trusty
  overrides:
    openstack-origin: cloud:trusty-liberty
    source: cloud:trusty-liberty
trusty-liberty-proposed:
  inherits: trusty-liberty
  overrides:
    openstack-origin: cloud:trusty-liberty/proposed
    source: cloud:trusty-liberty/proposed
trusty-liberty-staging:
  inherits: trusty-liberty
  overrides:
    openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
    source: ppa:ubuntu-cloud-archive/liberty-staging
...

INSTALLATION_SOURCE is the existing env var.

The value is added to ${UBUNTU_RELEASE}-${OPENSTACK_RELEASE} when != default.

Common values to handle would be:
  default
  staging
  proposed

Tags: uosci
Ryan Beisner (1chb1n)
description: updated
Revision history for this message
Ryan Beisner (1chb1n) wrote : Re: specs and amulet tests need be to able to pivot on different openstack-origin values

Helpers for OpenStack amulet tests currently do not allow passing /staging or /proposed via source or openstack-origin, due to a hard-coded version table.

http://paste.ubuntu.com/13868904/

summary: - specs need be to able to pivot on different openstack-origin values
+ specs and amulet tests need be to able to pivot on different openstack-
+ origin values
description: updated
Ryan Beisner (1chb1n)
summary: - specs and amulet tests need be to able to pivot on different openstack-
- origin values
+ specs and amulet tests need be to able to exercise staging and proposed
+ cloud archive pockets
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.