Skip to content

Commit

Permalink
vagrant adapting to code change to github.com/openark/orchestrator
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomi-noach committed Apr 25, 2020
1 parent d1e6f32 commit 3db3b61
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vagrant/base-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ if [[ -e /etc/redhat-release ]]; then

# Build orchestrator and orchestrator agent
mkdir -p /home/vagrant/go/{bin,pkg,src} /tmp/orchestrator-release
mkdir -p /home/vagrant/go/src/github.com/github/orchestrator
mount --bind /orchestrator /home/vagrant/go/src/github.com/github/orchestrator
mkdir -p /home/vagrant/go/src/github.com/openark/orchestrator
mount --bind /orchestrator /home/vagrant/go/src/github.com/openark/orchestrator

# Build Orchestrator
export GOPATH=/home/vagrant/go
export GO15VENDOREXPERIMENT=1
cd ${GOPATH}/src/github.com/github/orchestrator
cd ${GOPATH}/src/github.com/openark/orchestrator
/usr/bin/go get ./...
${GOPATH}/src/github.com/github/orchestrator/build.sh
${GOPATH}/src/github.com/openark/orchestrator/build.sh
chown -R vagrant.vagrant /home/vagrant /tmp/orchestrator-release

# Setup mysql
Expand Down Expand Up @@ -88,15 +88,15 @@ elif [[ -e /etc/debian_version ]]; then

# Build orchestrator and orchestrator agent
mkdir -p /home/vagrant/go/{bin,pkg,src} /tmp/orchestrator-release
mkdir -p /home/vagrant/go/src/github.com/github/orchestrator
mount --bind /orchestrator /home/vagrant/go/src/github.com/github/orchestrator
mkdir -p /home/vagrant/go/src/github.com/openark/orchestrator
mount --bind /orchestrator /home/vagrant/go/src/github.com/openark/orchestrator

# Build Orchestrator
export GOPATH=/home/vagrant/go
export GO15VENDOREXPERIMENT=1
cd ${GOPATH}/src/github.com/github/orchestrator
cd ${GOPATH}/src/github.com/openark/orchestrator
/usr/local/go/bin/go get ./...
${GOPATH}/src/github.com/github/orchestrator/build.sh
${GOPATH}/src/github.com/openark/orchestrator/build.sh
chown -R vagrant.vagrant /home/vagrant /tmp/orchestrator-release


Expand Down

0 comments on commit 3db3b61

Please sign in to comment.