Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Add ability to provision multiple environments. #12

Closed
jlebon opened this issue Nov 1, 2016 · 3 comments
Closed

Add ability to provision multiple environments. #12

jlebon opened this issue Nov 1, 2016 · 3 comments

Comments

@jlebon
Copy link
Collaborator

jlebon commented Nov 1, 2016

This will be relevant for e.g. clustered tests, but also in cases when one wants a toy VM they can control remotely, as is the case with the rpm-ostree vmcheck suite.

@jlebon
Copy link
Collaborator Author

jlebon commented Nov 8, 2016

Tentative spec addition:

# REQUIRED (one of 'host' or 'container' or 'cluster')
# Provision multiple hosts.
cluster:
    # REQUIRED
    # List of hosts to provision. The same keys as above are
    # accepted.
    hosts:
      # REQUIRED
      # The 'name' key is used to inject an environment
      # variable named RHCI_<name>_IP whose value is the IP
      # address of the provisioned host.
      - name: host1
        distro: centos/7/atomic
        ostree: latest
      - name: host2
        distro: fedora/24/cloud
    # OPTIONAL
    # If specified, the scripts are run on this container.
    # If omitted, the scripts are run on the first host
    # listed in the 'hosts' list.
    container:
        image: fedora:24

@cgwalters
Copy link
Member

I'm a little worried about increasing complexity here, but it seems sane to me.

@jlebon
Copy link
Collaborator Author

jlebon commented Nov 21, 2016

#15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants