Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View avtar's full-sized avatar

Avtar Gill avtar

  • Inclusive Design Research Centre
  • Toronto, Canada
View GitHub Profile
- job:
name: 'first-discovery'
project-type: 'freestyle'
display-name: 'First Discovery Preferences Editor Tool'
scm:
- git:
url: https://github.com/fluid-project/first-discovery.git
branches:
- master
triggers:
@avtar
avtar / tsung_config.xml
Created July 24, 2014 20:51
Revised Tsung config for the Costing project
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd" [] >
<tsung loglevel="warning">
<clients>
{% for host in groups['tsung_clients'] %}
<client host="{{ host }}" weight="1" maxusers="40000" cpu="4" />
{% endfor %}
</clients>
@avtar
avtar / set-up-gpii-win-8.1.yml
Created November 8, 2014 00:29
Managing GPII Windows test VMs using Jenkins and OpenStack
- job:
name: set-up-gpii-win-8.1
project-type: freestyle
node: master
concurrent: false
builders:
- shell: |
source /var/lib/jenkins/secrets/jenkins_openrc.sh
nova --insecure boot --image win81eval_gpii_snapshot --flavor n1.medium --security-groups default,jenkins,windows --poll gpii-jenkins-windows81
@avtar
avtar / create_gpiitestuser.cmd
Last active August 29, 2015 14:09
GPII test user account creation and Jenkins provisioning using cloudbase-init
SET ThisScriptsDirectory=%~dp0
SET PowerShellScriptPath=%ThisScriptsDirectory%create_gpiitestuser.ps1
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File """"%PowerShellScriptPath%"""" -nodejsVersion """"0.10.33"""" ' -Verb RunAs}";
@avtar
avtar / asterics-p4allbuildingblocks.yml
Last active August 29, 2015 14:19
Example Jenkins Job Builder configuration for AsTeRICS P4AllBuildingBlocks
- job:
name: 'asterics-P4AllBuildingBlocks'
project-type: 'freestyle'
display-name: 'AsTeRICS components for the Prosperity For All project'
scm:
- git:
url: https://github.com/asterics/P4AllBuildingBlocks.git
branches:
- master
triggers:
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd" [] >
<tsung loglevel="warning">
<clients>
{% for host in groups['tsung_clients'] %}
<client host="{{ host }}" weight="1" maxusers="40000" cpu="4" />
{% endfor %}
</clients>
@avtar
avtar / gpii-linux-framework.yml
Last active October 2, 2015 23:26
GPII Jenkins Job Builder configuration
- job:
name: gpii-linux-framework
project-type: freestyle
node: jenkins-builder
concurrent: false
scm:
- git:
url: https://github.com/avtar/linux.git
branches:
- GPII-1258
$ sudo dnf install node-gyp
Last metadata expiration check performed 0:57:39 ago on Mon Oct 5 17:23:56 2015.
Dependencies resolved.
==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Installing:
node-gyp noarch 0.10.6-4.fc22 fedora 30 k
nodejs-abbrev noarch 1.0.4-8.fc21 fedora 7.8 k
nodejs-ansi noarch 0.2.1-2.fc21 fedora 13 k
@avtar
avtar / Fedora
Last active October 6, 2015 16:43
Nodesource vs Fedora Node.js package dependencies
$ rpm -qpR nodejs-0.10.36-4.fc22.x86_64.rpm
/bin/sh
ca-certificates
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcares.so.2()(64bit)
libcrypto.so.10()(64bit)
# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'yaml'
ansible_vars = YAML.load_file('provisioning/vars.yml')
# By default this VM will use 1 processor core and 1GB of RAM. The 'VM_CPUS' and
# "VM_RAM" environment variables can be used to change that behaviour.
cpus = ENV["VM_CPUS"] || 1