diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3d3438..1e3250b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,6 @@ stages: mirror: stage: security script: - - npm install -g @shipzone/npmci - npmci git mirror tags: - docker diff --git a/package.json b/package.json index 7aa6f63..303ecab 100644 --- a/package.json +++ b/package.json @@ -68,4 +68,4 @@ "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/ts/connector.cloudly/cloudlyconnector.ts b/ts/connector.cloudly/cloudlyconnector.ts index 5926010..9d9116d 100644 --- a/ts/connector.cloudly/cloudlyconnector.ts +++ b/ts/connector.cloudly/cloudlyconnector.ts @@ -1,6 +1,6 @@ import * as plugins from '../npmci.plugins'; -import {Npmci} from '../npmci.classes.npmci'; +import { Npmci } from '../npmci.classes.npmci'; import { logger } from '../npmci.logging'; /** @@ -13,18 +13,20 @@ export class CloudlyConnector { this.npmciRef = npmciRefArg; } - public async announceDockerContainer(optionsArg: plugins.servezoneInterfaces.IVersionData) { const cloudlyUrl = this.npmciRef.npmciConfig.getConfig().urlCloudly; if (!cloudlyUrl) { - logger.log('warn', 'no cloudly url provided. Thus we cannot announce the newly built Dockerimage!'); + logger.log( + 'warn', + 'no cloudly url provided. Thus we cannot announce the newly built Dockerimage!' + ); return; } - + const typedrequest = new plugins.typedrequest.TypedRequest< plugins.servezoneInterfaces.IRequest_Any_Cloudly_VersionManager_Update >(`https://${cloudlyUrl}/versionmanager`, 'update'); - const response = (await typedrequest.fire(optionsArg)); + const response = await typedrequest.fire(optionsArg); } } diff --git a/ts/manager.docker/index.ts b/ts/manager.docker/index.ts index 14edc7f..5fb668c 100644 --- a/ts/manager.docker/index.ts +++ b/ts/manager.docker/index.ts @@ -50,7 +50,7 @@ export class NpmciDockerManager { `>>npmci docker ...<< cli arguments invalid... Please read the documentation.` ); } - } + }; /** * builds a cwd of Dockerfiles by triggering a promisechain @@ -62,7 +62,7 @@ export class NpmciDockerManager { .then(Dockerfile.sortDockerfiles) .then(Dockerfile.mapDockerfiles) .then(Dockerfile.buildDockerfiles); - } + }; /** * login to the DockerRegistries @@ -70,7 +70,7 @@ export class NpmciDockerManager { public login = async () => { await this.prepare(); await this.npmciRegistryStorage.loginAll(); - } + }; /** * logs in docker @@ -98,7 +98,7 @@ export class NpmciDockerManager { } ); return; - } + }; /** * pushes an image towards a registry @@ -146,7 +146,7 @@ export class NpmciDockerManager { await dockerfile.push(dockerRegistryToPushTo, suffix); } } - } + }; /** * pulls an image @@ -165,7 +165,7 @@ export class NpmciDockerManager { for (const dockerfile of dockerfileArray) { await dockerfile.pull(localDockerRegistry, suffix); } - } + }; /** * tests docker files @@ -173,5 +173,5 @@ export class NpmciDockerManager { public test = async () => { await this.prepare(); return await Dockerfile.readDockerfiles(this).then(Dockerfile.testDockerfiles); - } + }; } diff --git a/ts/npmci.plugins.ts b/ts/npmci.plugins.ts index 2dba147..f30f030 100644 --- a/ts/npmci.plugins.ts +++ b/ts/npmci.plugins.ts @@ -6,9 +6,7 @@ export { path }; // @apiglobal import * as typedrequest from '@apiglobal/typedrequest'; -export { - typedrequest -}; +export { typedrequest }; // @servezone import * as servezoneInterfaces from '@servezone/servezone-interfaces';