import * as plugins from '../szci.plugins.ts'; import { Szci } from '../szci.classes.szci.ts'; import { logger } from '../szci.logging.ts'; /** * connects to cloudly */ export class CloudlyConnector { public szciRef: Szci; constructor(szciRefArg: Szci) { this.szciRef = szciRefArg; } public async announceDockerContainer( optionsArg: plugins.tsclass.container.IContainer, testCloudlyUrlArg?: string ) { const cloudlyUrl = testCloudlyUrlArg || this.szciRef.npmciConfig.getConfig().urlCloudly; if (!cloudlyUrl) { logger.log( 'warn', 'no cloudly url provided. Thus we cannot announce the newly built Dockerimage!' ); return; } // lets push to cloudly here } }