-
Notifications
You must be signed in to change notification settings - Fork 408
Added multiple e2e variants #2108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| const getStateFile = (variantName) => | ||
| resolve(__dirname, '..', `.testcontainers-state-${variantName}.json`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| const getStateFile = (variantName) => | |
| resolve(__dirname, '..', `.testcontainers-state-${variantName}.json`); | |
| const getStateFile = (variantName) => resolve(__dirname, '..', `.testcontainers-state-${variantName}.json`); |
| redpandaKafka: 19092, | ||
| redpandaSchemaRegistry: 18081, | ||
| redpandaAdmin: 19644, | ||
| kafkaConnect: 18083, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| redpandaKafka: 19092, | |
| redpandaSchemaRegistry: 18081, | |
| redpandaAdmin: 19644, | |
| kafkaConnect: 18083, | |
| redpandaKafka: 19_092, | |
| redpandaSchemaRegistry: 18_081, | |
| redpandaAdmin: 19_644, | |
| kafkaConnect: 18_083, |
| redpandaKafka: 19192, | ||
| redpandaSchemaRegistry: 18181, | ||
| redpandaAdmin: 19744, | ||
| kafkaConnect: 18183, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| redpandaKafka: 19192, | |
| redpandaSchemaRegistry: 18181, | |
| redpandaAdmin: 19744, | |
| kafkaConnect: 18183, | |
| redpandaKafka: 19_192, | |
| redpandaSchemaRegistry: 18_181, | |
| redpandaAdmin: 19_744, | |
| kafkaConnect: 18_183, |
| destRedpandaKafka: 19193, | ||
| destRedpandaSchemaRegistry: 18191, | ||
| destRedpandaAdmin: 19745, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| destRedpandaKafka: 19193, | |
| destRedpandaSchemaRegistry: 18191, | |
| destRedpandaAdmin: 19745, | |
| destRedpandaKafka: 19_193, | |
| destRedpandaSchemaRegistry: 18_191, | |
| destRedpandaAdmin: 19_745, |
| writeFileSync(licensePath, process.env.ENTERPRISE_LICENSE_CONTENT); | ||
| } else { | ||
| const defaultLicensePath = resolve(__dirname, '../../../console-enterprise/configs/shared/redpanda.license'); | ||
| const defaultLicensePath = resolve(__dirname, '../../../../console-enterprise/frontend/tests/config/redpanda.license'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| const defaultLicensePath = resolve(__dirname, '../../../../console-enterprise/frontend/tests/config/redpanda.license'); | |
| const defaultLicensePath = resolve( | |
| __dirname, | |
| '../../../../console-enterprise/frontend/tests/config/redpanda.license' | |
| ); |
| console.log( | ||
| `🚀 GLOBAL SETUP STARTED ${isEnterprise ? '(ENTERPRISE MODE)' : '(OSS MODE)'}${needsShadowlink ? ' + SHADOWLINK' : ''}` | ||
| `🚀 GLOBAL SETUP: ${variantName}${needsShadowlink ? ' + SHADOWLINK' : ''}` | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| console.log( | |
| `🚀 GLOBAL SETUP STARTED ${isEnterprise ? '(ENTERPRISE MODE)' : '(OSS MODE)'}${needsShadowlink ? ' + SHADOWLINK' : ''}` | |
| `🚀 GLOBAL SETUP: ${variantName}${needsShadowlink ? ' + SHADOWLINK' : ''}` | |
| ); | |
| console.log(`🚀 GLOBAL SETUP: ${variantName}${needsShadowlink ? ' + SHADOWLINK' : ''}`); |
| configFile, | ||
| isEnterprise, | ||
| needsShadowlink, | ||
| ports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| ports | |
| ports, |
| const getStateFile = (variantName) => | ||
| resolve(__dirname, '..', `.testcontainers-state-${variantName}.json`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Biome] reported by reviewdog 🐶
| const getStateFile = (variantName) => | |
| resolve(__dirname, '..', `.testcontainers-state-${variantName}.json`); | |
| const getStateFile = (variantName) => resolve(__dirname, '..', `.testcontainers-state-${variantName}.json`); |
This should allow us to create multiple e2e variants (with different BE configurations + owlshop configs) for different e2e tests.
Note to self: enterprise tests fail for me in master after recent changes, so I need to solve this first. I think it might be related to https://github.com/redpanda-data/console/pull/2103/changes