Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup local env instructions #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions setup_local_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The environment is composed by:
Simplest setup with all default values and cleanup previous deployment

```bash
sh setup_local_env/setup.sh --release-war-file /path/to/release.war --multisite-plugin-file /path/to/multi-site.jar
sh setup_local_env/setup.sh --release-war-file /path/to/release.war --multisite-lib-file /path/to/multi-site.jar
```

Cleanup the previous deployments
Expand All @@ -32,13 +32,13 @@ sh setup_local_env/setup.sh --just-cleanup-env true
Help

```bash
Usage: sh setup.sh [--option ]
Usage: sh ./setup_local_env/setup.sh [--option ]

[--release-war-file] Location to release.war file
[--multisite-plugin-file] Location to plugin multi-site.jar file
[--multisite-lib-file] Location to lib multi-site.jar file

[--new-deployment] Cleans up previous gerrit deployment and re-installs it. default true
[--get-websession-plugin] Download websession-flatfile plugin from CI lastSuccessfulBuild; default true
[--get-websession-plugin] Download websession-broker plugin from CI lastSuccessfulBuild; default true
[--deployment-location] Base location for the test deployment; default /tmp

[--gerrit-canonical-host] The default host for Gerrit to be accessed through; default localhost
Expand All @@ -53,7 +53,9 @@ Usage: sh setup.sh [--option ]
[--gerrit2-sshd-port] Gerrit Instance 2 sshd port; default 49418

[--replication-type] Options [file,ssh]; default ssh
[--replication-ssh-user] SSH user for the replication plugin; default $(whoami)
[--replication-ssh-user] SSH user for the replication plugin; default jigarrathod
[--replication-delay] Replication delay across the two instances in seconds

[--just-cleanup-env] Cleans up previous deployment; default false

[--enabled-https] Enabled https; default true
Expand Down