Skip to content

Commit 40001c8

Browse files
committed
add upgrade tests to build publish pipeline
1 parent 193f9e1 commit 40001c8

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/build-publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,43 @@ jobs:
205205
products: |
206206
ccip-prereleases-prod-testnet
207207
208+
# Upgrade compatibility tests
209+
df1-compat:
210+
uses: ./.github/workflows/devenv-compat.yml
211+
name: Data Feeds v1 Upgrade Test
212+
with:
213+
buildcmd: "just cli"
214+
envcmd: "cl u env.toml,products/ocr2/basic.toml"
215+
testcmd: "cl test ocr2 TestSmoke/rounds"
216+
upgrade-nodes: "3"
217+
node-name-template: "don-node%d"
218+
versions-back: "2"
219+
# uncomment once we have tested this pipeline with beta/rc releases
220+
# exclude-refs: "beta,rc"
221+
working-directory: "devenv"
222+
logs-directory: "./devenv/tests/ocr2/logs"
223+
ctf-log-level: "info"
224+
strip-image-suffix: "v"
225+
secrets: inherit
226+
227+
cre-compat:
228+
uses: ./.github/workflows/devenv-compat.yml
229+
name: CRE Upgrade Test
230+
with:
231+
buildcmd: "echo nothing-to-build" # added to prevent `just cli` from being used (default buildcmd if not provided)
232+
envcmd: "go run -C ../../core/scripts/cre/environment . env start"
233+
testcmd: "go test -v -run Test_Upgrade_Suite ./smoke/cre"
234+
upgrade-nodes: "3"
235+
node-name-template: "workflow-node%d"
236+
versions-back: "2"
237+
# uncomment once we have tested this pipeline with beta/rc releases
238+
# exclude-refs: "beta,rc"
239+
working-directory: "./system-tests/tests"
240+
logs-directory: "./system-tests/tests/smoke/cre/logs"
241+
ctf-log-level: "info"
242+
strip-image-suffix: "v"
243+
secrets: inherit
244+
208245
# Notify Slack channel for new git tags associated with pre-releases.
209246
# Final release notifications originate from the release coordinator repo.
210247
slack-notify:

0 commit comments

Comments
 (0)