Skip to content

Commit 89496d3

Browse files
committed
refactor
1 parent 6ab0c51 commit 89496d3

File tree

4 files changed

+23
-134
lines changed

4 files changed

+23
-134
lines changed

.github/actions/setup/action.yml

Lines changed: 0 additions & 111 deletions
This file was deleted.

.github/workflows/integration-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ on:
99

1010
jobs:
1111
integration-tests:
12-
name: Integration Test - ES ${{ matrix.elastic_stack_version }} ${{ matrix.snapshot && '(Snapshot)' || '' }}
12+
name: Integration Test - ES ${{ matrix.elastic-stack-version }} ${{ matrix.snapshot && '(Snapshot)' || '' }}
1313
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
elastic_stack_version:
17+
elastic-stack-version:
1818
- "7.current"
1919
- "8.previous"
2020
- "8.current"
2121
- "9.current"
2222
snapshot: [false, true]
2323
include:
24-
- elastic_stack_version: "main"
24+
- elastic-stack-version: "main"
2525
snapshot: true
2626

2727
steps:
@@ -30,9 +30,9 @@ jobs:
3030

3131
- name: Setup test environment
3232
id: setup
33-
uses: ./.github/actions/setup
33+
uses: logstash-plugins/.ci/setup@feature/github-actions
3434
with:
35-
elastic_stack_version: ${{ matrix.elastic_stack_version }}
35+
elastic-stack-version: ${{ matrix.elastic-stack-version }}
3636
snapshot: ${{ matrix.snapshot }}
3737
integration: true
3838

.github/workflows/secure-integration-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ on:
99

1010
jobs:
1111
secure-integration-tests:
12-
name: Secure Integration Test - ES ${{ matrix.elastic_stack_version }} ${{ matrix.snapshot && '(Snapshot)' || '' }}
12+
name: Secure Integration Test - ES ${{ matrix.elastic-stack-version }} ${{ matrix.snapshot && '(Snapshot)' || '' }}
1313
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
elastic_stack_version:
17+
elastic-stack-version:
1818
- "7.current"
1919
- "8.current"
2020
- "9.current"
2121
snapshot: [false, true]
2222
include:
23-
- elastic_stack_version: "main"
23+
- elastic-stack-version: "main"
2424
snapshot: true
2525

2626
steps:
@@ -29,11 +29,11 @@ jobs:
2929

3030
- name: Setup test environment
3131
id: setup
32-
uses: ./.github/actions/setup
32+
uses: logstash-plugins/.ci/setup@feature/github-actions
3333
with:
34-
elastic_stack_version: ${{ matrix.elastic_stack_version }}
34+
elastic-stack-version: ${{ matrix.elastic-stack-version }}
3535
snapshot: ${{ matrix.snapshot }}
36-
secure_integration: true
36+
secure-integration: true
3737

3838
- name: Run secure integration tests
3939
if: steps.setup.outputs.skip != 'true'

.github/workflows/unit-tests.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@ on:
99

1010
jobs:
1111
unit-tests:
12-
name: Unit Test - ES ${{ matrix.elastic_stack_version }} ${{ matrix.snapshot && '(Snapshot)' || '' }}
12+
name: Unit Test - ES ${{ matrix.elastic-stack-version }} ${{ matrix.snapshot && '(Snapshot)' || '' }}
1313
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
elastic_stack_version:
17+
elastic-stack-version:
1818
- "9.current"
1919
- "9.previous"
2020
- "8.current"
2121
- "8.previous"
2222
- "7.current"
23-
docker_env: ["dockerjdk21.env"]
23+
docker-env: ["dockerjdk21.env"]
2424
snapshot: [false]
2525
exclude:
2626
# 7.x doesn't support JDK 21, use default JDK
27-
- elastic_stack_version: "7.current"
28-
docker_env: "dockerjdk21.env"
27+
- elastic-stack-version: "7.current"
28+
docker-env: "dockerjdk21.env"
2929
include:
3030
# 7.current with default JDK
31-
- elastic_stack_version: "7.current"
32-
docker_env: ""
31+
- elastic-stack-version: "7.current"
32+
docker-env: ""
3333
snapshot: false
3434
# Main snapshot with JDK 21
35-
- elastic_stack_version: "main"
36-
docker_env: "dockerjdk21.env"
35+
- elastic-stack-version: "main"
36+
docker-env: "dockerjdk21.env"
3737
snapshot: true
3838

3939
steps:
@@ -42,11 +42,11 @@ jobs:
4242

4343
- name: Setup test environment
4444
id: setup
45-
uses: ./.github/actions/setup
45+
uses: logstash-plugins/.ci/setup@feature/github-actions
4646
with:
47-
elastic_stack_version: ${{ matrix.elastic_stack_version }}
47+
elastic-stack-version: ${{ matrix.elastic-stack-version }}
4848
snapshot: ${{ matrix.snapshot || false }}
49-
docker_env: ${{ matrix.docker_env || '' }}
49+
docker-env: ${{ matrix.docker-env || '' }}
5050

5151
- name: Run unit tests
5252
if: steps.setup.outputs.skip != 'true'

0 commit comments

Comments
 (0)