This file contains hidden or 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
| Detect Provisioning Profile | |
| ------------------------- | |
| security cms -D -i /path/to/the.app/embedded.mobileprovision | |
| Validate IPA and Upload | |
| ----------------------- | |
| security add-generic-password -s Xcode:itunesconnect.apple.com -a LOGIN -w PASSWORD -U | |
| xcrun -sdk iphoneos Validation -verbose -online -upload IPA | |
| security delete-generic-password -s Xcode:itunesconnect.apple.com -a LOGIN |
This file contains hidden or 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
| #/usr/bin/perl -w | |
| use strict; | |
| # Enabling strict with strict refs breaks the summary output (when ctrl+c is pressed) | |
| # because of the error Can't use string ("") as a HASH ref while "strict refs" in use. | |
| no strict 'refs'; | |
| #Initialize an empty hashref | |
| my $hash_ref = {}; | |
| #Catch CTRL+C and then call printsummary subroutine |
This file contains hidden or 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
| buildDisplayName=$(git log -n 1 --pretty=%d HEAD | cut -d / -f 2-3 | awk '{print $1}' | sed s'/.$//') | |
| This is tested for all cases |
This file contains hidden or 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
| input { | |
| syslog { | |
| type => syslog | |
| port => 514 | |
| codec => plain { charset => "ISO-8859-1" } | |
| } | |
| file { | |
| type => syslog | |
| path => [ "/var/log/*.log" ] |
This file contains hidden or 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
| [supervisord] | |
| nodaemon=true | |
| [program:mongod] | |
| command=/usr/bin/mongod | |
| [program:cq] | |
| command= |
This file contains hidden or 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 ubuntu:latest | |
| MAINTAINER examples@docker.io | |
| RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
| RUN apt-get update | |
| RUN apt-get upgrade -y | |
| RUN apt-get install -y openssh-server apache2 supervisor open-jdk | |
| RUN mkdir -p /data/db | |
| RUN mkdir -p /var/log/supervisor | |
| ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
| EXPOSE 22 80 |
This file contains hidden or 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
| # first create the directory for persistent data: | |
| sudo mkdir -p /data/mysql | |
| # start the database | |
| sudo docker run -d -p 3306:3306 -name todomvc_db \ | |
| -v /data/mysql:/var/lib/mysql cpswan/todomvc.mysql | |
| # start the app server | |
| sudo docker run -d -p 4567:4567 -name todomvc_app \ |
This file contains hidden or 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
| CONTAINERID=$(docker run -p 27017:27017 -d $JOB_NAME$BUILD_NUMBER) | |
| MONGOIP=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CONTAINERID) |
This file contains hidden or 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
| First build the Mongo Container | |
| =============================== | |
| docker build -t="new-mongo" | |
| Next build CQ Container | |
| ======================== | |
| docker build -t="new-cq" | |
| Run the Mongo container first | |
| ============================= |
NewerOlder