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
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: VirtualBox VM is already running.
==> default: Checking for host entries
db ~/fullstack 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.
vagrant@precise64:~$ /edx/bin/update xserver openedx/rc/aspen-2014-09-10
PLAY [Deploy xserver] *********************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [xserver | writing supervisor script] ***********************************
changed: [localhost]
vagrant@precise64:~$ /edx/bin/update edx-analytics-data-api openedx/rc/aspen-2014-09-10
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop
expressions bare.
PLAY [Deploy Analytics API] ***************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] 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: aspen_default_1410795937621_41534
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
This file has been truncated, but you can view the full file.
% 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: aspen_default_1410795498067_9240
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
% 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.
*******************************************************************
* _ __ __ *
* _ _| |\ \/ / This system is for the use of authorized *
vagrant@precise64:/edx/app/edxapp$ sudo -H -u edxapp bash
edxapp@precise64:~$ pwd
/edx/app/edxapp
edxapp@precise64:~$ ls
cms.auth.json cms.env.json data edxapp_env edx-platform lms.auth.json lms.env.json ruby_env venvs
edxapp@precise64:~$ ls
cms.auth.json cms.env.json data edxapp_env edx-platform lms.auth.json lms.env.json ruby_env venvs
edxapp@precise64:~$ source edxapp_env
edxapp@precise64:~$ ls
cms.auth.json cms.env.json data edxapp_env edx-platform lms.auth.json lms.env.json ruby_env venvs
db ~/dev/configuration/vagrant/release/openedx (git)-[vagrant-aspen] mastodon
% vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
==> default: Removing hosts
Password:
db ~/dev/configuration/vagrant/release/openedx (git)-[vagrant-aspen] mastodon
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
@singingwolfboy
singingwolfboy / gist:662bb5b1ef6a35b2c344
Created September 18, 2014 15:10
failing tests on open edx aspen release candidate
db ~/dev/configuration/vagrant/release/openedx (git)-[vagrant-aspen] 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.
*******************************************************************
* _ __ __ *
#!/usr/bin/env bash
set -e
. $HOME/jenkins_env
# Post build status to GitHub
GITHUB_ORG=edx
GITHUB_REPO=edx-platform
URL="${JENKINS_URL}/job/edx-all-tests-manual-commit/${BUILD_NUMBER}"
github_post_status.py "$GITHUB_ORG" "$GITHUB_REPO" "$GIT_COMMIT" "pending" "$URL" "Running tests" || true