Generally, one should treat Jenkins as a glorified cron scheduler with
fancy reporting. OS-level customization of slaves for your particular
versions of things and paths, as you are suggesting, might conflict with
other users of this shared Jenkins system. Your steps make an assumption
that it's a yum-based OS, too, so wouldn't work on the deb-based slaves
anyway.
These customizations would best be done in a docker container, using a
vanilla image like CentOS or Ubuntu, add/change what you need, then run
tests, or build a custom container for your test runs. I do believe that
all the general-use slaves have docker installed.
--
Kind regards,
Michael
On 4/13/19 8:04 PM, Josh Fischer wrote:
I apologize.. I missed a few things.. I missed some higher level
requirements such as
Heron's documentation was primarily built using the following components:
- Hugo <http://gohugo.io/> --- Static site generator
- GulpJS <http://gulpjs.com/> --- Build tool for static assets
- Twitter Bootstrap <http://getbootstrap.com/> --- Sass/CSS and
JavaScript
and I missed the package.json in the directory.. It's contents are. I hope
I got it all now. If you would like to see the docs for the website they
are here <https://github.com/apache/incubator-heron/tree/master/website>
{
"private": true,
"dependencies": {
"del": "^2.2.2",
"gulp": "^4.0.0",
"gulp-autoprefixer": "^4.0.0",
"gulp-hash": "^4.1.1",
"gulp-sass": "^3.1.0",
"gulp-uglify": "^3.0.0"
},
"devDependencies": {
"concurrently": "^3.5.1"
}
} ]
On Sat, Apr 13, 2019 at 7:47 PM Josh Fischer <j...@joshfischer.io> wrote:
Hi,
I am one of the committers on the incubating project Heron. I am looking
to create a Jenkins job that will be triggered on commit's to the
"asf-site" branch to build and deploy our static assets. I'd like to check
if the Jenkins box supports what we will need for building our site as well
as get some guidance to where and how I will place the static assets to be
served for our site.
The requirements for building our site are as follows: (I copied our
setup script directly to make sure I didn't miss anything). I hope this
is enough detail, please let me know.
A quick overview is:
- Make <https://www.gnu.org/software/make/>
- Node.js <https://nodejs.org/en/>
- npm <https://www.npmjs.com/>
- pip <https://pypi.python.org/pypi/pip> - install PyYAML>=3.12
- Go <https://golang.org/> (make sure that your GOPATH and GOROOT are
set)
- Java 8
- Bazel 0.23
PLATFORM=`platform`
if [ $PLATFORM = darwin ]; then
go get -v github.com/gohugoio/hugo
which wget || brew install wget
elif [ $PLATFORM = ubuntu ]; then
sudo apt-get install golang git mercurial -y
export GOROOT=/usr/lib/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
go get -u -v github.com/spf13/hugo
elif [ $PLATFORM = centos ]; then
sudo yum -y install nodejs npm golang --enablerepo=epel
export GOROOT=/usr/lib/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
go get -u -v github.com/spf13/hugo
fi
npm install
sudo -H pip uninstall -y pygments
sudo -H pip install pygments==2.1.3 pdoc==0.3.2