Giter VIP home page Giter VIP logo

mac-ci's Introduction

Mac mini Continuous Intergration Server

Interviewee: Of course I have my own CI server, what seasoned developer doesn't?

Requirements

  • 1 x Mac mini ($600 - $1,500) 2.6GHz Quad-Core i7, 16GB RAM, 1TB Fusion Drive
  • 1 x Apple Mini DisplayPort to VGA Adapter ($29) If planning to not connect to a monitor
  • 1 x Resistor If planning to not connect to a monitor
  • 1 x VMware Fusion ($50) or VMWare Fusion Professional ($129)

Setup

  1. Create the user Jenkins.

  2. Setup dot files. Run .osx script top optimize setting for performance, fork from mathiasbynens/dotfiles.

  3. Install Xcode.

  4. Install Xcode from the Mac App Store.

  5. Open Xcode.

  6. Open the Preferences window (Cmd-,).

  7. Go to the Downloads tab.

  8. Install the Command Line Tools.

  9. Clean up OS UI

  10. Set background to soild colour.

osascript -e 'set desktopImage to POSIX file "/Library/Desktop Pictures/Solid Colors/Solid Gray Light.png"
tell application "Finder"
    set desktop picture to desktopImage
end tell'
  1. Remove uneed dock items

  2. Install boxen https://github.com/boxen/our-boxen or use brew cask.

# Setup folders
sudo mkdir -p /opt/boxen
sudo chown ${USER}:staff /opt/boxen

# Clone repo
git clone https://github.com/boxen/our-boxen /opt/boxen/repo
cd /opt/boxen/repo
git remote rm origin

# Add browsers include to Puppetfile
echo 'github "browsers"    "0.0.1", :repo => "willfarrell/puppet-browsers"' >> Puppetfile

# Run boxen bootstrap
script/boxen --no-fde

# Run `boxen --env` in new tab
echo "Run `boxen --env` in new tab"
  1. Install Browsers and Virtual Machines
#boxen browsers

Setup Jenkins

TODO

boxen jenkins

Shell scripts and configuration files used by the Google AngularJS Team. Video Slides

To Do

  • Write script to auto install dot files and setup computer best for jenkins (focus on security and speed).

  • remove background image

  • remove useless icons from dock (leave Finder, Browser)

  • Write script to install all browsers (bowen).

mac-ci's People

Contributors

willfarrell avatar

Stargazers

Brad Reno avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

pombredanne

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.