forked from wazuh/wazuh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build_wazuh_dashboard_with_plugins.yml
Signed-off-by: Nicolas Agustin Guevara Pihen <[email protected]>
- Loading branch information
Showing
1 changed file
with
9 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,21 +103,21 @@ jobs: | |
build-base: | ||
needs: [validate-inputs] | ||
name: Build dashboard | ||
uses: wazuh/wazuh-dashboard/.github/workflows/[email protected] | ||
uses: Tostti/wazuh-dashboard/.github/workflows/[email protected] | ||
with: | ||
CHECKOUT_TO: ${{ github.head_ref || github.ref_name }} | ||
|
||
build-main-plugins: | ||
needs: [validate-inputs] | ||
name: Build plugins | ||
uses: wazuh/wazuh-dashboard-plugins/.github/workflows/[email protected] | ||
uses: Tostti/wazuh-dashboard-plugins/.github/workflows/[email protected] | ||
with: | ||
reference: ${{ inputs.reference_wazuh_plugins }} | ||
|
||
build-security-plugin: | ||
needs: [validate-inputs] | ||
name: Build security plugin | ||
uses: wazuh/wazuh-security-dashboards-plugin/.github/workflows/[email protected] | ||
uses: Tostti/wazuh-security-dashboards-plugin/.github/workflows/[email protected] | ||
with: | ||
reference: ${{ inputs.reference_security_plugins }} | ||
|
||
|
@@ -207,24 +207,10 @@ jobs: | |
bash ./test-packages.sh \ | ||
-p ${{env.PACKAGE_NAME}} | ||
- name: Set up AWS CLI | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
- uses: actions/upload-artifact@v3 | ||
if: success() | ||
with: | ||
aws-access-key-id: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_ACCESS_KEY }} | ||
aws-secret-access-key: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_SECRET_KEY }} | ||
aws-region: ${{ secrets.CI_AWS_REGION }} | ||
|
||
- name: Upload package | ||
run: | | ||
echo "Uploading package" | ||
aws s3 cp ${{ env.CURRENT_DIR }}/dev-tools/build-packages/output/${{ inputs.system }}/${{env.PACKAGE_NAME}} s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/ | ||
s3uri="s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/${{env.PACKAGE_NAME}}" | ||
echo "S3 URI: ${s3uri}" | ||
- name: Upload SHA512 | ||
if: ${{ inputs.checksum }} | ||
run: | | ||
echo "Uploading checksum" | ||
aws s3 cp ${{ env.CURRENT_DIR }}/dev-tools/build-packages/output/${{ inputs.system }}/${{env.PACKAGE_NAME}}.sha512 s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/ | ||
s3uri="s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/${{env.PACKAGE_NAME}}.sha512" | ||
echo "S3 sha512 URI: ${s3uri}" | ||
name: ${{env.PACKAGE_NAME}} | ||
path: ${{ env.CURRENT_DIR }}/dev-tools/build-packages/output/${{ inputs.system }}/${{env.PACKAGE_NAME}} | ||
retention-days: 30 | ||
|