wazuh / wazuh-indexer

Wazuh indexer, the Wazuh search engine
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
6 stars 16 forks source link

Wazuh indexer build package workflow is broken #206

Closed rauldpm closed 2 months ago

rauldpm commented 2 months ago

Description

Testing the workflows merged in the numbered branch, an error has appeared just running the workflow, we must fix this

https://github.com/wazuh/wazuh-indexer/actions/runs/8710043389

image

Inputs

image

Using the GitHub CLI, the workflow fails with the same error

gh workflow run build_single.yml --repo=wazuh/wazuh-indexer --ref 4.9.0 -f system=deb -f architecture=amd64 -f revision=999 -f is_stage=true -f checksum=true

image

AlexRuiz7 commented 2 months ago

Looks like the inputs for on.workflow_call can only be string, boolean or number.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callinputsinput_idtype

This doesn't meet the requirements agreed for this development, which was to use choice.

We can fix that, using string instead.

@rauldpm