Commit Graph

763 Commits

Author SHA1 Message Date
Anton Chuchkalov
a96ea68922 change subject with named let) 2016-01-20 13:13:49 +03:00
Anton Chuchkalov
f4d13ce19f add specs for ServerExecutor#unbootstrap 2016-01-20 13:13:49 +03:00
Anton Chuchkalov
ee9605fc4d introduced ExpirationScheduler 2016-01-20 13:13:48 +03:00
Anton Chuchkalov
2055d8bd36 move core ext files into separate dir 2016-01-19 18:11:07 +03:00
Anton Chuchkalov
83cbfd7a48 move string helper methods to core extensions 2016-01-19 18:10:51 +03:00
Anton Chuchkalov
87811cca25 move users permissions updater to another dir 2016-01-19 17:45:51 +03:00
Anton Chuchkalov
5b364ea41b add specs for ServerExecutor#report=, project= and expiration scheduling 2016-01-19 17:44:10 +03:00
Anton Chuchkalov
48572f6875 add specs for ServerExecutor#add_run_list_to_deploy_info and #compute_run_list 2016-01-19 17:03:33 +03:00
Anton Chuchkalov
db1ccc2e33 add specs for ServerExecutor#delete_server and #roll_back 2016-01-19 17:03:33 +03:00
Anton Chuchkalov
a88fa8e2f6 rename return_codes to error_codes 2016-01-19 14:29:34 +03:00
Anton Chuchkalov
f46feedcbe add missing spec for Server.build_from_bson method 2016-01-19 14:18:50 +03:00
Anton Chuchkalov
33b460d50b add specs for ServerExecutor#deploy 2016-01-19 13:36:29 +03:00
Anton Chuchkalov
170863809f add specs 2016-01-18 14:35:09 +03:00
Anton Chuchkalov
1aed2cf1c9 fix constant name 2016-01-14 14:59:44 +03:00
Anton Chuchkalov
a1d987d7e1 fix project creating bug 2016-01-14 14:17:19 +03:00
Anton Chuchkalov
70df08c23f Merge branch 'setting_ip_to_nodes' into features 2016-01-13 15:03:20 +03:00
Anton Chuchkalov
0dbd75631d add private_ip parameter to docs 2016-01-13 15:02:55 +03:00
Anton Chuchkalov
cb520d0128 Merge branch 'storing_templates_in_s3' into features 2016-01-13 14:57:29 +03:00
Anton Chuchkalov
3c5362c7fd set more semantic name for uploading stack template method 2016-01-13 14:57:01 +03:00
Anton Chuchkalov
7b0a9be4dc Merge branch 'setting_ip_to_nodes' into features 2016-01-13 14:24:31 +03:00
Anton Chuchkalov
8b0b1f9e11 add possibility to manually set private ip to created instances 2016-01-13 14:02:32 +03:00
Anton Chuchkalov
3d969ef457 Merge branch 'permit_parenthesis_in_images_names' into features 2016-01-13 13:07:09 +03:00
Anton Chuchkalov
756d7b8d1c permit all symbols in image name 2016-01-12 12:01:07 +03:00
Anton Chuchkalov
ac5b9fd4ac add specs for ServerExecutor#two_phase_bootstrap 2015-12-29 16:10:05 +03:00
Anton Chuchkalov
cf19294772 add specs for ServerExecutor#bootstrap 2015-12-28 13:07:13 +03:00
Anton Chuchkalov
7273228833 add specs for ServerExecutor#create_server 2015-12-24 19:51:52 +04:00
Anton Chuchkalov
799961b361 Merge branch 'specs' of git.stu.neva.ru:cloudtechlab/devops-service into specs 2015-12-24 12:08:43 +03:00
Anton Chuchkalov
fe81076887 start server executor specs 2015-12-21 19:23:17 +04:00
amartynov
3942ac59bb Merge branch 'net_ssh' into bug_fix 2015-12-21 16:08:47 +03:00
amartynov
0c6d07b606 ssh command changed to net/ssh lib 2015-12-21 16:07:52 +03:00
Anton Chuchkalov
3f2762a15c Merge branch 'storing_templates_in_s3' into features 2015-12-21 14:06:00 +04:00
Anton Chuchkalov
089420e186 Merge branch 'neb_3148_unbootstrap_problems' into features 2015-12-21 14:05:42 +04:00
Anton Chuchkalov
fe2b99b80f Revert "Unbootstrap: delete node from chef server only if /etc/chef directory was successfully moved"
This reverts commit 57f5bf0f2e.
2015-12-21 14:04:39 +04:00
Anton Chuchkalov
fae0c54b4b fix specs 2015-12-21 13:59:28 +04:00
Anton Chuchkalov
4032aaefa4 Merge remote-tracking branch 'origin/storing_templates_in_s3' into features 2015-12-21 13:20:54 +04:00
Anton Chuchkalov
d22982d456 Merge branch 'neb_3148_unbootstrap_problems' into features 2015-12-18 19:31:42 +04:00
Anton Chuchkalov
57f5bf0f2e Unbootstrap: delete node from chef server only if /etc/chef directory was successfully moved 2015-12-18 18:35:12 +04:00
Anton Chuchkalov
1cc6fb3e78 change default bucket name 2015-12-15 19:53:09 +03:00
Anton Chuchkalov
22ad5e2b98 fix 2015-12-15 19:36:33 +03:00
Anton Chuchkalov
b46dffe3fc storing templates in s3 2015-12-15 18:56:14 +03:00
Anton Chuchkalov
9aaa66e7c6 finish provider_account connector spec 2015-12-15 15:49:23 +03:00
Anton Chuchkalov
ba25c41082 add coverage tool 2015-12-14 17:27:07 +04:00
Anton Martynov
0bf0c6d713 without aws stack template validation 2015-12-11 13:15:36 +03:00
Anton Chuchkalov
062aebe5f2 start writing provider_accounts_connector specs 2015-12-10 18:47:36 +04:00
Anton Chuchkalov
1e069445b8 Merge branch 'specs' into features 2015-12-10 12:33:37 +03:00
Anton Chuchkalov
3616162b75 specs refactoring 2015-12-10 12:33:14 +03:00
Anton Chuchkalov
35c5d180f6 Merge branch 'specs' into features 2015-12-08 16:39:52 +03:00
Anton Chuchkalov
e70ff0b832 add specs for provider accounts; find bug with providers 2015-12-08 16:36:16 +03:00
Anton Chuchkalov
a19ca959df complete project specs 2015-12-08 16:35:53 +03:00
amartynov
2f0f753a03 Merge branch 'features' of http://git.stu.neva.ru/cloudtechlab/devops-service into features 2015-12-07 15:32:58 +03:00
amartynov
cc8b436c3d Merge branch 'qa' into cid-36 2015-12-07 14:15:41 +03:00
amartynov
47d521870e cid-36 2015-12-07 14:14:10 +03:00
Anton Chuchkalov
2825eee48e more specs 2015-12-07 13:04:35 +03:00
Anton Chuchkalov
1933e25925 Add specs for several project model methods:
add_authorized_user
remove_authorized_user
check_authorization
delete_deploy_env
to_hash
2015-12-05 12:34:13 +03:00
Anton Chuchkalov
c320edaa71 add few project specs 2015-12-05 12:34:12 +03:00
Anton Chuchkalov
1b66ca88ad update specs for new name validation rules 2015-12-05 12:34:12 +03:00
Anton Chuchkalov
82ad9cac0d add specs config 2015-12-05 12:34:12 +03:00
Anton Chuchkalov
b65dca60a9 specs for several connectors 2015-12-05 12:34:12 +03:00
Anton Chuchkalov
e23f78caeb update field validators in stacks, stack_templates and cloud deploy envs 2015-12-05 12:34:04 +03:00
Anton Chuchkalov
2ffa331e59 update validators in stacks 2015-12-04 12:43:07 +03:00
Tim Lianov
9336ba464b Merge branch 'features' of /home/git/repositories/cloudtechlab/devops-service into qa 2015-12-03 21:36:25 +04:00
amartynov
4ada1f5e73 Merge branch 'cid-10' into features 2015-12-03 16:46:34 +03:00
amartynov
82b766e6ba Merge branch 'stack_servers' into features 2015-12-03 16:45:13 +03:00
Anton Chuchkalov
2a31ea0b01 give all users permission to create instances in sandboxes 2015-12-03 17:18:44 +04:00
amartynov
41b4fa8373 Merge branch 'features' of http://git.stu.neva.ru/cloudtechlab/devops-service into features 2015-12-03 12:22:59 +03:00
amartynov
63a4dea884 Merge branch '#868' into features 2015-12-03 12:22:39 +03:00
amartynov
83f026e88a CID-15: fixed 2015-12-03 12:18:54 +03:00
amartynov
3610bd2064 CID-10: added '-' to name values 2015-12-01 17:16:11 +03:00
Anton Chuchkalov
bc1aa956f2 add rspec junit formatter to Gemfile 2015-12-01 16:16:40 +03:00
Anton Chuchkalov
98dcbfb996 make report specs local timezone agnostic 2015-12-01 16:16:31 +03:00
Anton Chuchkalov
4e6e634e4a update image specs 2015-12-01 16:15:56 +03:00
Anton Chuchkalov
bbb27805a9 fix verb in comments 2015-12-01 16:13:02 +03:00
Anton Chuchkalov
c0846a50da proper error message 2015-12-01 16:12:04 +03:00
amartynov
96dbbccad1 stack: servers log info 2015-11-30 12:27:34 +03:00
Anton Martynov
a6a611291c Merge branch 'features' into qa 2015-11-27 15:20:15 +03:00
Anton Martynov
fb6eb62063 image remote_user: new validator 2015-11-27 15:11:12 +03:00
Tim Lianov
b32b39545d Merge branch 'features' of /home/git/repositories/cloudtechlab/devops-service into qa 2015-11-26 19:32:19 +04:00
Anton Martynov
8fbb8ff317 Merge branch '#840' into features 2015-11-26 16:51:07 +03:00
Anton Chuchkalov
35d871fb3f Merge branch 'bug_fix' of git.stu.neva.ru:cloudtechlab/devops-service into bug_fix 2015-11-25 18:09:25 +03:00
Anton Chuchkalov
ce5b72c897 don't try to create create role messages if roles is nil 2015-11-25 18:07:06 +03:00
amartynov
52afa13918 #899: fixed 2015-11-25 12:39:01 +03:00
Anton Chuchkalov
424a3b19e2 Merge branch 'features' of git.stu.neva.ru:cloudtechlab/devops-service into features 2015-11-23 17:26:20 +03:00
Anton Chuchkalov
a2d9e57d09 #648: store last server operation as subhash 2015-11-23 17:21:55 +03:00
amartynov
f6085e67c8 Merge branch 'features' of http://git.stu.neva.ru/cloudtechlab/devops-service into features 2015-11-23 16:34:14 +03:00
amartynov
6f3862f822 Merge branch '#879' into features 2015-11-23 16:32:50 +03:00
amartynov
c7307a339f #879: tags methods 2015-11-23 14:55:53 +03:00
Anton Chuchkalov
39a8ff0eae Fix errors occured after cherry-picking squashed specs
This reverts commit ee3b49bbea80db0a66eb3c8f116dcf100ff4a402.
2015-11-20 15:28:23 +03:00
Anton Chuchkalov
65b2e02fe9 Set up rspec, add specs for models 2015-11-20 15:14:59 +03:00
Anton Martynov
e81bc64130 #840: chef_environment support 2015-11-20 12:04:59 +03:00
amartynov
e6903adb92 #868: validation order 2015-11-19 14:09:38 +03:00
Anton Chuchkalov
391f2add9c fix params filtering in StackEc2#update_in_cloud! 2015-11-18 22:45:39 +03:00
Anton Chuchkalov
1166e5a90c 813: add ability to change stack's stack_template 2015-11-17 18:21:52 +03:00
amartynov
17f7812d65 #868: fixed error with networks for static provider 2015-11-17 17:38:58 +03:00
amartynov
2611f5bb7c Merge branch 'features' of http://git.stu.neva.ru/cloudtechlab/devops-service into features 2015-11-17 17:09:44 +03:00
amartynov
7595f05709 #891: done 2015-11-17 16:46:30 +03:00
amartynov
abc03bcae3 #891: done 2015-11-17 16:30:56 +03:00
amartynov
ceacf07594 #891: for testing 3 2015-11-17 16:21:28 +03:00
amartynov
e4f7f387f3 #891: for testing 2 2015-11-17 14:57:15 +03:00
amartynov
c0b932e749 #891: for test 2015-11-17 14:43:23 +03:00
amartynov
645e0cbf24 #891: events output to log 2015-11-17 14:24:55 +03:00
amartynov
126caa2682 #891: create stack events 2015-11-17 13:23:13 +03:00
amartynov
c671e7ed54 #868: vpc support 2015-11-17 12:14:02 +03:00
Anton Chuchkalov
cf8a340447 fix bootstraping error 2015-11-13 19:12:28 +03:00
Anton Chuchkalov
df38e86117 #871: ability to delete all project servers 2015-11-13 18:45:43 +03:00
Anton Chuchkalov
c0d2912fb0 Merge branch 'bug_fix' of git.stu.neva.ru:cloudtechlab/devops-service into bug_fix 2015-11-12 19:43:22 +03:00
Anton Martynov
0b3b10e1df #840: remove json_file from deploy_info 2015-11-11 14:35:27 +03:00
amartynov
2bbe07d8c0 fixed deploy_env in project servers 2015-11-10 17:06:25 +03:00
amartynov
15cf713815 Merge branch 'features' of http://git.stu.neva.ru/cloudtechlab/devops-service into features 2015-11-10 12:26:11 +03:00
amartynov
0e5237f4d2 Merge branch '#855' into features 2015-11-10 12:18:15 +03:00
amartynov
c0d1afb148 Merge branch '#853' into features 2015-11-10 12:15:57 +03:00
amartynov
9dbeacb7d6 Merge branch '#840' into features 2015-11-10 12:15:47 +03:00
amartynov
5bd098c818 version: 2.3.2 2015-11-10 11:38:04 +03:00
amartynov
7c8122eb11 #853: fixed (#866) 2015-11-10 11:31:21 +03:00
Anton Chuchkalov
d64bb32ed7 #648: track server's last operation 2015-11-09 19:06:59 +03:00
amartynov
74a9530888 #840: new deploy_info parameter 'json_file' 2015-11-06 16:11:28 +03:00
amartynov
84822598a2 #840: some logs 2015-11-06 14:00:24 +03:00
amartynov
daaa73b8f4 #840: additional log 2015-11-06 13:53:52 +03:00
amartynov
e26fa71311 #840: two_phase_bootstrap option :deploy_info to override project deploy_info 2015-11-06 12:52:31 +03:00
amartynov
6fd7275f2e #855: cid:priority tag to integer 2015-11-06 11:55:36 +03:00
amartynov
034018fb42 #855: some fixes 2015-11-05 16:47:12 +03:00
Anton Martynov
da2a68f451 #855: cid:priority 2015-11-03 13:08:31 +03:00
Anton Martynov
2f2f446def #856: subreports for stack reports 2015-11-03 12:05:07 +03:00
amartynov
5549b028c4 #789: validation 2015-11-02 17:33:25 +03:00
amartynov
57f545d109 Merge branch 'qa' into #789 2015-11-02 13:35:16 +03:00
amartynov
45ede3d962 #853: server deploy command 2015-11-02 13:09:53 +03:00
amartynov
d2bbe96f16 #840: fixed 2015-11-02 11:43:57 +03:00
amartynov
8d0cd797a2 #789: account fields 2015-11-02 11:42:20 +03:00
Anton Martynov
4800efc987 fixed access.log 2015-10-31 17:57:55 +03:00
amartynov
9b1ee779ee Merge branch 'features' into qa 2015-10-29 13:31:14 +03:00
amartynov
b2ce124598 Merge branch '#789' into features 2015-10-29 13:30:57 +03:00
amartynov
f452b1aa32 #789: configured only providers 2015-10-29 13:30:34 +03:00
amartynov
c64a39b798 Merge branch 'qa' of http://git.stu.neva.ru/cloudtechlab/devops-service into qa 2015-10-29 12:58:03 +03:00
amartynov
7aaed3a4e2 Merge branch '#789' into features 2015-10-29 12:56:14 +03:00
amartynov
4fdde73a5d #789: bootstrap: waiting for 5 min 2015-10-29 12:01:35 +03:00
Anton Martynov
f92eca17b2 Merge branch '#789' of git.stu.neva.ru:cloudtechlab/devops-service into #789 2015-10-28 21:55:11 +03:00
amartynov
04646a7430 #789: add account in runtime 2015-10-28 17:27:02 +03:00
amartynov
8d145c10b4 #789: account must use existing key 2015-10-28 16:28:48 +03:00
amartynov
adb20343f6 #789: done 2015-10-28 14:16:56 +03:00
Anton Martynov
55f980dc58 Merge branch 'qa' of git.stu.neva.ru:cloudtechlab/devops-service into qa 2015-10-27 14:05:03 +03:00
Tim Lianov
b7dde52459 Merge branch 'features' of /home/git/repositories/cloudtechlab/devops-service into qa 2015-10-27 16:26:04 +04:00
Tim Lianov
f10a496d9c Merge branch 'bug_fix' of /home/git/repositories/cloudtechlab/devops-service into qa 2015-10-27 16:23:47 +04:00
Anton Martynov
0d60387610 Merge branch 'fix_message' into bug_fix 2015-10-27 14:02:50 +03:00
Anton Martynov
edbbe2baf4 fixed 2015-10-27 14:00:28 +03:00
Anton Martynov
c8ceedbaf7 #789: delete account 2015-10-27 13:45:25 +03:00
Anton Martynov
31214f36ac #789: group, flavor, network 2015-10-27 12:55:51 +03:00
Anton Martynov
2dbc20a47f #789: create server and stack with provider account 2015-10-27 12:01:21 +03:00
amartynov
80b22f8a4d #789: providers accounts factories 2015-10-26 17:14:48 +03:00
amartynov
e2d49e066f #789: todo 2015-10-26 16:20:05 +03:00
amartynov
02cf7427cf #840: some small fixes 2015-10-26 14:51:25 +03:00
amartynov
02e4ae88d8 #840: convert config in worker instance 2015-10-26 13:27:14 +03:00
amartynov
f6b0aa6a89 #840: test 2 2015-10-26 13:16:32 +03:00
amartynov
708a1741dc #840: convert_config is static now 2015-10-26 12:56:50 +03:00
amartynov
a3cb07ab5c #840: worker options keys to symbols 2015-10-26 12:50:31 +03:00
amartynov
8af43f658d #840: test 2015-10-26 12:39:54 +03:00
amartynov
71f0eb779b #\789: add provider account without validation 2015-10-26 12:04:01 +03:00
Anton Chuchkalov
3c3f0d1015 #740: remove validation of subnet presence 2015-10-23 22:07:12 +03:00
Anton Chuchkalov
a3247d358f #782: returns deploy_envs in query 2015-10-23 21:17:20 +03:00
amartynov
1805f8d65c #840: some changes 2015-10-23 17:14:52 +03:00
amartynov
ca21238de2 #840: refactored 2015-10-23 14:54:56 +03:00
Tim Lianov
b5fe87283b Merge branch 'bug_fix' into qa 2015-10-22 13:53:55 -04:00
amartynov
9574b710b2 #839: strip cmd output 2015-10-22 16:52:31 +03:00
amartynov
0a5d37fa4f #839: fixed 2015-10-22 16:23:01 +03:00
amartynov
057fd8804a #839: fixed ssh command 2015-10-22 15:53:27 +03:00
amartynov
5aa65021b4 #839: check if /etc/chef exists 2015-10-22 15:39:27 +03:00
amartynov
c0dcc52684 Merge branch 'bug_fix' of http://git.stu.neva.ru/cloudtechlab/devops-service into bug_fix 2015-10-22 15:18:49 +03:00
amartynov
d49c49d9f0 #819: name -> id 2015-10-22 14:33:31 +03:00
amartynov
e0dd85d9b2 #819: fixed project name 2015-10-22 14:07:58 +03:00
amartynov
cda1d937c4 #839: unbootstrap command 2015-10-22 13:56:16 +03:00
amartynov
68a7666761 #789: provider accounts list 2015-10-22 12:39:22 +03:00
Anton Chuchkalov
48f8812e29 #838: fix error in devops client related to deploy_envs deleting 2015-10-21 15:00:51 +03:00
Anton Chuchkalov
ae667301db #837: change env renaming error messages 2015-10-21 14:39:18 +03:00
Anton Chuchkalov
7f676f18e9 rename file with DevopsError 2015-10-21 14:39:15 +03:00
amartynov
3d21cbfb41 #819: added 'projects' object into response 2015-10-20 16:12:50 +03:00
amartynov
d5c1f5fb19 Merge branch '#826' into bug_fix 2015-10-20 14:11:09 +03:00
amartynov
dfb4e9bcbb #826: catch KnifeConfigError 2015-10-20 14:09:57 +03:00
amartynov
b70165c3b4 \#780: done
fixed role name

