-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
89 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,38 +41,38 @@ $ GOOS=linux GOARCH=amd64 ./make.bash --no-clean | |
|
||
## Fork the Repository | ||
|
||
Begin at GitHub by forking jx-cli, then clone your fork locally. Since jx-cli is a Go package, it | ||
should be located at `$GOPATH/src/github.com/jenkins-x/jx-cli`. | ||
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`. | ||
|
||
```shell | ||
$ mkdir -p $GOPATH/src/github.com/jenkins-x | ||
$ cd $GOPATH/src/github.com/jenkins-x | ||
$ git clone [email protected]:<username>/jx-cli.git | ||
$ cd jx-cli | ||
$ git clone [email protected]:<username>/jx.git | ||
$ cd jx | ||
``` | ||
|
||
Add the conventional [upstream][] `git` remote in order to fetch changes from jx-cli's main master | ||
Add the conventional [upstream][] `git` remote in order to fetch changes from jx's main master | ||
branch and to create pull requests: | ||
|
||
```shell | ||
$ git remote add upstream https://github.com/jenkins-x/jx-cli.git | ||
$ git remote add upstream https://github.com/jenkins-x/jx.git | ||
``` | ||
|
||
## Build Your Changes | ||
|
||
With the prerequisites installed and your fork of jx-cli cloned, you can make changes to local jx-cli | ||
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-cli` binaries: | ||
Run `make` to build the `jx` binaries: | ||
|
||
```shell | ||
|
||
$ make build # runs dep and builds `jx-cli` inside the build/ | ||
$ make build # runs dep and builds `jx` inside the build/ | ||
``` | ||
|
||
## Testing | ||
|
||
The jx-cli test suite is divided into three sections: | ||
The jx test suite is divided into three sections: | ||
- The standard unit test suite | ||
- Slow unit tests | ||
- Integration tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CHART_REPO := gs://jenkinsxio/charts | ||
NAME := jx-cli | ||
NAME := jx | ||
|
||
build: clean | ||
rm -rf Chart.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
### Linux | ||
|
||
```shell | ||
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v{{.Version}}/jx-cli-linux-amd64.tar.gz | tar xzv | ||
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz | tar xzv | ||
sudo mv jx /usr/local/bin | ||
``` | ||
|
||
### macOS | ||
|
||
```shell | ||
curl -L https://github.com/jenkins-x/jx-cli/releases/download/v{{.Version}}/jx-cli-darwin-amd64.tar.gz | tar xzv | ||
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz | tar xzv | ||
sudo mv jx /usr/local/bin | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.