Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Temporarily disable dmg building in chef-client builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sersut committed Mar 28, 2014
1 parent 707273e commit b8ead73
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions jenkins/build
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ if [ "x$os" != "xAIX" ]; then
dna=`pwd`/jenkins/dna.json
fi
# Omnibus build server prep tasks, including build ruby
# TEMPORARY: Temporarily disable chef-solo runs.
# Can be reverted when https://github.com/opscode-cookbooks/omnibus/pull/12
# TEMPORARY: Temporarily disable chef-solo runs.
# Can be reverted when https://github.com/opscode-cookbooks/omnibus/pull/12
# is merged and released.
# Note that currently this functionality is not needed since we are far away
# Note that currently this functionality is not needed since we are far away
# from rebuilding slaves using cookbooks in ci.opscode.us.
# sudo -i env PATH=$PATH chef-solo -c `pwd`/jenkins/solo.rb -j $dna -l debug
# END of temporary change.
# Fix root-owned perms left over from running chef-solo (cache turds, etc)
set +e
sudo chown -R jenkins-node `pwd` || sudo chown -R jenkins `pwd`
sudo chown -R jenkins-node `pwd` || sudo chown -R jenkins `pwd`
set -e
fi

Expand Down Expand Up @@ -122,6 +122,9 @@ sudo chown -R jenkins-node "/var/cache/omnibus" || sudo chown -R jenkins "/var/c

# copy config into place
cp omnibus.rb.example omnibus.rb
# Temporarily disable dmg building in chef-client pipelines until dmg
# is supported in omnitruck.
echo "build_dmg false" >> omnibus.rb

# Aaand.. new ruby
PATH=/usr/local/bin:$PATH
Expand Down

0 comments on commit b8ead73

Please sign in to comment.