One-node bed: SDK-by-version, rename, and the store/broker upgrade proofs #27
@@ -64,6 +64,9 @@ export interface GenesisOptions {
|
||||
*/
|
||||
toolsSource: string;
|
||||
catalogSource: string;
|
||||
/** Where the shared library is built from — published before the base resolves it (ADR 0076). */
|
||||
sdkSource: string;
|
||||
sdkRef?: string;
|
||||
/** What of the catalogue to build. A branch under test is the usual reason this is not main. */
|
||||
catalogRef?: string;
|
||||
log?: (m: string) => void;
|
||||
@@ -148,6 +151,8 @@ export async function genesis(o: GenesisOptions): Promise<GenesisResult> {
|
||||
`--tools-source ${o.toolsSource}`,
|
||||
`--catalog-source ${o.catalogSource}`,
|
||||
`--catalog-ref ${o.catalogRef ?? "main"}`,
|
||||
`--sdk-source ${o.sdkSource}`,
|
||||
`--sdk-ref ${o.sdkRef ?? "main"}`,
|
||||
// The choices, answered the unattended way. Both have one option today, so these are
|
||||
// redundant on purpose: the day a second filter exists, this bed keeps working instead of
|
||||
// refusing, and choosing becomes a thing it visibly does.
|
||||
|
||||
@@ -470,6 +470,8 @@ before(async () => {
|
||||
toolsSource: forgeUrl(BASE.repo),
|
||||
catalogSource: forgeUrl(MODULE.repo),
|
||||
catalogRef: refFor(MODULE.repo),
|
||||
sdkSource: forgeUrl("mesh-sdk"),
|
||||
sdkRef: refFor("mesh-sdk"),
|
||||
log: (m) => console.log(m),
|
||||
});
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user