dcl-ops-lib 5.24.2 → 5.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,6 +51,7 @@ export declare type FargateTaskOptions = {
51
51
  volumes?: aws.types.input.ecs.TaskDefinitionVolume[] | pulumi.Input<aws.types.input.ecs.TaskDefinitionVolume[]>;
52
52
  deregistrationDelay?: pulumi.Input<number>;
53
53
  mountPoints?: pulumi.Input<aws.ecs.MountPoint[]>;
54
+ repositoryCredentials?: pulumi.Input<aws.ecs.RepositoryCredentials>;
54
55
  };
55
56
  /**
56
57
  *
@@ -109,7 +109,7 @@ exports.getFargateTaskRole = getFargateTaskRole;
109
109
  */
110
110
  function createFargateTask(serviceName, dockerImage, dockerListeningPort, environment, hostname, options) {
111
111
  return __awaiter(this, void 0, void 0, function* () {
112
- let { healthCheck, essential, dontExpose, securityGroups, cluster, memoryReservation, command, version, desiredCount, cpuReservation, extraPortMappings, extraALBMappings, executionRolePolicies, taskRolePolicies, ignoreServiceDiscovery, secrets, metrics, dontAssignPublicIp, dependsOn, volumes, deregistrationDelay, mountPoints, team, } = options;
112
+ let { healthCheck, essential, dontExpose, securityGroups, cluster, memoryReservation, command, version, desiredCount, cpuReservation, extraPortMappings, extraALBMappings, executionRolePolicies, taskRolePolicies, ignoreServiceDiscovery, secrets, metrics, dontAssignPublicIp, dependsOn, volumes, deregistrationDelay, mountPoints, repositoryCredentials, team, } = options;
113
113
  if (undefined === essential) {
114
114
  essential = true;
115
115
  }
@@ -212,6 +212,7 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
212
212
  portMappings: extraPortMappings,
213
213
  dockerLabels,
214
214
  mountPoints,
215
+ repositoryCredentials
215
216
  },
216
217
  dependsOn,
217
218
  volumes,
@@ -252,6 +253,7 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
252
253
  cpu: cpuReservation,
253
254
  dockerLabels,
254
255
  mountPoints,
256
+ repositoryCredentials
255
257
  },
256
258
  dependsOn,
257
259
  volumes,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dcl-ops-lib",
3
- "version": "5.24.2",
3
+ "version": "5.25.1",
4
4
  "scripts": {
5
- "build": "tsc && cp bin/* .",
5
+ "build": "tsc && cp bin/* . && node test.js",
6
6
  "clean": "rm *.d.ts *.js *.js.map"
7
7
  },
8
8
  "files": [
@@ -20,18 +20,18 @@
20
20
  "extends": "@semantic-release/gitlab-config"
21
21
  },
22
22
  "devDependencies": {
23
- "@semantic-release/gitlab-config": "^8.0.0",
23
+ "@semantic-release/gitlab-config": "^10.0.1",
24
24
  "@types/mime": "^2.0.3",
25
25
  "@types/node": "^14.14.32",
26
- "semantic-release": "^17.4.1",
26
+ "semantic-release": "^19.0.3",
27
27
  "typescript": "^4.6.2"
28
28
  },
29
29
  "dependencies": {
30
- "@pulumi/aws": "^5.1.3",
31
- "@pulumi/awsx": "^0.40.0",
32
- "@pulumi/cloudflare": "^4.6.0",
33
- "@pulumi/docker": "^3.2.0",
34
- "@pulumi/pulumi": "^3.29.1",
30
+ "@pulumi/aws": "5.1.3",
31
+ "@pulumi/awsx": "0.40.0",
32
+ "@pulumi/cloudflare": "4.6.0",
33
+ "@pulumi/docker": "3.2.0",
34
+ "@pulumi/pulumi": "3.29.1",
35
35
  "mime": "^2.6.0"
36
36
  }
37
37
  }
package/test.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/test.js ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const child_process_1 = require("child_process");
4
+ const fs_1 = require("fs");
5
+ {
6
+ const ret = JSON.parse((0, fs_1.readFileSync)(__dirname + "/package-lock.json").toString());
7
+ if (ret.lockfileVersion != 2)
8
+ throw new Error("package-lock.json must be version 2, got: " + ret.lockfileVersion);
9
+ }
10
+ {
11
+ const ret = JSON.parse((0, child_process_1.execSync)("npm ls --all --json", { cwd: __dirname }).toString());
12
+ const packageVersions = new Map();
13
+ function traverseDependencies(obj) {
14
+ if (obj.dependencies)
15
+ for (let depName in obj.dependencies) {
16
+ const dep = obj.dependencies[depName];
17
+ if (depName.startsWith("@pulumi")) {
18
+ if (!packageVersions.has(depName)) {
19
+ packageVersions.set(depName, new Set());
20
+ }
21
+ packageVersions.get(depName).add(dep.version);
22
+ }
23
+ traverseDependencies(dep);
24
+ }
25
+ }
26
+ traverseDependencies(ret);
27
+ console.dir(packageVersions);
28
+ for (let [key, set] of packageVersions) {
29
+ if (set.size > 1)
30
+ throw new Error(`The package ${key} is duplicated with conflicting versions. Please review pulumi dependency tree and run "npm dedup"`);
31
+ }
32
+ }
33
+ //# sourceMappingURL=test.js.map