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
/* groovylint-disable DuplicateMapLiteral */ | |
def call() { | |
pipeline { | |
triggers { | |
issueCommentTrigger('/redo_jenkins') | |
} | |
agent { label 'chef' } | |
environment { | |
CHEF_LICENSE = 'accept-silent' | |
DANGER_GITHUB_API_TOKEN = credentials('example') |
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/bash | |
################ | |
# REMOVE CHEFDK | |
################ | |
# Removes the chefdk on MacOS | |
# Version 0.1.3 | |
# 2018/12/11 | |
# Ryan Moon | |
################# |
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
#!/usr/bin/perl | |
## ----------------------------------------------------------------------- | |
## | |
## Copyright 2002-2008 H. Peter Anvin - All Rights Reserved | |
## Copyright 2009 Intel Corporation; author: H. Peter Anvin | |
## | |
## This program is free software; you can redistribute it and/or modify | |
## it under the terms of the GNU General Public License as published by | |
## the Free Software Foundation, Inc., 53 Temple Place Ste 330, | |
## Boston MA 02111-1307, USA; either version 2 of the License, or |
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
Get-WMIObject -Class win32_product -Filter {Name like "%VARIABLE%"} | Select-Object -Property Name,Version | ft -hidetableheaders |
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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <jess@linux.com> | |
# Forked from: https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f | |
# Modified by: Moon | |
# Last Updated: 2022-02-03 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned |
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
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
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/bash | |
######################################### | |
# Creator Folder Creator | |
# Ryan Moon | |
######################################### | |
# This script, which is called by the | |
# use_granter script, will create a | |
# folder on the SAN for creators. Using values | |
# provided by use_granter | |
# Requires: |
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
# YTS Cookbook Rakefile | |
# 08/17/2017 | |
# Cobbled together by Ryan Moon | |
########### | |
# REQUIRES | |
########### | |
require 'rspec/core/rake_task' | |
require 'cookstyle' |
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/bash | |
find . -name '*.DS_Store' -type f -delete | |
/usr/bin/plutil manifests/* | |
/usr/bin/plutil pkgsinfo/*/*.plist | |
/usr/bin/plutil pkgsinfo/*/*/*.plist | |
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/bash | |
find . -name '*.DS_Store' -type f -delete | |
chef exec rake style |
NewerOlder