I hereby claim:
- I am mikeclarke on github.
- I am mikeclarke (https://keybase.io/mikeclarke) on keybase.
- I have a public key whose fingerprint is 1F99 4D6A C1D3 771D 46AA E6C3 A597 17C3 18C9 FCDF
To claim this, I am signing this object:
container_commands: | |
sync_db: | |
command: "docker run --env DATABASE_URL=`/opt/elasticbeanstalk/bin/get-config environment | jq -r .DATABASE_URL` aws_beanstalk/current-app:latest lein lobos migrate" | |
leader_only: true |
name "sentry" | |
default_version "6.4.4" | |
dependency "python" | |
dependency "pip" | |
build do | |
command "#{install_dir}/embedded/bin/pip install -I --install-option=\"--install-scripts=#{install_dir}/bin\" #{name}==#{version}" | |
command "rm -rf #{install_dir}/embedded/lib/python2.7/site-packages/sentry/static/CACHE/sentry/bootstrap/.git*" | |
command "rm -rf #{install_dir}/embedded/lib/python2.7/site-packages/sentry/static/sentry/bootstrap/.git*" |
Something went wrong...the Omnibus just ran off the road! | |
Error raised was: | |
Expected process to exit with [0], but received '128' | |
---- Begin output of git --git-dir=/var/cache/omnibus/cache/install_path/opt/st --work-tree=/opt/st add -A -f ---- | |
STDOUT: | |
STDERR: fatal: Not a git repository: embedded/lib/python2.7/site-packages/sentry/static/CACHE/sentry/bootstrap/../../../../../.git/modules/src/sentry/static/sentry/bootstrap | |
---- End output of git --git-dir=/var/cache/omnibus/cache/install_path/opt/st --work-tree=/opt/st add -A -f ---- | |
Ran git --git-dir=/var/cache/omnibus/cache/install_path/opt/st --work-tree=/opt/st add -A -f returned 128 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
sudo docker build -t $JOB_NAME/$BUILD_NUMBER . | |
DB_NAME="/$JOB_NAME-$BUILD_NUMBER-db" | |
DB_CONTAINER=$(sudo docker run -d -name $DB_NAME <private repository URL>/database-schema) | |
sudo docker run -link $DB_NAME:db -t $JOB_NAME/$BUILD_NUMBER nosetests | |
sudo docker tag $JOB_NAME/$BUILD_NUMBER <private repository URL>/${JOB_NAME}-master | |
sudo docker push <private repository URL>/${JOB_NAME}-master >/dev/null | |
sudo docker kill ... | |
sudo docker rm ... | |
sudo docker rmi ... |
#!/bin/bash | |
# Docker doesn't have a great way to set runtime environment variables, | |
# so use this script to prepare the execution environnment for later processes. | |
export SQLALCHEMY_DATABASE_URI="postgresql://${DB_PORT_5432_TCP_ADDR}:5432/database_name" | |
# Execute the commands passed to this script | |
# e.g. "./env.sh venv/bin/nosetests --with-xunit | |
exec "$@" |
FROM <your private Docker repository>/python-base | |
MAINTAINER Mike Clarke <[email protected]> | |
ADD . /opt/app | |
RUN virtualenv --no-site-packages /opt/app/venv | |
RUN /opt/app/venv/bin/pip install -r /opt/app/requirements.txt | |
WORKDIR /opt/app | |
ENTRYPOINT ["/opt/app/env.sh"] |
FROM ubuntu | |
MAINTAINER Mike Clarke <[email protected]> | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install -y language-pack-en | |
ENV LANGUAGE en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LC_ALL en_US.UTF-8 |
function forwardLabelToAsana() { | |
var asana_email = '[email protected]'; | |
var domain = '@company.com'; | |
var inbound_label = GmailApp.getUserLabelByName('recruiting/recruiting-inbound'); | |
var destination_label = GmailApp.getUserLabelByName('recruiting'); | |
var threads = inbound_label.getThreads(); | |
for (var i = 0; i < threads.length; i++) { | |
// We only care about the first message in a thread | |
var messages = threads[i].getMessages(); |
Interval Since Last Panic Report: 1037400 sec | |
Panics Since Last Report: 5 | |
Anonymous UUID: C0E2044C-7010-42EB-8653-592AF0EE242D | |
Thu Jun 14 13:39:49 2012 | |
panic(cpu 0 caller 0xffffff80002c266d): Kernel trap at 0xffffff80003b5781, type 14=page fault, registers: | |
CR0: 0x000000008001003b, CR2: 0x000000000000017c, CR3: 0x0000000000100000, CR4: 0x00000000000206e0 | |
RAX: 0x0000000000000000, RBX: 0x0000000000000000, RCX: 0x0000000000000130, RDX: 0xffffff80003b52e1 | |
RSP: 0xffffff80e962ba00, RBP: 0xffffff80e962bc10, RSI: 0xffffff80e962bb0c, RDI: 0xffffff8020fa2a88 | |
R8: 0x0000000000000000, R9: 0x0000000000000000, R10: 0x8000000000100000, R11: 0xffffff80002d8200 |