diff --git a/generator/build/README.md b/generator/build/README.md index c3af1a309..8a392e579 100644 --- a/generator/build/README.md +++ b/generator/build/README.md @@ -14,14 +14,13 @@ You will need to have the following repos checked out: * enterprise (used for changelog) * masterfiles (used to document masterfies) * documentation -* documentation/generator (this repo) Usage ----- If you have buildah installed: -1. clone the above repos +1. clone the above repos (run `clone.sh`) 2. export the following env variables: @@ -30,11 +29,11 @@ If you have buildah installed: * `$PACKAGE_JOB` - where to take CFEngine HUB package from, a dir at http://buildcache.cloud.cfengine.com/packages/, - usually testing-pr + usually `testing-pr` * `$PACKAGE_UPLOAD_DIRECTORY` - where to take CFEngine HUB package from, a dir at http://buildcache.cloud.cfengine.com/packages/testing-pr/, - for example, jenkins-master-nightly-pipeline-943 + for example, `jenkins-master-nightly-pipeline-943` * `$PACKAGE_BUILD` - RELEASE of the build to be downloaded, usually 1 diff --git a/generator/build/clone.sh b/generator/build/clone.sh new file mode 100755 index 000000000..95aa156b5 --- /dev/null +++ b/generator/build/clone.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +for repo in core nova enterprise masterfiles documentation; do + git clone "git@github.com:cfengine/$repo.git" +done diff --git a/generator/build/install.sh b/generator/build/install.sh index df7af8f4b..1991d30e0 100644 --- a/generator/build/install.sh +++ b/generator/build/install.sh @@ -70,9 +70,9 @@ gem install jekyll-asset-pipeline --version 0.1.6 gem install closure-compiler --version 1.1.8 gem install yui-compressor --version 0.9.6 gem install albino --version 1.3.3 +gem install execjs --version 1.4.0 gem install redcarpet --version 2.2.2 gem install uglifier --version 1.3.0 -gem install execjs --version 1.4.0 gem install sanitize --version 2.0.3 cat > /tmp/jekyll-0.12.1-cfengine.patch <