Skip to content

Instantly share code, notes, and snippets.

View chrisking's full-sized avatar

Chris King chrisking

View GitHub Profile
<joblist>
<job>
<id>003be0c3-d571-44f9-929d-acdc3b935e6d</id>
<loglevel>INFO</loglevel>
<sequence keepgoing='false' strategy='node-first'>
<command>
<scriptargs>${option.repository} ${option.release} ${option.packages}</scriptargs>
<script><![CDATA[#!/bin/bash
set -eu
[[ $# != 3 ]] && {
- id: 003be0c3-d571-44f9-929d-acdc3b935e6d
project: anvils
loglevel: INFO
sequence:
keepgoing: false
strategy: node-first
commands:
- script: |-
#!/bin/bash
set -eu
Environment:
Request Method: POST
Request URL: http://localhost:8000/repo/create_playground/
Django Version: 1.6.2
Python Version: 2.7.7
Installed Applications:
('django.contrib.auth',
@chrisking
chrisking / boto
Created August 20, 2014 17:19
boto
[Credentials]
aws_access_key_id = asadfasdfasdfasdf
aws_secret_access_key = sadfasdfasdfasdfasdfasdfasdfasdf
Starting crawler
log4j:WARN No appenders could be found for logger (com.amazonaws.internal.EC2MetadataClient).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Bucket name is: ddm-ap-ig-model-archives
file name is: projects.zip
key is: gate_zips/projects.zip
/home/ec2-user
GATE FOLDER: /home/ec2-user
bucketName: ddm-ap-ig-users
@chrisking
chrisking / gist:9dc31b86a1c87a92af97
Created September 15, 2014 10:11
packages.json
{
"qa": {
"name": "property1 stuff",
"description": "the best in 1 priority",
"version": "1.2.X",
},
"prod": {
"name": "fedex",
"description": "for shipping",
"version": "1.2.X",
[ddminc@web352 src]$ django-admin.py migrate repo
Running migrations for repo:
- Migrating forwards to 0020_auto__add_structuredattribute__add_attributenote__add_assertedattribut.
> repo:0020_auto__add_structuredattribute__add_attributenote__add_assertedattribut
FATAL ERROR - The following SQL query failed: ALTER TABLE "repo_attribute" ADD COLUMN "text_id" integer NULL DEFAULT None;
The error was: column "none" does not exist
Error in migration: repo:0020_auto__add_structuredattribute__add_attributenote__add_assertedattribut
Traceback (most recent call last):
File "/home/ddminc/bin/django-admin.py", line 5, in <module>
@chrisking
chrisking / sample_package.json
Created September 16, 2014 17:53
sample_package.json
[
{
"packagename":"software_manager9.0",
"start_date": "2014-09-03 16:14:24,049",
"end_date": "2014-09-03 16:14:24,049"
},
{
"packagename":"software_user8.1",
"start_date": "2014-09-03 16:14:24,049",
"end_date": "2014-09-03 16:14:24,049"
@chrisking
chrisking / blah.log
Created October 3, 2014 18:18
Sample stuff from shell
chris@blackbox:~/test$ ls
sample.py sample.sh
chris@blackbox:~/test$ python sample.py
Hello Matt Hartzel
chris@blackbox:~/test$ ls
sample.py sample.sh
chris@blackbox:~/test$ ./sample.sh
Hello Matt Hartzel
chris@blackbox:~/test$ ls
sample.py sample.sh
[staging.datadecisionmodels.com] Executing task 'deploy_staging'
[staging.datadecisionmodels.com] run: git pull
[staging.datadecisionmodels.com] out: Already up-to-date.
[staging.datadecisionmodels.com] out:
[staging.datadecisionmodels.com] run: pip install -r requirements.txt
[staging.datadecisionmodels.com] out: Requirement already satisfied (use --upgrade to upgrade): BeautifulSoup==3.2.1 in /home/ubuntu/.virtualenvs/ddm_apps/lib/python2.7/site-packages (from -r requirements.txt (line 1))
[staging.datadecisionmodels.com] out: Requirement already satisfied (use --upgrade to upgrade): Django==1.6.2 in /home/ubuntu/.virtualenvs/ddm_apps/lib/python2.7/site-packages (from -r requirements.txt (line 2))
[staging.datadecisionmodels.com] out: Requirement already satisfied (use --upgrade to upgrade): Fabric==1.9.0 in /home/ubuntu/.virtualenvs/ddm_apps/lib/python2.7/site-packages (from -r requirements.txt (line 3))
[staging.datadecisionmodels.com] out: Requirement already satisfied (use --upgrade to upgrade): South