Skip to content

Commit 290f3be

Browse files
mergify[bot]v1v
andauthored
ci: use ubuntu-slim and filter if branch does not exist yet (#19912) (#19917)
(cherry picked from commit 0744b6e) Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
1 parent 7aac478 commit 290f3be

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/bump-elastic-stack.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ permissions:
1111

1212
jobs:
1313
filter:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-slim
1515
timeout-minutes: 1
1616
outputs:
1717
matrix: ${{ steps.generator.outputs.matrix }}
1818
steps:
1919
- id: generator
2020
uses: elastic/oblt-actions/elastic/active-branches@v1
21+
with:
22+
filter-branches: true
2123

2224
bump-elastic-stack:
2325
runs-on: ubuntu-latest

.github/workflows/check-docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ permissions:
1111

1212
jobs:
1313
filter:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-slim
1515
timeout-minutes: 1
1616
outputs:
1717
matrix: ${{ steps.generator.outputs.matrix }}
1818
steps:
1919
- id: generator
2020
uses: elastic/oblt-actions/elastic/active-branches@v1
21+
with:
22+
filter-branches: true
2123

2224
check-docker-compose:
2325
needs:

.github/workflows/smoke-tests-schedule.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
prepare-smoke-tests-os:
1515
name: Generate smoke tests list
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-slim
1717
outputs:
1818
matrix: ${{ steps.generate.outputs.matrix }}
1919
steps:
@@ -23,6 +23,7 @@ jobs:
2323
uses: elastic/oblt-actions/elastic/active-branches@v1
2424
with:
2525
exclude-branches: '7.17'
26+
filter-branches: true
2627

2728
smoke-tests-os:
2829
name: Run smoke tests OS

.github/workflows/update-beats.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ permissions:
1010

1111
jobs:
1212
filter:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
timeout-minutes: 1
1515
outputs:
1616
matrix: ${{ steps.generator.outputs.matrix }}
1717
steps:
1818
- id: generator
1919
uses: elastic/oblt-actions/elastic/active-branches@v1
20+
with:
21+
filter-branches: true
2022
bump:
2123
needs:
2224
- filter

0 commit comments

Comments
 (0)