Deploy hubots from Gitea repos #320
| @ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org' | ||||
| license          'MIT' | ||||
| description      'Configures Kosmos chat bots' | ||||
| long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||||
| version          '0.1.2' | ||||
| version          '0.2.0' | ||||
| 
 | ||||
| depends 'kosmos-nodejs' | ||||
| depends 'kosmos-redis' | ||||
|  | ||||
| @ -2,8 +2,6 @@ | ||||
| # Cookbook Name:: kosmos-hubot | ||||
| # Recipe:: _user | ||||
| # | ||||
| # Copyright 2019, Kosmos | ||||
| # | ||||
| 
 | ||||
| group "hubot" do | ||||
|   gid 48268 | ||||
|  | ||||
| @ -2,26 +2,7 @@ | ||||
| # Cookbook Name:: kosmos-hubot | ||||
| # Recipe:: botka_freenode | ||||
| # | ||||
| # Copyright:: 2019, Kosmos Developers | ||||
| # | ||||
| # Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| # of this software and associated documentation files (the "Software"), to deal | ||||
| # in the Software without restriction, including without limitation the rights | ||||
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| # copies of the Software, and to permit persons to whom the Software is | ||||
| # furnished to do so, subject to the following conditions: | ||||
| # | ||||
| # The above copyright notice and this permission notice shall be included in | ||||
| # all copies or substantial portions of the Software. | ||||
| # | ||||
| # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
| # THE SOFTWARE. | ||||
| # | ||||
| 
 | ||||
| app_name  = "botka_freenode" | ||||
| app_path  = "/opt/#{app_name}" | ||||
| app_user  = "hubot" | ||||
| @ -43,7 +24,7 @@ application app_path do | ||||
|   git do | ||||
|     user       app_user | ||||
|     group      app_group | ||||
|     repository "https://github.com/67P/botka.git" | ||||
|     repository "https://gitea.kosmos.org/kosmos/botka.git" | ||||
|     revision   "master" | ||||
|   end | ||||
| 
 | ||||
|  | ||||
| @ -2,8 +2,6 @@ | ||||
| # Cookbook Name:: kosmos-hubot | ||||
| # Recipe:: default | ||||
| # | ||||
| # Copyright 2017-2018, Kosmos | ||||
| # | ||||
| 
 | ||||
| include_recipe "kosmos-nodejs" | ||||
| include_recipe "kosmos-redis" | ||||
|  | ||||
| @ -2,26 +2,6 @@ | ||||
| # Cookbook Name:: kosmos-hubot | ||||
| # Recipe:: hal8000 | ||||
| # | ||||
| # Copyright:: 2019, Kosmos Developers | ||||
| # | ||||
| # Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| # of this software and associated documentation files (the "Software"), to deal | ||||
| # in the Software without restriction, including without limitation the rights | ||||
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| # copies of the Software, and to permit persons to whom the Software is | ||||
| # furnished to do so, subject to the following conditions: | ||||
| # | ||||
| # The above copyright notice and this permission notice shall be included in | ||||
| # all copies or substantial portions of the Software. | ||||
| # | ||||
| # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
| # THE SOFTWARE. | ||||
| # | ||||
| 
 | ||||
| build_essential 'hal8000' do | ||||
|   compile_time true | ||||
| @ -50,7 +30,7 @@ application hal8000_path do | ||||
|   git do | ||||
|     user       "hubot" | ||||
|     group      "hubot" | ||||
|     repository "https://github.com/67P/hal8000.git" | ||||
|     repository "https://gitea.kosmos.org/kosmos/hal8000.git" | ||||
|     revision   "master" | ||||
|   end | ||||
| 
 | ||||
|  | ||||
| @ -2,26 +2,7 @@ | ||||
| # Cookbook Name:: kosmos-hubot | ||||
| # Recipe:: hal8000_xmpp | ||||
| # | ||||
| # Copyright:: 2019, Kosmos Developers | ||||
| # | ||||
| # Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| # of this software and associated documentation files (the "Software"), to deal | ||||
| # in the Software without restriction, including without limitation the rights | ||||
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| # copies of the Software, and to permit persons to whom the Software is | ||||
| # furnished to do so, subject to the following conditions: | ||||
| # | ||||
| # The above copyright notice and this permission notice shall be included in | ||||
| # all copies or substantial portions of the Software. | ||||
| # | ||||
| # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
| # THE SOFTWARE. | ||||
| # | ||||
| 
 | ||||
| app_name  = "hal8000_xmpp" | ||||
| app_path  = "/opt/#{app_name}" | ||||
| app_user  = "hubot" | ||||
| @ -56,7 +37,7 @@ application app_path do | ||||
|   git do | ||||
|     user       app_user | ||||
|     group      app_group | ||||
|     repository "https://github.com/67P/hal8000.git" | ||||
|     repository "https://gitea.kosmos.org/kosmos/hal8000.git" | ||||
|     revision   "master" | ||||
|   end | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user