Commit Graph

34 Commits

Author SHA1 Message Date
Michal Rostecki e10422e812 Add *egg/ directories to .gitignore
Pip created *egg directory when using it with -e option.

TrivialFix

Change-Id: I21d4dba90ea90f8799a317637aa143338c59d106
2016-04-27 12:21:19 +02:00
Bogdan Dobrelya 542a359af2 Add vbox/qemu packer build for centos7
Rename the cloud_archive task to uca/rdo tasks for ubuntu/centos
Rename the worker_upstrart task to the worker
Rework the OSTYPE env var to "when: ansible_os_family"

TODO
* PXE (PREPROVISIONED=false) to be working for centos as well
* pygraphviz for centos7, see also https://bugs.launchpad.net/fuel/+bug/1510884
* fix ubuntu only compatible examples, for example riak cluster deploy

Closes-bug: 1553988

Change-Id: Iab130c3c79b3db99deb14ea50572c073532f4694
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-16 11:41:15 +01:00
Bogdan Dobrelya db632b5279 Add troubleshooting to the development guide
Also clarify user "$" or root "#" modes for
shell snippets

Change-Id: Ic5e413b8bcc3788a630452e9ce981229da23dac7
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-02 12:15:58 +01:00
Bogdan Dobrelya fb3cca010f Add tox checkniceness,checksyntax for docs
* Add tox -e checkniceness and tox -e checksyntax to
make the docs almost perfect.
* Make tox -e docs task to call check* tasks as well
* Sanitize dependency install for separate tasks:
  - docs, do not install non related eggs from test-requirements
  - check*, install only required eggs as well
* Use whitelist_externals for the /bin/rm to remove warnings

Note, this change doesn't affect the time of py27/pep8 tasks
executuion!

Change-Id: I2d8ea9f8763fef06935c063f6564a9b239c31caf
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-01-21 11:03:56 +01:00
Jedrzej Nowak 4060b36fed Moved examples, resources and templates
new location is https://github.com/Mirantis/solar-resources,
later will be changed to openstack one.
- vagrant stuff assumes that solar-resources is cloned into /vagrant/solar-resources
- adjusted docker compose file
- added solar-resources to .gitignore

Change-Id: If2fea99145395606e6c15c9adbc127ecff4823f9
2016-01-13 13:33:02 +01:00
Łukasz Oleś d965a988c1 Refactor VirtualResources
- rename VirtualResource to Composer
- rename event parameter depend_action to child_action
- rename values parameter to input

Closes-bug: #1526780

Change-Id: Ib974e14ff4bda44c2d7d991f62aa4a06dea160ea
2015-12-29 16:50:46 +01:00
Łukasz Oleś d9e17b4468 Fix playbooks after recent changes:
- create dir if it doesn't exist
- set env for new config paths. Defaults from config.py were removed

Change-Id: I580def8813595ffe18160f44894acf458f0d655a
2015-12-21 17:59:34 +01:00
Dmitry Shulyak f578a3f35c Add docs generated by sphinx 2015-11-26 15:25:17 +02:00
Łukasz Oleś 3443d75ef7 Ignore testrepository dir and fix coverage path 2015-11-25 16:02:39 +01:00
Dmitry Shulyak db0e788197 Rewrite config using dotted dict object and add loading from files 2015-11-17 15:44:42 +02:00
Dmitry Shulyak d6e4e73d62 Add *.svg to gitignore 2015-10-30 15:08:28 +02:00
Jedrzej Nowak 51dd13c44b removed pytest cache 2015-10-14 10:54:51 +02:00
Łukasz Oleś 004030b5ca Add coverage dir to .gitignore 2015-09-25 10:14:42 +02:00
Dmitry Shulyak d6adc7ad06 Add tox.ini 2015-09-23 16:19:44 +03:00
Dmitry Shulyak f0ccbb39d7 Fix build_edges routing to take into account order between events
- Previously order between events for same resource wasnt used
- Unit test that shows this behaviour will be made green
2015-09-21 10:29:55 +03:00
Łukasz Oleś 9a55545c36 Add vagrant-settings.yaml to .gitignore 2015-09-16 11:55:47 +02:00
Przemyslaw Kaminski c60b13794d Add bootstrap/packer_cache to .gitignore 2015-09-03 15:28:55 +02:00
Dmitry Shulyak f1ddb454a1 Add example-lxc.py and several fixes 2015-09-03 12:47:40 +03:00
Dmitry Shulyak ef0f555d85 Add .solar_cli_uids to .gitignore 2015-09-03 12:35:06 +03:00
Jedrzej Nowak fe84ce4948 Added vagrant-settings.yml to gitignore 2015-09-02 10:00:42 +02:00
Przemyslaw Kaminski 79d91f5be2 Solar bootstarpping playbooks & packer.io guide 2015-08-06 10:57:48 +02:00
Bogdan Dobrelya 952024df86 Add resources_compiled.py to gitignore
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-07-16 14:09:19 +02:00
Bogdan Dobrelya b183326774 Puppet handler fixes
* do not use /tmp/puppet-modules, use /etc/puppet instead.
  /tmp/ is not persistent and being erased on each reboot.
* fix puppet 4.x paths compatibility
* pin to openstack-keyston version 5.1.0 instead of stable/juno

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-07-16 14:09:19 +02:00
Dmitry Shulyak 508a4ec9a3 Add celery.yml playbook to configure celery
On solar-dev setup 2 workers:
1. Listens to celery,scheduler and celery,solar-dev
On solar-dev1/solar-dev2
2. Listens only to celery,<hostname>
2015-07-10 13:36:20 +03:00
Dmitry Shulyak 47ca8c8fdf Add several examples and improvements to orchestration
- Added example.py converted to plan description
- Added error message
- Plan can be printed as dot/png graph
- Added TODO
2015-07-10 13:36:20 +03:00
Przemyslaw Kaminski c394ea560e Merge branch 'master' into redis-proxied-resource 2015-06-12 09:39:12 +02:00
Dmitry Shulyak 831ab2e08b Create resource for tests 2015-06-11 12:57:46 +03:00
Przemyslaw Kaminski a0450818fd Removed print's, added logging 2015-06-11 11:07:33 +02:00
Dmitry Shulyak 36e3b240f9 Shortcut for commiting log items 2015-06-01 11:47:59 +02:00
Łukasz Oleś f64957b72a Rename keystone resource to keystone_service 2015-04-28 09:57:01 +00:00
Dmitry Shulyak b4ca953cd2 Add commands to work with prototype using ansible
Create two directories:

mkdir -p tmp/group_vars

Use commands to generate ansible playbook

solar -a run -r node docker docker_compose some_service

solar -a remove -r node docker docker_compose some_service

Removal will be done in reversed order
2015-04-01 17:12:39 -07:00
Evgeniy L 6081729d51 Create initial structure of the project 2015-04-01 16:09:53 -07:00
Dmitry Shulyak 77f90fa558 Original schema 2015-03-27 16:58:47 -07:00
Andrew Woodward de87eebc4d Initial commit 2015-03-27 15:54:19 -07:00