Skip to content

Commit

Permalink
Remove validation for duplicate packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostti committed Nov 11, 2024
1 parent c456b95 commit 7081497
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build_wazuh_dashboard_with_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,18 @@ jobs:
aws-secret-access-key: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_SECRET_KEY }}
aws-region: ${{ secrets.CI_AWS_REGION }}

- name: Verify if package is already built
run: |
set +e
echo "Verifying package"
PACKAGE_NAME=${{ needs.setup-variables.outputs.PACKAGE_NAME }}
exists=$(aws s3 ls s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/$PACKAGE_NAME)
if [ -n "$exists" ]; then
echo "Package already exists"
exit 1
fi
set -e

# - name: Verify if package is already built
# run: |
# set +e
# echo "Verifying package"
# PACKAGE_NAME=${{ needs.setup-variables.outputs.PACKAGE_NAME }}
# exists=$(aws s3 ls s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/$PACKAGE_NAME)
# if [ -n "$exists" ]; then
# echo "Package already exists"
# exit 1
# fi
# set -e

build-base:
needs: [validate-job]
Expand Down

0 comments on commit 7081497

Please sign in to comment.