Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
a08bbd6a
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a08bbd6a
编写于
1月 07, 2009
作者:
M
Mike Gunderloy
提交者:
Yehuda Katz
1月 09, 2009
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update CI configuration to reflect latest gems.
上级
dabf20d5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
28 addition
and
9 deletion
+28
-9
ci/ci_build.rb
ci/ci_build.rb
+8
-7
ci/ci_setup_notes.txt
ci/ci_setup_notes.txt
+11
-0
ci/cruise_config.rb
ci/cruise_config.rb
+2
-1
ci/geminstaller.yml
ci/geminstaller.yml
+7
-1
未找到文件。
ci/ci_build.rb
浏览文件 @
a08bbd6a
...
...
@@ -23,6 +23,7 @@
build_results
[
:activesupport
]
=
system
'rake'
end
rm_f
"
#{
root_dir
}
/activerecord/debug.log"
cd
"
#{
root_dir
}
/activerecord"
do
puts
puts
"[CruiseControl] Building ActiveRecord with MySQL"
...
...
@@ -37,13 +38,12 @@
build_results
[
:activerecord_postgresql8
]
=
system
'rake test_postgresql'
end
# Sqlite2 is disabled until tests are fixed
# cd "#{root_dir}/activerecord" do
# puts
# puts "[CruiseControl] Building ActiveRecord with SQLite 2"
# puts
# build_results[:activerecord_sqlite] = system 'rake test_sqlite'
# end
cd
"
#{
root_dir
}
/activerecord"
do
puts
puts
"[CruiseControl] Building ActiveRecord with SQLite 2"
puts
build_results
[
:activerecord_sqlite
]
=
system
'rake test_sqlite'
end
cd
"
#{
root_dir
}
/activerecord"
do
puts
...
...
@@ -59,6 +59,7 @@
build_results
[
:activemodel
]
=
system
'rake'
end
rm_f
"
#{
root_dir
}
/activeresource/debug.log"
cd
"
#{
root_dir
}
/activeresource"
do
puts
puts
"[CruiseControl] Building ActiveResource"
...
...
ci/ci_setup_notes.txt
浏览文件 @
a08bbd6a
...
...
@@ -54,10 +54,14 @@ ci ALL=NOPASSWD: /usr/local/bin/geminstaller, /usr/local/bin/ruby, /usr/loc
* Install/setup nginx:
$ sudo aptitude install nginx
$ sudo vi /etc/nginx/sites-available/default
# Change server_name entry to match server name
# comment two lines and add one to proxy to ccrb:
# root /var/www/nginx-default;
# index index.html index.htm;
proxy_pass http://127.0.0.1:3333;
# also comment default locations for /doc and /images
$ sudo /etc/init.d/nginx start
* Add project to cruise (It will still fail until everything is set up):
...
...
@@ -101,6 +105,13 @@ $ sudo aptitude install sqlite sqlite3 libsqlite-dev libsqlite3-dev
$ sudo aptitude install postgresql postgresql-server-dev-8.3
$ sudo su - postgres -c 'createuser -s ci'
* Install fcgi libraries
$ sudo apt-get install libfcgi-dev
* Install memcached and start for first time (should start on reboot automatically)
$ sudo aptitude install memcached
$ sudo /etc/init.d/memcached start
* Install and run GemInstaller to get all dependency gems
$ sudo gem install geminstaller
$ cd ~/.cruise/projects/rails/work
...
...
ci/cruise_config.rb
浏览文件 @
a08bbd6a
Project
.
configure
do
|
project
|
project
.
build_command
=
'ruby ci/ci_build.rb'
project
.
email_notifier
.
emails
=
[
'thewoolleyman@gmail.com'
,
'michael@koziarski.com'
,
'david@loudthinking.com'
,
'jeremy@bitsweat.net'
,
'josh@joshpeek.com'
,
'pratiknaik@gmail.com'
]
project
.
email_notifier
.
emails
=
[
'thewoolleyman@gmail.com'
]
# project.email_notifier.emails = ['thewoolleyman@gmail.com','michael@koziarski.com', 'david@loudthinking.com', 'jeremy@bitsweat.net', 'josh@joshpeek.com', 'pratiknaik@gmail.com', 'wycats@gmail.com']
project
.
email_notifier
.
from
=
'thewoolleyman+railsci@gmail.com'
end
ci/geminstaller.yml
浏览文件 @
a08bbd6a
...
...
@@ -2,13 +2,19 @@
gems
:
-
name
:
geminstaller
version
:
>
=
0.4.3
-
name
:
fcgi
version
:
>
=
0.8.7
-
name
:
memcache-client
version
:
>
=
1.5.0
-
name
:
mocha
version
:
>
=
0.9.
0
version
:
>
=
0.9.
4
-
name
:
mysql
#version: >= 2.7
version
:
=
2.7
-
name
:
postgres
version
:
>
=
0.7.9.2008.01.28
-
name
:
rack
version
:
'
~>
0.9.0'
-
name
:
rake
version
:
>
=
0.8.1
-
name
:
sqlite-ruby
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录