Skip to content

Commit

Permalink
remove '--no-daemon' from commands
Browse files Browse the repository at this point in the history
Signed-off-by: rs-eliatra <[email protected]>
  • Loading branch information
rs-eliatra committed Jan 31, 2022
1 parent ca9286f commit 1d78eee
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:

- name: Build
run: |
./gradlew clean build --no-daemon -Dbuild.snapshot=false -x test
./gradlew clean build -Dbuild.snapshot=false -x test
artifact_zip=`ls $(pwd)/build/distributions/opensearch-security-*.zip | grep -v admin-standalone`
./gradlew build buildDeb buildRpm --no-daemon -ParchivePath=$artifact_zip -Dbuild.snapshot=false -x test
./gradlew build buildDeb buildRpm -ParchivePath=$artifact_zip -Dbuild.snapshot=false -x test
mkdir artifacts
cp $artifact_zip artifacts/
cp build/distributions/*.deb artifacts/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ jobs:
restore-keys: ${{ runner.os }}-m2

- name: Checkstyle
run: ./gradlew clean checkstyleMain checkstyleTest --no-daemon
run: ./gradlew clean checkstyleMain checkstyleTest

- name: Package
run: ./gradlew clean build --no-daemon -Dbuild.snapshot=false -x test
run: ./gradlew clean build -Dbuild.snapshot=false -x test

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

- name: Test
run: ./gradlew test --no-daemon
run: ./gradlew test

- name: Coverage
uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The `curl localhost:9200` call from before should also succeed now. Kill the ser
First create a fork of this repo and clone it locally. Changing into the directory of the newly cloned repository, run the following to build the project:

```bash
./gradlew clean assemble --no-daemon
./gradlew clean assemble
```

Install the built plugin into the OpenSearch server:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ You can also see the [developer guide](https://github.com/opensearch-project/sec

Run all tests:
```bash
./gradlew clean test --no-daemon
./gradlew clean test
```

Build artifacts (zip, deb, rpm):
```bash
./gradlew clean assemble --no-daemon
./gradlew clean assemble
artifact_zip=`ls $(pwd)/build/distributions/opensearch-security-*.zip | grep -v admin-standalone`
./gradlew buildDeb buildRpm --no-daemon -ParchivePath=$artifact_zip
./gradlew buildDeb buildRpm -ParchivePath=$artifact_zip
```

This produces:
Expand Down

0 comments on commit 1d78eee

Please sign in to comment.