Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Aug 21, 2024
1 parent 7b74df4 commit b4a61fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,11 @@ jobs:
)
echo "matrix=$matrix" >> $GITHUB_OUTPUT
# build-setup-plugin:
# if: ${{ inputs.build_plugins }}
# name: Build wazuh-indexer-setup plugin
# uses: wazuh/wazuh-indexer-plugins/.github/workflows/build.yml@ci/13-add-build-workflow
# with:
# revision: ${{ inputs.revision }}
# plugin: wazuh-indexer-setup
# id: ${{ inputs.id }}

build-plugins:
strategy:
fail-fast: false
matrix:
plugins: [ "wazuh-indexer-setup" ]
plugins: ["wazuh-indexer-setup"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -153,10 +144,10 @@ jobs:
working-directory: ./plugins/${{ matrix.plugins }}
run: |
./gradlew build -Dversion=${{ steps.version.outputs.version }} -Drevision=${{ inputs.revision }}
- name: Publish to Maven local
working-directory: ./plugins/${{ matrix.plugins }}
run: |
run: |
./gradlew publishToMavenLocal -Dversion=${{ steps.version.outputs.version }} -Drevision=${{ inputs.revision }}
ls -lR "${HOME}/.m2/repository/org/wazuh/"
Expand All @@ -174,7 +165,7 @@ jobs:
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v4

- name: Provision
if: ${{ matrix.distribution == 'deb' }}
Expand Down
4 changes: 2 additions & 2 deletions packaging_scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function fix_log_rotation() {
echo 'grant {'
echo ' permission java.lang.RuntimePermission "accessUserInformation";'
echo '};'
} >> "${1}/opensearch-performance-analyzer/opensearch_security.policy"
} >>"${1}/opensearch-performance-analyzer/opensearch_security.policy"
}

# ====
Expand Down Expand Up @@ -422,7 +422,7 @@ function main() {
esac

# Create checksum
sha512sum "${OUTPUT}/dist/$ARTIFACT_PACKAGE_NAME" > "${OUTPUT}/dist/$ARTIFACT_PACKAGE_NAME".sha512
sha512sum "${OUTPUT}/dist/$ARTIFACT_PACKAGE_NAME" >"${OUTPUT}/dist/$ARTIFACT_PACKAGE_NAME".sha512
}

main "${@}"

0 comments on commit b4a61fa

Please sign in to comment.