new field validators

without validate fields types

fixed error with user parser

todo: project tests

returned  some tests, users fixed

some more tests: filters

images tests

network tests

keys tests

test generator

fixed run_list validator
2015-10-20 13:36:44 +03:00
Anton Chuchkalov
264e651f64 Merge branch '#778' into qa 2015-10-13 12:35:41 +03:00
Anton Chuchkalov
a9a70e8375 fix bug with changing user password and email 2015-10-12 17:21:16 +03:00
Anton Chuchkalov
6a46eb3c2f #778: return error on attempt of creating duplicating users 2015-10-12 16:58:23 +03:00
amartynov
8ae5fa635e #824: added bootstrap template to stack servers bootstrap command 2015-10-12 11:58:24 +03:00
amartynov
86aaaaf1b8 #824: fixed. Added encoding with replace invalid symbols 2015-10-09 16:27:47 +03:00
amartynov
753aeaf281 patch -> put 2015-10-09 15:08:39 +03:00
amartynov
b984d128f0 fixed method name 2015-10-09 15:02:20 +03:00
amartynov
d250dcf1e5 #826: knife config error 2015-10-09 15:00:21 +03:00
amartynov
2c3d9b99c5 fixed roles response 2015-10-09 14:09:37 +03:00
amartynov
1feedb5c9e archive server private key must be an absolute path 2015-10-06 13:36:24 +03:00
amartynov
9d539d59d0 Merge branch 'features' into dev 2015-10-06 12:45:26 +03:00
amartynov
daf6ac639c fixed 2015-10-06 12:45:08 +03:00
amartynov
68c0d8d011 Merge branch 'features' into dev 2015-10-05 16:27:48 +03:00
amartynov
d906ae1fe6 access logger, done, without remote_user 2015-10-05 16:27:23 +03:00
amartynov
1472a905df Merge branch 'features' into dev 2015-10-05 16:21:06 +03:00
amartynov
a9df8f9a20 log format test 2015-10-05 16:20:56 +03:00
amartynov
202143aa31 Merge branch 'features' into dev 2015-10-05 15:35:01 +03:00
amartynov
17dc96542e fixed format 2015-10-05 15:34:48 +03:00
amartynov
82cf66480f Merge branch 'features' into dev 2015-10-05 15:30:57 +03:00
amartynov
d21b381553 fixed 2015-10-05 15:30:46 +03:00
amartynov
eed78d077d Merge branch 'features' into dev 2015-10-05 15:27:18 +03:00
amartynov
97e903e5e1 new access logger 2015-10-05 15:27:06 +03:00
amartynov
f256b6545f #780: add new project environment path 2015-10-05 14:54:47 +03:00
amartynov
03e3b16aca #810: fixed ssh commands 2015-10-05 13:39:29 +03:00