Comment 0 for bug 1524043

Revision history for this message
Ryan Beisner (1chb1n) wrote : specs need be to able to pivot on different openstack-origin values

Specs need be to able to pivot on different openstack-origin values.

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

In non-spec 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