From b7742907693b6fe388a80e0f418ba8ff33b940cf Mon Sep 17 00:00:00 2001 From: rs-eliatra Date: Mon, 31 Jan 2022 17:48:38 +0100 Subject: [PATCH] remove '--no-daemon' from commands Signed-off-by: rs-eliatra --- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 6 +++--- DEVELOPER_GUIDE.md | 2 +- README.md | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ed02745f78..aa6ca10fe0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3fb3adf01..2ecc0f6baf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 6ed6eea921..af45a24d2c 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -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: diff --git a/README.md b/README.md index e82e498d61..2e5488786c 100644 --- a/README.md +++ b/README.md @@ -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: