Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New workflows names and triggers #23

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ run-name: Build Wazuh Indexer Reporting plugin | ${{ inputs.id}}
name: Build packages

# This workflow runs when any of the following occur:
# - Any changes
# - Run manually
# - Invoked from another workflow
on:
push:
paths-ignore:
- '**/*.md'
workflow_dispatch:
inputs:
revision:
Expand Down Expand Up @@ -59,13 +63,13 @@ jobs:
run: echo "version=$(jq -r .version<VERSION.json)" >> "$GITHUB_OUTPUT"

- name: Build with Gradle
run: ./gradlew build -Dversion=${{ steps.version.outputs.version }} -Drevision=${{ inputs.revision }}
run: ./gradlew build -Dversion=${{ steps.version.outputs.version }} -Drevision=${{ inputs.revision || '0' }}

- run: ls -la build/distributions

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.plugin_name }}-${{ steps.version.outputs.version }}.${{ inputs.revision }}.zip
path: build/distributions/${{ env.plugin_name }}-${{ steps.version.outputs.version }}.${{ inputs.revision }}.zip
name: ${{ env.plugin_name }}-${{ steps.version.outputs.version }}.${{ inputs.revision || '0' }}.zip
path: build/distributions/${{ env.plugin_name }}-${{ steps.version.outputs.version }}.${{ inputs.revision || '0' }}.zip
if-no-files-found: error
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Link Checker
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
linkchecker:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/5_testintegration_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

# This workflow runs when any of the following occur:
# - On any changes
on:
push:

env:
wazuh_reporting_ref: ${{ github.ref }}

jobs:
call-test-workflow:
runs-on: ubuntu-22.04

steps:

- uses: actions/checkout@v4
with:
repository: wazuh/wazuh-indexer-reporting
ref: ${{ env.wazuh_reporting_ref }}

- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21

- name: Run Gradle check
run: ./gradlew check
30 changes: 0 additions & 30 deletions .github/workflows/backport.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/ci.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/delete_backport_branch.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/draft-release-notes-workflow.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/maven-publish.yml

This file was deleted.

128 changes: 0 additions & 128 deletions .github/workflows/reports-scheduler-test-and-build-workflow.yml

This file was deleted.

Loading