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

Split Windows CI JDK Matrix job to Java and Ruby #15566

Closed
1 of 2 tasks
dliappis opened this issue Nov 10, 2023 · 0 comments · Fixed by #15861 or #15888
Closed
1 of 2 tasks

Split Windows CI JDK Matrix job to Java and Ruby #15566

dliappis opened this issue Nov 10, 2023 · 0 comments · Fixed by #15861 or #15888
Assignees
Labels

Comments

@dliappis
Copy link
Contributor

dliappis commented Nov 10, 2023

Tasks

Tasks

Description

Background: #15563 (comment)

Currently the unit test script for Windows (

call .\gradlew.bat test --console=plain --no-daemon --info
) runs both Java and Ruby tests and doesn't provide a way to select the suite.

We should enhance the script to allow selecting the suite similarly to how it's possible in the Unix counterpart:

echo "Running Java Tests"
./gradlew javaTests "${SONAR_ARGS[@]}" --console=plain --warning-mode all
elif [[ $SELECTED_TEST_SUITE == $"ruby" ]]; then
echo "Running Ruby unit tests"
./gradlew rubyTests --console=plain --warning-mode all
else

and also split the Windows group to have two steps in the group.

While at it we could also modernize the script and rewrite it in Powershell rather than the old batch file format.

@dliappis dliappis added the ci label Nov 10, 2023
@dliappis dliappis self-assigned this Nov 10, 2023
dliappis added a commit to dliappis/logstash that referenced this issue Jan 26, 2024
This commit allows separate running of Java and Ruby tests on Windows
i.e. the same way as we currently do on unix (`unit_tests.sh`)
via a cli argument.

If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to
powershell.

Relates elastic#15566
@dliappis dliappis linked a pull request Jan 29, 2024 that will close this issue
dliappis added a commit that referenced this issue Feb 1, 2024
This commit allows separate running of Java and Ruby tests on Windows i.e. the same way as we currently do on unix (unit_tests.sh) via a cli argument.
If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to Powershell.

This work allows us to split the existing Windows CI job in a subsequent PR to separate steps, as we currently do on Linux.

Relates: #15566
github-actions bot pushed a commit that referenced this issue Feb 1, 2024
This commit allows separate running of Java and Ruby tests on Windows i.e. the same way as we currently do on unix (unit_tests.sh) via a cli argument.
If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to Powershell.

This work allows us to split the existing Windows CI job in a subsequent PR to separate steps, as we currently do on Linux.

Relates: #15566
(cherry picked from commit 8ac5518)
github-actions bot pushed a commit that referenced this issue Feb 1, 2024
This commit allows separate running of Java and Ruby tests on Windows i.e. the same way as we currently do on unix (unit_tests.sh) via a cli argument.
If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to Powershell.

This work allows us to split the existing Windows CI job in a subsequent PR to separate steps, as we currently do on Linux.

Relates: #15566
(cherry picked from commit 8ac5518)
dliappis added a commit to dliappis/logstash that referenced this issue Feb 1, 2024
As a follow up to elastic#15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes elastic#15566
dliappis added a commit that referenced this issue Feb 1, 2024
This commit allows separate running of Java and Ruby tests on Windows i.e. the same way as we currently do on unix (unit_tests.sh) via a cli argument.
If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to Powershell.

This work allows us to split the existing Windows CI job in a subsequent PR to separate steps, as we currently do on Linux.

Relates: #15566
(cherry picked from commit 8ac5518)

Co-authored-by: Dimitrios Liappis <[email protected]>
dliappis added a commit that referenced this issue Feb 1, 2024
This commit allows separate running of Java and Ruby tests on Windows i.e. the same way as we currently do on unix (unit_tests.sh) via a cli argument.
If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to Powershell.

This work allows us to split the existing Windows CI job in a subsequent PR to separate steps, as we currently do on Linux.

Relates: #15566
(cherry picked from commit 8ac5518)

Co-authored-by: Dimitrios Liappis <[email protected]>
@dliappis dliappis reopened this Feb 2, 2024
dliappis added a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566
github-actions bot pushed a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566

(cherry picked from commit c0c213d)
github-actions bot pushed a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566

(cherry picked from commit c0c213d)
github-actions bot pushed a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566

(cherry picked from commit c0c213d)
dliappis added a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566

(cherry picked from commit c0c213d)

Co-authored-by: Dimitrios Liappis <[email protected]>
dliappis added a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566

(cherry picked from commit c0c213d)

Co-authored-by: Dimitrios Liappis <[email protected]>
dliappis added a commit that referenced this issue Mar 11, 2024
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes #15566

(cherry picked from commit c0c213d)

Co-authored-by: Dimitrios Liappis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant