Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

feature: Static machine support #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lksv
Copy link

@lksv lksv commented Apr 30, 2015

Support tests on real machinge (no vm provisoring).

example of worker config file:

 env: linux
 queue: builds.linux.static
 linux:
   amqp:
     host: localhost
     port: 5672
     username: travisci_worker
     password: travisci_worker_password
     virtual_host: travisci.development
   vms:
     provider: static_machine
     count: 2
   static_machine:
    username: travis
    private_key_path: /path/to/kay/id_rsa
    ip: [192.168.1.100, 192.168.1.101]
    port: 22
  language_mappings:
    haskell: jvm 

Support tests on real machinge (no vm provisoring).
See config/worker.example.static_machine.yml
@lksv
Copy link
Author

lksv commented Apr 30, 2015

In case of merging #177 and this, use please 43797b0 in https://github.com/finalci/travis-worker

@joshk
Copy link
Contributor

joshk commented Apr 30, 2015

this is interesting, we had been thinking of adding something similar, but instead of connecting to a remote machine the worker would be installed on the machine itself (eg. agent mode)

i think we would be interested to merge in this, but maybe focus on the 'agent mode' approach.

also, I think it might be best to add this to travis-ci/worker, which is our new worker code base

would you be interested in porting over your changes there?

@joshk
Copy link
Contributor

joshk commented Apr 30, 2015

also, is there a particular reason you changed the license?

@lksv
Copy link
Author

lksv commented Apr 30, 2015

@joshk Agent approach is good idea.

Let me say little background of my pull requests (this previous and nexts):

I am currently working on proof of concept of extending travis to be able to run e2e tests, e.g.:

  • enable tests with restart
  • gather test results and present them (similarly as Bamboo does)
  • test on windows as well
  • add support of libvirt and vsphare
  • support test with involving more machines (e.g. ntp server and client)
  • ..and other

...currently I am working on guest API to be able to communicate from the machine under the test with the worker.
(I am open to any architecture discussion on these changes, we can discuss it via mail if you want.)

In light of e2e test this solution has advantage that the VM machine is pure.

Because of little time on proof of concept I cannot afford to rewrite this changes to travis-ci/worker now, but if the PoF will be successfull... who knows...

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