Skip to content

Commit

Permalink
fix trigger condition for smoketest images (#10271)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger authored Jan 30, 2024
1 parent 2e5ac56 commit 0337158
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-smoke-test-grpc-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "smoke-tests/images/grpc/**"
- ".github/workflows/pr-smoke-test-grpc-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-smoke-test-play-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "smoke-tests/images/play/**"
- ".github/workflows/pr-smoke-test-play-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-smoke-test-quarkus-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "smoke-tests/images/quarkus/**"
- ".github/workflows/pr-smoke-test-quarkus-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-smoke-test-security-manager-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "smoke-tests/images/security-manager/**"
- ".github/workflows/pr-smoke-test-security-manager-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-smoke-test-spring-boot-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- "smoke-tests/images/spring-boot/**"
- ".github/workflows/pr-smoke-test-spring-boot-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-smoke-test-grpc-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
paths:
- "smoke-tests/images/grpc/**"
- ".github/workflows/publish-smoke-test-grpc-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main
workflow_dispatch:

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-smoke-test-play-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
paths:
- "smoke-tests/images/play/**"
- ".github/workflows/publish-smoke-test-play-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main
workflow_dispatch:

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-smoke-test-quarkus-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
paths:
- "smoke-tests/images/quarkus/**"
- ".github/workflows/publish-smoke-test-quarkus-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main
workflow_dispatch:

jobs:
publish:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
paths:
- "smoke-tests/images/security-manager/**"
- ".github/workflows/publish-smoke-test-security-manager-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main
workflow_dispatch:

jobs:
publish:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
paths:
- "smoke-tests/images/spring-boot/**"
- ".github/workflows/publish-smoke-test-spring-boot-images.yml"
- ".github/workflows/reusable-smoke-test-images.yml"
branches:
- main
workflow_dispatch:

jobs:
publish:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/reusable-smoke-test-images.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Every workflow that includes this must also include the following to make sure that it
# is triggered when a new JDK is added to the matrix:
#on:
# push:
# paths:
# - ".github/workflows/reusable-smoke-test-images.yml"

name: PR build fake backend images for smoke tests

on:
Expand Down

0 comments on commit 0337158

Please sign in to comment.