Skip to content

Instantly share code, notes, and snippets.

View b0bbywan's full-sized avatar

Mathieu Réquillart b0bbywan

  • Equisense
  • Lille, France
View GitHub Profile
@b0bbywan
b0bbywan / ansible-hubot-slack.coffee
Created February 22, 2016 15:57
A hubot script for executing ansible playbooks
# Description:
# A hubot script for launching ansible playbooks
#
# Commands:
# hubot update <environment> [only <tags>] [skip <tags>] [with <key>:<value>] - Execute the ansible playbook on the given environment
#
# Dependencies:
# "node-ansible": "^0.5.2"
#
# Author:
@b0bbywan
b0bbywan / .gitlab-ci.yml
Created February 4, 2016 11:33
Build and Deploy a javascript app with Gitlab-Ci
image: node:argon
before_script:
- apt-get -qq update
- apt-get -qq install -y python2.7 python2.7-dev build-essential make gcc g++ libicu-dev
- npm -g install npm --silent
- "echo -e \"export default {CLIENT_ID: '$CLIENT_ID'}\" > app/scripts/settings.js"
- npm set progress=false
- npm install --silent