This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DISPLAY=:1 | |
Xvfb :1 & | |
# | |
# Fetch and install the dependencies | |
# | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go_version=go1.2.2.linux-amd64 | |
if [ ! -e $go_version.tar.gz ] | |
then | |
wget https://storage.googleapis.com/golang/$go_version.tar.gz | |
tar xf $go_version.tar.gz | |
fi | |
export GOROOT=$WORKSPACE/go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! -e /home/jenkins/.gvm/scripts/gvm ] | |
then | |
wget https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer | |
chmod +x gvm-installer | |
./gvm-installer | |
fi | |
source /home/jenkins/.gvm/scripts/gvm | |
gvm install go1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install -m 755 arch-bootstrap.sh /usr/local/bin/arch-bootstrap | |
arch-bootstrap boot1 | |
tar -C boot1 -c . | docker import - archboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cabal install | |
Resolving dependencies... | |
cabal: Could not resolve dependencies: | |
trying: aeson-0.6.2.1/installed-b7c... (user goal) | |
trying: app-0.1 (user goal) | |
next goal: wreq (dependency of app-0.1) | |
rejecting: wreq-0.1.0.1, 0.1.0.0 (conflict: aeson==0.6.2.1/installed-b7c..., | |
wreq => aeson>=0.7.0.3) | |
Backjump limit reached (change with --max-backjumps). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM cloudbees/archbase | |
RUN systemctl mask tmp.mount | |
RUN rm /usr/lib/systemd/system/tmp.mount && ln -s '/dev/null' '/usr/lib/systemd/system/tmp.mount' | |
RUN cd /usr/lib/systemd/system/ \ | |
&& sed -i 's/PrivateTmp=yes//g' systemd-timedated.service \ | |
&& sed -i 's/PrivateTmp=yes//g' systemd-machined.service \ | |
&& sed -i 's/PrivateTmp=yes//g' systemd-hostnamed.service \ | |
&& sed -i 's/PrivateTmp=yes//g' systemd-localed.service \ | |
&& sed -i 's/PrivateTmp=yes//g' systemd-timesyncd.service \ | |
&& sed -i 's/PrivateTmp=yes//g' systemd-journal-gatewayd.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ ! -d /opt/android/android-sdk-linux/tools/proguard ] | |
then | |
echo "Downloading SDK directory for Proguard" | |
curl -O http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz | |
tar -zxvf android-sdk_r22.6.2-linux.tgz | |
echo "Copying proguard directory..." | |
cp -r android-sdk-linux/tools/proguard /opt/android/android-sdk-linux/tools | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Doony v1.6 | (c) 2014 Kevin Burke | License: MIT */ | |
!function(window,document){var absPos=function(element){var offsetLeft,offsetTop;if(offsetLeft=offsetTop=0,element.offsetParent)do offsetLeft+=element.offsetLeft,offsetTop+=element.offsetTop;while(null!==(element=element.offsetParent));return[offsetLeft,offsetTop]},ProgressCircle=function(params){this.canvas=params.canvas,this.minRadius=params.minRadius||15,this.arcWidth=params.arcWidth||5,this.gapWidth=params.gapWidth||3,this.centerX=params.centerX||this.canvas.width/2,this.centerY=params.centerY||this.canvas.height/2,this.infoLineLength=params.infoLineLength||60,this.horizLineLength=params.horizLineLength||10,this.infoLineAngleInterval=params.infoLineAngleInterval||Math.PI/8,this.infoLineBaseAngle=params.infoLineBaseAngle||Math.PI/6,this.context=this.canvas.getContext("2d"),this.width=this.canvas.width,this.height=this.canvas.height,this.circles=[],this.runningCount=0};ProgressCircle.prototype={constructor:ProgressCircle,addEntry:function(params){return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> hadoop --version | |
Error: No command named `--version' was found. Perhaps you meant `hadoop -version' | |
> hadoop -version | |
Error: No command named `-version' was found. Perhaps you meant `hadoop version' | |
> hadoop version | |
Hadoop 2.3.0-cdh5.0.2 |
OlderNewer