Skip to content

Commit

Permalink
Merge branch 'main' into 264-migration-to-wazuh-indexer-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Feb 10, 2025
2 parents cb733b8 + e8b54c0 commit c671fec
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ on:
wazuh_plugins_ref:
description: "Branch, commit or tag for the wazuh-indexer-plugins repository."
type: string
default: "master"
default: "main"
required: false
reporting_plugin_ref:
description: "Branch, commit or tag for the wazuh-indexer-reporting repository."
type: string
default: "master"
default: "main"
required: false
workflow_call:
inputs:
Expand All @@ -48,12 +48,12 @@ on:
wazuh_plugins_ref:
description: "Branch, commit or tag for the wazuh-indexer-plugins repository."
type: string
default: "master"
default: "main"
required: false
reporting_plugin_ref:
description: "Branch, commit or tag for the wazuh-indexer-reporting repository."
type: string
default: "master"
default: "main"
required: false
secrets:
QUAY_USERNAME:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ on:
wazuh_plugins_ref:
description: "Branch, commit or tag for the wazuh-indexer-plugins repository."
type: string
default: "master"
default: "main"
reporting_plugin_ref:
description: "Branch, commit or tag for the wazuh-indexer-reporting repository."
type: string
default: "master"
default: "main"
workflow_call:
inputs:
revision:
Expand All @@ -86,10 +86,10 @@ on:
required: false
wazuh_plugins_ref:
type: string
default: "master"
default: "main"
reporting_plugin_ref:
type: string
default: "master"
default: "main"
secrets:
CI_INTERNAL_DEVELOPMENT_BUCKET_USER_ACCESS_KEY:
required: true
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Security

[Unreleased 5.0.x]: https://github.com/wazuh/wazuh-indexer/compare/4.10.2...master
[Unreleased 5.0.x]: https://github.com/wazuh/wazuh-indexer/compare/99a9a81da366173b0c2b963b26ea92e15ef34547...main
4 changes: 2 additions & 2 deletions build-scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Use the script under `wazuh-indexer/docker/builder/builder.sh` to build a packag
Usage: ./builder.sh [args]

Arguments:
-p INDEXER_PLUGINS_BRANCH [Optional] wazuh-indexer-plugins repo branch, default is 'master'.
-r INDEXER_REPORTING_BRANCH [Optional] wazuh-indexer-reporting repo branch, default is 'master'.
-p INDEXER_PLUGINS_BRANCH [Optional] wazuh-indexer-plugins repo branch, default is 'main'.
-r INDEXER_REPORTING_BRANCH [Optional] wazuh-indexer-reporting repo branch, default is 'main'.
-R REVISION [Optional] Package revision, default is '0'.
-s STAGE [Optional] Staging build, default is 'false'.
-d DISTRIBUTION [Optional] Distribution, default is 'rpm'.
Expand Down
8 changes: 4 additions & 4 deletions docker/builder/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ function parse_args() {
done

## Set defaults:
[ -z "$INDEXER_PLUGINS_BRANCH" ] && INDEXER_PLUGINS_BRANCH="master"
[ -z "$INDEXER_REPORTING_BRANCH" ] && INDEXER_REPORTING_BRANCH="master"
[ -z "$INDEXER_PLUGINS_BRANCH" ] && INDEXER_PLUGINS_BRANCH="main"
[ -z "$INDEXER_REPORTING_BRANCH" ] && INDEXER_REPORTING_BRANCH="main"
[ -z "$REVISION" ] && REVISION="0"
[ -z "$IS_STAGE" ] && IS_STAGE="false"
[ -z "$DISTRIBUTION" ] && DISTRIBUTION="rpm"
Expand All @@ -82,8 +82,8 @@ function usage() {
echo "Usage: $0 [args]"
echo ""
echo "Arguments:"
echo -e "-p INDEXER_PLUGINS_BRANCH\t[Optional] wazuh-indexer-plugins repo branch, default is 'master'."
echo -e "-r INDEXER_REPORTING_BRANCH\t[Optional] wazuh-indexer-reporting repo branch, default is 'master'."
echo -e "-p INDEXER_PLUGINS_BRANCH\t[Optional] wazuh-indexer-plugins repo branch, default is 'main'."
echo -e "-r INDEXER_REPORTING_BRANCH\t[Optional] wazuh-indexer-reporting repo branch, default is 'main'."
echo -e "-R REVISION\t[Optional] Package revision, default is '0'."
echo -e "-s STAGE\t[Optional] Staging build, default is 'false'."
echo -e "-d DISTRIBUTION\t[Optional] Distribution, default is 'rpm'."
Expand Down
4 changes: 2 additions & 2 deletions docker/builder/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
context: ./../..
dockerfile: ${REPO_PATH}/docker/builder/Dockerfile
environment:
- INDEXER_PLUGINS_BRANCH=${INDEXER_PLUGINS_BRANCH:-master}
- INDEXER_REPORTING_BRANCH=${INDEXER_REPORTING_BRANCH:-master}
- INDEXER_PLUGINS_BRANCH=${INDEXER_PLUGINS_BRANCH:-main}
- INDEXER_REPORTING_BRANCH=${INDEXER_REPORTING_BRANCH:-main}
- REVISION=${REVISION:-0}
- IS_STAGE=${IS_STAGE:-false}
- DISTRIBUTION=${DISTRIBUTION:-rpm}
Expand Down
4 changes: 2 additions & 2 deletions docker/builder/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
set -e

# Set default values for environment variables
INDEXER_PLUGINS_BRANCH=${INDEXER_PLUGINS_BRANCH:-master}
INDEXER_REPORTING_BRANCH=${INDEXER_REPORTING_BRANCH:-master}
INDEXER_PLUGINS_BRANCH=${INDEXER_PLUGINS_BRANCH:-main}
INDEXER_REPORTING_BRANCH=${INDEXER_REPORTING_BRANCH:-main}
REVISION=${REVISION:-0}
IS_STAGE=${IS_STAGE:-false}
DISTRIBUTION=${DISTRIBUTION:-rpm}
Expand Down

0 comments on commit c671fec

Please sign in to comment.