Skip to content

Instantly share code, notes, and snippets.

View singingwolfboy's full-sized avatar
Available for contract work

David Baumgold singingwolfboy

Available for contract work
View GitHub Profile
[1:00 PM] David Baumgold: how about I set it up so that people in https://github.com/Stanford-Online have the same permissions to kick off new jobs that people in https://github.com/edx have?
[1:01 PM] Joe Blaylock: That would be pretty great. Is there any way to make it aware of hashes on our repos too? Because that's another problem (which admittedly the group thing doesn't solve) that makes this complicated.
Sorry, I'm having trouble being specific and actionable. Let me try again.
 Yes, that sounds awesome. Please do that. In addition, can you also have jenkins fetch from our fork so we can give our hashes?
[1:02 PM] David Baumgold: try logging into Jenkins now: https://jenkins.testeng.edx.org
when you say "give your hashes", what do you mean?
[1:03 PM] Joe Blaylock: Well, when you build with parameters, you use a SHA1 of a commit object. Right now, jenkins is configured to fetch from edx/edx-platform only, and so the SHA1s that live on our repo are unknown to it.
I can log in, and I can reach buil
db ~/devstack mastodon
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'kifli-devstack'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: devstack_default_1411565624038_84726
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
db ~/devstack mastodon
% vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*******************************************************************
* _ __ __ *
db ~/dev/configuration/vagrant/base/devstack (git)-[master] mastodon
% export OPENEDX_RELEASE="openedx/rc/aspen-2014-09-10"
db ~/dev/configuration/vagrant/base/devstack (git)-[master] mastodon
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: devstack_default_1411999388397_39264
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
This file has been truncated, but you can view the full file.
% ansible --version
ansible 1.5.5
(configuration)db ~/dev/configuration (git)-[master] mastodon
% export OPENEDX_RELEASE="openedx/rc/aspen-2014-09-10"
(configuration)db ~/dev/configuration (git)-[master] mastodon
% cd vagrant/base/devstack
(configuration)db ~/dev/configuration/vagrant/base/devstack (git)-[master] mastodon
% vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
This file has been truncated, but you can view the full file.
Last login: Mon Sep 29 12:16:20 on ttys003
cd d% db ~ mastodon
% cd dev/configuration/vagrant/base/devstack
db ~/dev/configuration/vagrant/base/devstack (git)-[master] mastodon
% workon configuration
(configuration)db ~/dev/configuration/vagrant/base/devstack (git)-[master] mastodon
% ansible --version
ansible 1.5.5
(configuration)db ~/dev/configuration/vagrant/base/devstack (git)-[master] mastodon
% vagrant up
This file has been truncated, but you can view the full file.
<truncated traceback>
TASK: [edxapp | install python private requirements] **************************
skipping: [default] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
TASK: [edxapp | install CAS attribute module] *********************************
skipping: [default]
TASK: [edxapp | install sandbox requirements into regular venv] ***************
skipping: [default] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
skipping: [default] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
(configuration)db ~/dev/configuration/vagrant/base/devstack (git)-[openedx/rc/aspen-2014-09-10] mastodon
% vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*******************************************************************
* _ __ __ *
@singingwolfboy
singingwolfboy / gist:461ae48cf7f386f8a6f6
Created October 2, 2014 20:48
Vagrant devstack aspen RC
This file has been truncated, but you can view the full file.
Last login: Thu Oct 2 10:18:21 on ttys000
db ~ mastodon
% cd dev/configuration
db ~/dev/configuration (git)-[openedx/rc/aspen-2014-09-10] mastodon
% git pull
remote: Counting objects: 33, done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 33 (delta 10), reused 0 (delta 0)
Unpacking objects: 100% (33/33), done.
From github.com:edx/configuration
@singingwolfboy
singingwolfboy / gist:de574561a828e1d54eb4
Created October 3, 2014 17:10
Current ansible failure when trying to use 1.7.2 branch
% vagrant provision
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: Running provisioner: ansible...
ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false PYTHONUNBUFFERED=1 ansible-playbook --private-key=/Users/db/.vagrant.d/insecure_private_key --user=vagrant --limit='default' --inventory-file=/Users/db/dev/configuration/vagrant/base/devstack/.vagrant/provisioners/ansible/inventory --extra-vars={"OPENEDX_RELEASE":"openedx/rc/aspen-2014-09-10"} -vvvv ../../../playbooks/vagrant-devstack.yml
[WARNING]: It is unnecessary to use '{{' in loops, leave variables in loop
expressions bare.