Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/workflows/build-commitfest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ defaults:
# default failure handling for shell scripts in 'run' steps
shell: 'bash -Eeuo pipefail -x {0}'

permissions: read-all

jobs:
build-pg:
name: Build the patch for PostgreSQL
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ defaults:
# default failure handling for shell scripts in 'run' steps
shell: 'bash -Eeuo pipefail -x {0}'

permissions: read-all

jobs:
build-pg:
name: Build generic PostgreSQL image from sources
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ defaults:
# default failure handling for shell scripts in 'run' steps
shell: 'bash -Eeuo pipefail -x {0}'

permissions: read-all

jobs:
build-pg:
name: Build the Trunk of PostgreSQL
Expand Down Expand Up @@ -87,6 +89,8 @@ jobs:
needs:
- build-pg
uses: ./.github/workflows/reusable-e2e.yml
permissions:
packages: write
with:
postgres_img: ${{ needs.build-pg.outputs.pg_image }}
major_version: ${{ needs.build-pg.outputs.pg_major }}
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/reusable-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,28 @@ defaults:
# default failure handling for shell scripts in 'run' steps
shell: 'bash -Eeuo pipefail -x {0}'

permissions:
actions: none
attestations: none
checks: none
contents: none
deployments: none
id-token: none
issues: none
models: none
discussions: none
packages: none
pages: none
pull-requests: none
security-events: none
statuses: none

jobs:
e2e-local:
name: Run E2E on local executors
runs-on: ubuntu-24.04
permissions:
packages: write
env:
TEST_DEPTH: ${{ inputs.test_depth }}
FEATURE_TYPE: ${{ inputs.feature_type }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
description: 'E2E feature type filter. See https://github.com/cloudnative-pg/cloudnative-pg/blob/main/contribute/e2e_testing_environment/README.md#using-feature-type-test-selectionfilter'
required: false

permissions: read-all

jobs:
evaluate-env:
name: Evaluate input env variables
Expand Down Expand Up @@ -62,6 +64,8 @@ jobs:
needs:
- evaluate-env
uses: ./.github/workflows/reusable-e2e.yml
permissions:
packages: write
with:
postgres_img: ${{ needs.evaluate-env.outputs.pg_image }}
major_version: ${{ needs.evaluate-env.outputs.pg_major }}
Expand Down