feat(cluster,api,models,cli): add cluster-aware model catalog deployments and request routing
This commit is contained in:
@@ -177,7 +177,9 @@ export abstract class BaseDriver {
|
||||
protected async addAptRepository(repo: string, keyUrl?: string): Promise<void> {
|
||||
if (keyUrl) {
|
||||
// Add GPG key
|
||||
await this.execCommand(`curl -fsSL ${keyUrl} | gpg --dearmor -o /usr/share/keyrings/$(basename ${keyUrl}).gpg`);
|
||||
await this.execCommand(
|
||||
`curl -fsSL ${keyUrl} | gpg --dearmor -o /usr/share/keyrings/$(basename ${keyUrl}).gpg`,
|
||||
);
|
||||
}
|
||||
await this.execCommand(`add-apt-repository -y "${repo}"`);
|
||||
}
|
||||
@@ -188,7 +190,11 @@ export abstract class BaseDriver {
|
||||
public async logStatus(): Promise<void> {
|
||||
const status = await this.getStatus();
|
||||
|
||||
logger.logBoxTitle(`${this.displayName} Driver Status`, 60, status.installed ? 'success' : 'warning');
|
||||
logger.logBoxTitle(
|
||||
`${this.displayName} Driver Status`,
|
||||
60,
|
||||
status.installed ? 'success' : 'warning',
|
||||
);
|
||||
logger.logBoxLine(`Installed: ${status.installed ? 'Yes' : 'No'}`);
|
||||
|
||||
if (status.installed) {
|
||||
|
||||
Reference in New Issue
Block a user