Skip to content

Commit 3856bbf

Browse files
committed
test: update default CNPG release to v1.29
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent f24a0c9 commit 3856bbf

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/bake_targets.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
fail-fast: false
120120
matrix:
121121
image: ${{fromJson(needs.testbuild.outputs.images)}}
122-
cnpg: ["main", "1.27", "1.28"]
122+
cnpg: ["main", "1.28", "1.29"]
123123
steps:
124124
- name: Checkout Code
125125
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -137,8 +137,10 @@ jobs:
137137
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
138138
139139
- name: Set up environment
140+
env:
141+
CNPG_RELEASE: ${{ matrix.cnpg }}
140142
run: |
141-
task e2e:setup-env
143+
task e2e:setup-env CNPG_RELEASE=$CNPG_RELEASE
142144
143145
- name: Generate Chainsaw testing values
144146
env:

Taskfile.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ vars:
2121
KIND_NODE_VERSION: v1.35.1@sha256:05d7bcdefbda08b4e038f644c4df690cdac3fba8b06f8289f30e10026720a1ab
2222
K8S_VERSION: '{{ regexReplaceAll "^v([0-9.]+).*" .KIND_NODE_VERSION "$1" }}'
2323
KIND_CLUSTER_NAME: pg-extensions-{{ .K8S_VERSION }}
24+
# renovate: datasource=github-tags depName=cloudnative-pg/cloudnative-pg versioning=semver extractVersion=^v(?<version>\d+\.\d+)\.\d+$
25+
CNPG_RELEASE_DEFAULT: 1.29
2426

2527
tasks:
2628
default:
@@ -267,8 +269,7 @@ tasks:
267269
REGISTRY_USERNAME: '{{ .REGISTRY_USERNAME }}'
268270
internal: true
269271
vars:
270-
# renovate: datasource=github-tags depName=cloudnative-pg/cloudnative-pg versioning=semver extractVersion=^v(?<version>\d+\.\d+)\.\d+$
271-
CNPG_RELEASE: 1.28
272+
CNPG_RELEASE: '{{ .CNPG_RELEASE | default .CNPG_RELEASE_DEFAULT }}'
272273
# renovate: datasource=docker depName=alpine/kubectl versioning=docker
273274
KUBECTL_VERSION: 1.35.3@sha256:ebf9d81d06441b3183fdc6e2dbc9f5d0db4d0464808b5bcd3c9021f54f6e65db
274275
DOCKER_SOCKET:
@@ -336,13 +337,15 @@ tasks:
336337
vars:
337338
REGISTRY_HOST: '{{ .REGISTRY_HOST | default "" }}'
338339
REGISTRY_USERNAME: '{{ .REGISTRY_USERNAME | default "" }}'
340+
CNPG_RELEASE: '{{ .CNPG_RELEASE | default .CNPG_RELEASE_DEFAULT }}'
339341
deps:
340342
- e2e:start-container-registry
341343
- e2e:start-dagger-engine
342344
- task: e2e:install-cnpg
343345
vars:
344346
REGISTRY_HOST: '{{ .REGISTRY_HOST }}'
345347
REGISTRY_USERNAME: '{{ .REGISTRY_USERNAME }}'
348+
CNPG_RELEASE: '{{ .CNPG_RELEASE }}'
346349
cmds:
347350
- echo -e "{{.GREEN}}--- E2E environment setup complete ---{{.NC}}"
348351

@@ -410,11 +413,13 @@ tasks:
410413
DISTRO: '{{ .DISTRO | default "trixie" }}'
411414
REGISTRY_HOST: '{{ .REGISTRY_HOST | default "" }}'
412415
REGISTRY_USERNAME: '{{ .REGISTRY_USERNAME | default "" }}'
416+
CNPG_RELEASE: '{{ .CNPG_RELEASE | default .CNPG_RELEASE_DEFAULT }}'
413417
cmds:
414418
- task: e2e:setup-env
415419
vars:
416420
REGISTRY_HOST: '{{ .REGISTRY_HOST }}'
417421
REGISTRY_USERNAME: '{{ .REGISTRY_USERNAME }}'
422+
CNPG_RELEASE: '{{ .CNPG_RELEASE }}'
418423
- task: bake
419424
vars:
420425
PUSH: "true"

0 commit comments

Comments
 (0)