Skip to content

gaybro8777/cbsdkbb

 
 

Repository files navigation

CB SDK Build Bot Auto Setup

Description

A common and well-defined configuration for SDK build bots, currently supports libcouchbase, php-couchbase and couchnode on Windows, CentOS and Ubuntu.

Installation

Windows

  1. Install VMWare Tools

  2. Install Prerequisites

  3. Install Visual C++ Express 2008

  4. Install Visual C++ Express 2010

  5. Install Visual Studio Express 2012

  6. Install Visual Studio Community 2015

  7. Install Windows SDK 7.0 1. Make sure to fix the VCROOT error in SetEnv.

  8. Install Windows SDK 7.1

  9. Install Git 1. Make sure git is in your PATH

  10. Install Java 1.7 1. Make sure java is in your PATH

  11. Install Python 2.7 1. Make sure python is in your PATH

  12. Install CMake

  13. Setup SDK Folder

mkdir C:\cbsdkbb
git clone https://github.com/brett19/cbsdkbb.git C:\cbsdkbb
cd C:\cbsdkbb
setup.bat
  1. Connect Jenkins
  2. Install as Service
  3. Update service to execute as user rather than LOCAL SERVICE.

CentOS, Ubuntu

  1. Install VMWare Tools
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
tar xzvf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/
cd /tmp/vmware-tools-distrib/
sudo ./vmware-install.pl -d
  1. Install Prerequisites
  2. The Basics ```bash CentOS: sudo yum groupinstall 'Development Tools' sudo yum install git cmake sudo yum install libevent-devel openssl-devel sudo yum install glibc-devel.i686 glibc-devel libstdc++-devel.i686
Ubuntu:
sudo apt-get install build-essential
sudo apt-get install git autoconf cmake
sudo apt-get install libevent-dev
sudo apt-get install g++-multilib
```
  1. Java 1.7 (Ubuntu Only) bash sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer

  2. Setup SDK Folder

sudo mkdir /cbsdkbb
sudo chown buildbot cbsdkbb
git clone https://github.com/brett19/cbsdkbb.git /cbsdkbb
cd /cbsdkbb
./setup

SmartOS

  1. Install Prerequisites
  2. The Basics bash pkgin update pkgin in git gcc47 sun-jre6-6.0.26 libtool-base autoconf automake libevent gmake cmake
  3. Setup SDK Folder
sudo mkdir /cbsdkbb
git clone https://github.com/brett19/cbsdkbb.git /cbsdkbb
cd /cbsdkbb
./setup

About

Scripts to automatically configure my build bots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Batchfile 62.1%
  • Shell 21.0%
  • JavaScript 16.9%