-
Notifications
You must be signed in to change notification settings - Fork 0
How to build Jenkins X on Power
Prajyot-Parab edited this page Nov 1, 2018
·
5 revisions
- git
- curl
- wget
- make
- tar
- Go 1.11.x or later
- dep
-- The jx's binary eCLI is built on your machine in your GO Path.
sudo su
wget https://dl.google.com/go/go1.11.1.linux-ppc64le.tar.gz
chmod ugo+r go1.11.1.linux-ppc64le.tar.gz
tar -C /usr/local -xzf go1.11.1.linux-ppc64le.tar.gz
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/<source_root>/curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh-- Begin at Github by forking jx, then clone your fork locally. Since jx is a Go package, it should be located at $GOPATH/src/github.com/jenkins-x/jx.
mkdir -p $GOPATH/src/github.com/jenkins-x
cd $GOPATH/src/github.com/jenkins-x
git clone [email protected]:<username>/jx.git
cd jx-- With the prerequisites installed and your fork of jx cloned, you can make changes to local jx source code.
- Run make to build the jx binaries:
make build- To run the standard test suite:
make test- To run the standard test suite including slow running tests:
make test-slow- To run all tests including integration tests (NOTE These tests are not encapsulated):
make test-slow-integration- To get a nice HTML report on the tests:
make test-report-htmlNote: There are few test case failures observed on power for helm, kube and cmd module.