forked from wazuh/wazuh-docker
Added Wazuh installation assistant tool as component
This commit is contained in:
@@ -17,13 +17,13 @@ on:
|
|||||||
default: 'main'
|
default: 'main'
|
||||||
products:
|
products:
|
||||||
description: 'Comma-separated list of the image names to build and push'
|
description: 'Comma-separated list of the image names to build and push'
|
||||||
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer,wazuh-agent'
|
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer,wazuh-agent,wazuh-assistant'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
commit_list:
|
commit_list:
|
||||||
description: 'Wazuh components revisions (only for dev): json array with commit-hash for each product'
|
description: 'Wazuh components revisions (only for dev): json array with commit-hash for each product'
|
||||||
type: string
|
type: string
|
||||||
default: '["latest", "latest", "latest", "latest"]'
|
default: '["latest", "latest", "latest", "latest", "latest"]'
|
||||||
id:
|
id:
|
||||||
description: "ID used to identify the workflow uniquely."
|
description: "ID used to identify the workflow uniquely."
|
||||||
type: string
|
type: string
|
||||||
@@ -51,13 +51,13 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
products:
|
products:
|
||||||
description: 'Comma-separated list of the image names to build and push'
|
description: 'Comma-separated list of the image names to build and push'
|
||||||
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer,wazuh-agent'
|
default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer,wazuh-agent,wazuh-assistant'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
commit_list:
|
commit_list:
|
||||||
description: 'Wazuh components revisions (only for dev): json array with commit-hash for each product'
|
description: 'Wazuh components revisions (only for dev): json array with commit-hash for each product'
|
||||||
type: string
|
type: string
|
||||||
default: '["latest", "latest", "latest", "latest"]'
|
default: '["latest", "latest", "latest", "latest", "latest"]'
|
||||||
id:
|
id:
|
||||||
description: "ID used to identify the workflow uniquely."
|
description: "ID used to identify the workflow uniquely."
|
||||||
type: string
|
type: string
|
||||||
@@ -117,7 +117,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
WC_JSON_ARRAY+="]"
|
WC_JSON_ARRAY+="]"
|
||||||
else
|
else
|
||||||
WC_JSON_ARRAY='["wazuh-manager","wazuh-dashboard","wazuh-indexer","wazuh-agent"]'
|
WC_JSON_ARRAY='["wazuh-manager","wazuh-dashboard","wazuh-indexer","wazuh-agent","wazuh-assistant"]'
|
||||||
fi
|
fi
|
||||||
echo "Products to build: $WC_JSON_ARRAY"
|
echo "Products to build: $WC_JSON_ARRAY"
|
||||||
echo "WAZUH_COMPONENTS=$WC_JSON_ARRAY" >> $GITHUB_OUTPUT
|
echo "WAZUH_COMPONENTS=$WC_JSON_ARRAY" >> $GITHUB_OUTPUT
|
||||||
@@ -250,6 +250,9 @@ jobs:
|
|||||||
wazuh-agent)
|
wazuh-agent)
|
||||||
AGENT_REVISION="${REVISIONS[$i]}"
|
AGENT_REVISION="${REVISIONS[$i]}"
|
||||||
;;
|
;;
|
||||||
|
wazuh-assistant)
|
||||||
|
ASSISTANT_REVISION="${REVISIONS[$i]}"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user