Skip to content

Commit

Permalink
add echo of the ova URI
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosALgit committed Oct 14, 2024
1 parent 111654f commit 2a8ea25
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/builder_OVA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ env:
SECURITY_GROUP: "sg-005cff996b335d497"
SUBNET: "subnet-0b6aea31fb32cffad"
TEMPORAL_S3_BUCKET: "warehouse.wazuh.com"
S3_BUCKET: "packages-dev.wazuh.com"
S3_BUCKET: "packages-dev.internal.wazuh.com"
S3_PATH: "development/wazuh/4.x/secondary/OVA"
OVA_ENVIRONMENT: "vmware"
CONTAINER_FORMAT: "ova"
Expand Down Expand Up @@ -235,13 +235,17 @@ jobs:
- name: Exporting OVA to final repository
run: |
aws s3 cp --quiet /tmp/${{ env.FILENAME_OVA }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_OVA }}
aws s3 cp --quiet /tmp/${{ env.FILENAME_OVA }} s3://${{ env.S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_OVA }}
s3uri="s3://${{ env.S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_OVA }}" }}
echo "S3 OVA URI: ${s3uri}"
- name: Generating sha512 file
if: ${{ inputs.checksum == true }}
run: |
sha512sum /tmp/${{ env.FILENAME_OVA }} > /tmp/${{ env.FILENAME_SHA }}
aws s3 cp --quiet /tmp/${{ env.FILENAME_SHA }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_SHA }}
s3uri="s3://${{ env.S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_SHA }}"
echo "S3 OVA URI: ${s3uri}"
- name: Removing temporal files
run: |
Expand Down

0 comments on commit 2a8ea25

Please sign in to comment.