Skip to content

Instantly share code, notes, and snippets.

Total states run: 2
ubuntu4.buildfarm.gradle.org:
----------
ID: git
Function: pkg.installed
Result: True
Comment: Package git is already installed.
Started: 09:03:12.464223
Duration: 691.049 ms
Changes:
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
ubuntu4.buildfarm.gradle.org:
----------
ID: zsh
Function: pkg.installed
Result: True
Comment: Package zsh is already installed.
Started: 09:05:10.379487
Duration: 573.376 ms
Changes:
ubuntu4.buildfarm.gradle.org:
----------
base:
- common.packages.base
- common.packages.java
- common.base
- salt-minion
- common.monitoring
- build-vm-linux
- common.build-agents
ubuntu4.buildfarm.gradle.org:
----------
git:
----------
__env__:
base
__sls__:
common.git
pkg:
- installed
git:
pkg:
- installed
github.com:
ssh_known_hosts:
- present
- hash_hostname: False
- fingerprint: 12:25:ab:a6:66:28:2b:36:63:1b:56:4d:eb:df:a6:48
ase:
# A Linux server that hosts the build server and other dev services. Doesn't run any builds.
# (dev1 config references this)
'roles:build-server':
- match: pillar
- salt-minion
- common.base
- common.limits
- common.network
- common.packages
#!/bin/bash
tsts="$TM_SELECTED_TEXT"
if [ -z "$TM_SELECTED_TEXT" ]
then
#echo `cat $TM_FILEPATH | grep -Po "(?<=defaultTasks\s\")(.*)(?=\")"`
deftasks=`cat $TM_FILEPATH | grep -Po "(?<=defaultTasks\s\")(.*)(?=\")"`
# if deftask is null open dialog to ask for tasks to execute
if [ -z "$deftasks" ]
then
res=$("$TM_SUPPORT_PATH/bin/CocoaDialog.app/Contents/MacOS/CocoaDialog" inputbox --title "I Need Input" \
private final String attrName = "name"
private String name;
...
...
logger.debug(attrName + " is " + name);
@breskeby
breskeby / sonartype-snapshot
Created February 3, 2012 08:26
Sample Buildfile to resolve deps from sonartype snapshot repository
apply plugin:'java'
repositories{
maven {
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies{
compile "org.ajoberstar:gradle-git:0.1.1-SNAPSHOT"
@breskeby
breskeby / .gitconfig
Created December 5, 2012 08:43
Gradle alias for Git
[alias]
test = !gradle test