Stop defaulting to snapshots for integration tests (#2197)

* Run integration tests against non-snapshot on main

Fetching SNAPSHOT artifacts is currently flaky.

* Reduce number of scheduled integration test runs
This commit is contained in:
Josh Mock
2024-03-28 13:48:06 -05:00
committed by GitHub
parent 628254df2d
commit f96aa32345
3 changed files with 6 additions and 9 deletions

View File

@ -94,7 +94,7 @@ async function bump (args) {
const pipeline = await readFile(join(import.meta.url, '..', '.buildkite', 'pipeline.yml'), 'utf8')
await writeFile(
join(import.meta.url, '..', '.buildkite', 'pipeline.yml'),
pipeline.replace(/STACK_VERSION: [0-9]+[0-9\.]*[0-9](?:\-SNAPSHOT)?/, `STACK_VERSION: ${cleanVersion}-SNAPSHOT`),
pipeline.replace(/STACK_VERSION: [0-9]+[0-9\.]*[0-9](?:\-SNAPSHOT)?/, `STACK_VERSION: ${cleanVersion}`),
'utf8'
)
}

View File

@ -6,7 +6,7 @@ steps:
env:
NODE_VERSION: "{{ matrix.nodejs }}"
TEST_SUITE: "{{ matrix.suite }}"
STACK_VERSION: 8.13.0-SNAPSHOT
STACK_VERSION: 8.13.0
matrix:
setup:
suite:

View File

@ -39,12 +39,9 @@ spec:
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main'
schedules:
main_semi_daily:
main:
branch: 'main'
cronline: '0 */12 * * *'
8_13_semi_daily:
branch: '8.13'
cronline: '0 */12 * * *'
8_12_daily:
branch: '8.12'
cronline: '@daily'
8_13:
branch: '8.13'
cronline: '@daily'