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

Added S3 URI output to package generation upload #190

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

rauldpm
Copy link
Member

@rauldpm rauldpm commented Jun 4, 2024

Description

This PR adds an S3 URI output in the Wazuh dashboard package generation to comply with an objective requisite
This output is standardized and used on all package generation workflows
This output is used by the stage generation script to obtain the S3 object URI
This PR also improves the checksum upload

Issues Related

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Workflow functionality

 Completed 166.1 MiB/166.1 MiB (98.3 MiB/s) with 1 file(s) remaining 
upload: dev-tools/build-packages/output/deb/wazuh-dashboard_4.9.0-99_amd64.deb to s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/wazuh-dashboard_4.9.0-99_amd64.deb
S3 URI: s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/wazuh-dashboard_4.9.0-99_amd64.deb

Run echo "Uploading checksum"
Uploading checksum
Completed 165 Bytes/165 Bytes (481 Bytes/s) with 1 file(s) remaining
upload: dev-tools/build-packages/output/deb/wazuh-dashboard_4.9.0-99_amd64.deb.sha512 to s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/wazuh-dashboard_4.9.0-99_amd64.deb.sha512
S3 sha512 URI: s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/wazuh-dashboard_4.9.0-99_amd64.deb.sha512

@rauldpm rauldpm self-assigned this Jun 4, 2024
@asteriscos
Copy link
Member

LGTM 🟢

@Tostti Tostti merged commit dfb22c6 into 4.9.0 Jun 5, 2024
92 checks passed
@Tostti Tostti deleted the enhancement/wj6371-add-workflow-s3uri-output branch June 5, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants