quickblox quickbuilder for android how to make your own builder [email protected] 17...
TRANSCRIPT
QuickBlox
QuickBuilderfor Android
How to make your own builder
[email protected] 17 августа 2011Игорь Хоменко@fuel_ex
QuickBlox
About
- What is it?- Who needs it? 1) Клиентам 2) Разработчикам (внутри команды)- Гибкое решение под свои нужды
QuickBlox
How it works
Server
User- Checkoutsrc- build apk- store apk
info:1)Path to project (VCS)2)Login/password
link to apk file
1) VCS info: debug build2) +Signing info: release build
QuickBlox
Principle of queue (1)
Server
User
building
request
ready apk
task 3task 3
task 2task 2
task 1task 1
QuickBlox
Task’s status
1)Waiting in queue2)Checkouting3)Prepare to build4) Building5) Complete
QuickBlox
Преимущества данного подхода
1) Время, требуемое на билдинг2) Отвязка от текущего места. Возможность использовать результаты в любом месте3) Регулирование количества параллельных билдингов в зависимости от возможностей сервера
QuickBlox
Principle of queue (2)
Server
building
request from user 1
response to user 1
task ntask n
task 2task 2
task 1task 1
request from user 2
…request from user n …
response to user 2
…response to user n
QuickBlox
Tasks manager
- Интерфейс к серверу (* * * * * /usr/bin/pythonabuilder/manage.pybuild_apk)-Опрос базы заявок- Алгоритм постановки заявки на выполнение
cron
QuickBlox
Tools
1) Android SDK - android list targets
- android update
2) Ant: To compile and build your Android project into an installable .apk file
- ant debug - ant release
QuickBlox
Full structure
Server
DB
cron
build
Web interface
User-checkout-android update-Ant debug/ant release
QuickBlox
User profiles organization
User profile
Tasks statuses
Management
Server
……
User interface
QuickBlox
ExampleQuickBlo
x
Other solutions
QuickBlox
- TeamCity: http://www.jetbrains.com/teamcity/ - Building Android APK’s with TeamCity:
http://www.theleagueofpaul.com/building-android-apks-with-teamcity
- Jenkins: http://jenkins-ci.org/ - Building Android apps with Hudson:
http://jenkins-ci.org/content/getting-started-building-android-apps-hudson
-CruiseControl: http://cruisecontrol.sourceforge.net
- Continuum: http://continuum.apache.org
-Luntbuild: http://luntbuild.javaforge.com
QuickBlox
Contacts:Email: [email protected]: fuel_exbuilder.quickblox.com/android