@tag1consulting/pulumi-lagoon 0.2.9 → 0.4.0
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.
- package/README.md +106 -1
- package/bin/config/index.d.ts +1 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/vars.d.ts +1 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +25 -2
- package/bin/config/vars.js.map +1 -1
- package/bin/index.d.ts +2 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +34 -5
- package/bin/index.js.map +1 -1
- package/bin/lagoon/deployTarget.d.ts +8 -7
- package/bin/lagoon/deployTarget.d.ts.map +1 -0
- package/bin/lagoon/deployTarget.js +27 -4
- package/bin/lagoon/deployTarget.js.map +1 -1
- package/bin/lagoon/deployTargetConfig.d.ts +5 -4
- package/bin/lagoon/deployTargetConfig.d.ts.map +1 -0
- package/bin/lagoon/deployTargetConfig.js +27 -4
- package/bin/lagoon/deployTargetConfig.js.map +1 -1
- package/bin/lagoon/environment.d.ts +6 -5
- package/bin/lagoon/environment.d.ts.map +1 -0
- package/bin/lagoon/environment.js +27 -4
- package/bin/lagoon/environment.js.map +1 -1
- package/bin/lagoon/environmentAutogeneratedRouteConfig.d.ts +8 -7
- package/bin/lagoon/environmentAutogeneratedRouteConfig.d.ts.map +1 -0
- package/bin/lagoon/environmentAutogeneratedRouteConfig.js +27 -4
- package/bin/lagoon/environmentAutogeneratedRouteConfig.js.map +1 -1
- package/bin/lagoon/group.d.ts +2 -1
- package/bin/lagoon/group.d.ts.map +1 -0
- package/bin/lagoon/group.js +27 -4
- package/bin/lagoon/group.js.map +1 -1
- package/bin/lagoon/index.d.ts +10 -0
- package/bin/lagoon/index.d.ts.map +1 -0
- package/bin/lagoon/index.js +38 -3
- package/bin/lagoon/index.js.map +1 -1
- package/bin/lagoon/notificationEmail.d.ts +1 -0
- package/bin/lagoon/notificationEmail.d.ts.map +1 -0
- package/bin/lagoon/notificationEmail.js +27 -4
- package/bin/lagoon/notificationEmail.js.map +1 -1
- package/bin/lagoon/notificationMicrosoftTeams.d.ts +1 -0
- package/bin/lagoon/notificationMicrosoftTeams.d.ts.map +1 -0
- package/bin/lagoon/notificationMicrosoftTeams.js +27 -4
- package/bin/lagoon/notificationMicrosoftTeams.js.map +1 -1
- package/bin/lagoon/notificationRocketChat.d.ts +1 -0
- package/bin/lagoon/notificationRocketChat.d.ts.map +1 -0
- package/bin/lagoon/notificationRocketChat.js +27 -4
- package/bin/lagoon/notificationRocketChat.js.map +1 -1
- package/bin/lagoon/notificationSlack.d.ts +1 -0
- package/bin/lagoon/notificationSlack.d.ts.map +1 -0
- package/bin/lagoon/notificationSlack.js +27 -4
- package/bin/lagoon/notificationSlack.js.map +1 -1
- package/bin/lagoon/project.d.ts +7 -6
- package/bin/lagoon/project.d.ts.map +1 -0
- package/bin/lagoon/project.js +27 -4
- package/bin/lagoon/project.js.map +1 -1
- package/bin/lagoon/projectAutogeneratedRouteConfig.d.ts +8 -7
- package/bin/lagoon/projectAutogeneratedRouteConfig.d.ts.map +1 -0
- package/bin/lagoon/projectAutogeneratedRouteConfig.js +27 -4
- package/bin/lagoon/projectAutogeneratedRouteConfig.js.map +1 -1
- package/bin/lagoon/projectNotification.d.ts +1 -0
- package/bin/lagoon/projectNotification.d.ts.map +1 -0
- package/bin/lagoon/projectNotification.js +27 -4
- package/bin/lagoon/projectNotification.js.map +1 -1
- package/bin/lagoon/route.d.ts +16 -15
- package/bin/lagoon/route.d.ts.map +1 -0
- package/bin/lagoon/route.js +27 -4
- package/bin/lagoon/route.js.map +1 -1
- package/bin/lagoon/task.d.ts +11 -10
- package/bin/lagoon/task.d.ts.map +1 -0
- package/bin/lagoon/task.js +27 -4
- package/bin/lagoon/task.js.map +1 -1
- package/bin/lagoon/user.d.ts +70 -0
- package/bin/lagoon/user.d.ts.map +1 -0
- package/bin/lagoon/user.js +90 -0
- package/bin/lagoon/user.js.map +1 -0
- package/bin/lagoon/userGroupAssignment.d.ts +58 -0
- package/bin/lagoon/userGroupAssignment.d.ts.map +1 -0
- package/bin/lagoon/userGroupAssignment.js +92 -0
- package/bin/lagoon/userGroupAssignment.js.map +1 -0
- package/bin/lagoon/userPlatformRole.d.ts +50 -0
- package/bin/lagoon/userPlatformRole.d.ts.map +1 -0
- package/bin/lagoon/userPlatformRole.js +87 -0
- package/bin/lagoon/userPlatformRole.js.map +1 -0
- package/bin/lagoon/variable.d.ts +2 -1
- package/bin/lagoon/variable.d.ts.map +1 -0
- package/bin/lagoon/variable.js +27 -4
- package/bin/lagoon/variable.js.map +1 -1
- package/bin/provider.d.ts +6 -5
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +27 -4
- package/bin/provider.js.map +1 -1
- package/bin/types/index.d.ts +1 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +25 -2
- package/bin/types/index.js.map +1 -1
- package/bin/types/input.d.ts +31 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/output.d.ts +31 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/utilities.d.ts +1 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +24 -1
- package/bin/utilities.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1 +1,106 @@
|
|
|
1
|
-
|
|
1
|
+
# Pulumi Lagoon Provider — Node.js SDK
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@tag1consulting/pulumi-lagoon)
|
|
4
|
+
[](https://github.com/tag1consulting/pulumi-lagoon-provider/blob/main/LICENSE)
|
|
5
|
+
|
|
6
|
+
A Pulumi provider for managing [Lagoon](https://www.lagoon.sh/) resources as infrastructure-as-code.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @tag1consulting/pulumi-lagoon
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Configuration
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pulumi config set lagoon:apiUrl https://api.lagoon.example.com/graphql
|
|
18
|
+
pulumi config set --secret lagoon:token YOUR_TOKEN
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or via environment variables:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
export LAGOON_API_URL=https://api.lagoon.example.com/graphql
|
|
25
|
+
export LAGOON_TOKEN=YOUR_TOKEN
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Supported Resources
|
|
29
|
+
|
|
30
|
+
| Resource | Description |
|
|
31
|
+
|----------|-------------|
|
|
32
|
+
| `Project` | Lagoon projects (applications/sites) |
|
|
33
|
+
| `Environment` | Environments (branch/PR deployments) |
|
|
34
|
+
| `Variable` | Project and environment variables |
|
|
35
|
+
| `DeployTarget` | Kubernetes cluster deploy targets |
|
|
36
|
+
| `DeployTargetConfig` | Branch-pattern routing to deploy targets |
|
|
37
|
+
| `NotificationSlack` | Slack deployment notifications |
|
|
38
|
+
| `NotificationRocketChat` | RocketChat deployment notifications |
|
|
39
|
+
| `NotificationEmail` | Email deployment notifications |
|
|
40
|
+
| `NotificationMicrosoftTeams` | Microsoft Teams deployment notifications |
|
|
41
|
+
| `ProjectNotification` | Link notifications to projects |
|
|
42
|
+
| `Task` | Advanced task definitions (command and image types) |
|
|
43
|
+
| `Group` | Groups for organizing projects and users |
|
|
44
|
+
| `Route` | API-managed routes (requires Lagoon v2.29.0+) |
|
|
45
|
+
| `ProjectAutogeneratedRouteConfig` | Autogenerated route settings at project level |
|
|
46
|
+
| `EnvironmentAutogeneratedRouteConfig` | Autogenerated route settings at environment level |
|
|
47
|
+
|
|
48
|
+
## Usage
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
import * as lagoon from "@tag1consulting/pulumi-lagoon";
|
|
53
|
+
|
|
54
|
+
const project = new lagoon.Project("my-site", {
|
|
55
|
+
name: "my-drupal-site",
|
|
56
|
+
gitUrl: "git@github.com:org/repo.git",
|
|
57
|
+
deploytargetId: 1,
|
|
58
|
+
productionEnvironment: "main",
|
|
59
|
+
branches: "^(main|develop|stage)$",
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
const prodEnv = new lagoon.Environment("production", {
|
|
63
|
+
name: "main",
|
|
64
|
+
projectId: project.lagoonId,
|
|
65
|
+
deployType: "branch",
|
|
66
|
+
deployBaseRef: "main",
|
|
67
|
+
environmentType: "production",
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
const dbConfig = new lagoon.Variable("db-host", {
|
|
71
|
+
name: "DATABASE_HOST",
|
|
72
|
+
value: "mysql.production.example.com",
|
|
73
|
+
projectId: project.lagoonId,
|
|
74
|
+
environmentId: prodEnv.lagoonId,
|
|
75
|
+
scope: "runtime",
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
const team = new lagoon.Group("my-team", {
|
|
79
|
+
name: "my-team",
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export const projectId = project.lagoonId;
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Importing Existing Resources
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
pulumi import lagoon:lagoon:Project my-site 123
|
|
89
|
+
pulumi import lagoon:lagoon:Environment prod-env 123:main
|
|
90
|
+
pulumi import lagoon:lagoon:Variable api-key 123::API_KEY
|
|
91
|
+
pulumi import lagoon:lagoon:Group my-team my-team
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Multi-Language Support
|
|
95
|
+
|
|
96
|
+
This provider also has SDKs for [Python](https://pypi.org/project/pulumi-lagoon/), [Go](https://pkg.go.dev/github.com/tag1consulting/pulumi-lagoon-provider/sdk/go/lagoon), and [.NET/C#](https://www.nuget.org/packages/Tag1Consulting.Lagoon).
|
|
97
|
+
|
|
98
|
+
## Documentation
|
|
99
|
+
|
|
100
|
+
- [GitHub Repository](https://github.com/tag1consulting/pulumi-lagoon-provider)
|
|
101
|
+
- [Lagoon Documentation](https://docs.lagoon.sh/)
|
|
102
|
+
- [Pulumi Documentation](https://www.pulumi.com/docs/)
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
Apache License 2.0
|
package/bin/config/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
|
package/bin/config/vars.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,CAAC;AAQpC;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,OAAO,CAAC;AAQvC;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,MAAM,CAAC;AAQzC;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;AAQnD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC"}
|
package/bin/config/vars.js
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
const pulumi = require("@pulumi/pulumi");
|
|
6
|
-
const utilities = require("../utilities");
|
|
28
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
29
|
+
const utilities = __importStar(require("../utilities"));
|
|
7
30
|
const __config = new pulumi.Config("lagoon");
|
|
8
31
|
Object.defineProperty(exports, "apiUrl", {
|
|
9
32
|
get() {
|
package/bin/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,E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ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,OAAO,YAAY,EAAE,QAAQ,CAAC;AACrD,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAK1E,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACH,MAAM,EACN,MAAM,EACN,KAAK,GACR,CAAC;AAaF,cAAc,UAAU,CAAC"}
|
package/bin/index.js
CHANGED
|
@@ -1,18 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
28
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
29
|
+
};
|
|
4
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
31
|
exports.types = exports.lagoon = exports.config = exports.Provider = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
32
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
33
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
34
|
exports.Provider = null;
|
|
9
35
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
10
36
|
// Export sub-modules:
|
|
11
|
-
const config = require("./config");
|
|
37
|
+
const config = __importStar(require("./config"));
|
|
12
38
|
exports.config = config;
|
|
13
|
-
const lagoon = require("./lagoon");
|
|
39
|
+
const lagoon = __importStar(require("./lagoon"));
|
|
14
40
|
exports.lagoon = lagoon;
|
|
15
|
-
const types = require("./types");
|
|
41
|
+
const types = __importStar(require("./types"));
|
|
16
42
|
exports.types = types;
|
|
17
43
|
pulumi.runtime.registerResourcePackage("lagoon", {
|
|
18
44
|
version: utilities.getVersion(),
|
|
@@ -23,4 +49,7 @@ pulumi.runtime.registerResourcePackage("lagoon", {
|
|
|
23
49
|
return new exports.Provider(name, undefined, { urn });
|
|
24
50
|
},
|
|
25
51
|
});
|
|
52
|
+
// Re-export resource classes at the top level for convenience.
|
|
53
|
+
// This is appended by the go-sdk-nodejs Makefile target after generation.
|
|
54
|
+
__exportStar(require("./lagoon"), exports);
|
|
26
55
|
//# sourceMappingURL=index.js.map
|
package/bin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,iDAAmC;AAK/B,wBAAM;AAJV,iDAAmC;AAK/B,wBAAM;AAJV,+CAAiC;AAK7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC;AAEH,+DAA+D;AAC/D,0EAA0E;AAC1E,2CAAyB"}
|
|
@@ -71,15 +71,15 @@ export interface DeployTargetArgs {
|
|
|
71
71
|
/**
|
|
72
72
|
* Custom build image.
|
|
73
73
|
*/
|
|
74
|
-
buildImage?: pulumi.Input<string>;
|
|
74
|
+
buildImage?: pulumi.Input<string | undefined>;
|
|
75
75
|
/**
|
|
76
76
|
* Cloud provider (e.g., 'kind', 'aws', 'gcp'). Defaults to 'kind'.
|
|
77
77
|
*/
|
|
78
|
-
cloudProvider?: pulumi.Input<string>;
|
|
78
|
+
cloudProvider?: pulumi.Input<string | undefined>;
|
|
79
79
|
/**
|
|
80
80
|
* Cloud region (e.g., 'us-east-1', 'local'). Defaults to 'local'.
|
|
81
81
|
*/
|
|
82
|
-
cloudRegion?: pulumi.Input<string>;
|
|
82
|
+
cloudRegion?: pulumi.Input<string | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* The Kubernetes API URL.
|
|
85
85
|
*/
|
|
@@ -87,7 +87,7 @@ export interface DeployTargetArgs {
|
|
|
87
87
|
/**
|
|
88
88
|
* Whether the deploy target is disabled.
|
|
89
89
|
*/
|
|
90
|
-
disabled?: pulumi.Input<boolean>;
|
|
90
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
91
91
|
/**
|
|
92
92
|
* The deploy target name.
|
|
93
93
|
*/
|
|
@@ -95,13 +95,14 @@ export interface DeployTargetArgs {
|
|
|
95
95
|
/**
|
|
96
96
|
* Router pattern for the deploy target.
|
|
97
97
|
*/
|
|
98
|
-
routerPattern?: pulumi.Input<string>;
|
|
98
|
+
routerPattern?: pulumi.Input<string | undefined>;
|
|
99
99
|
/**
|
|
100
100
|
* SSH host for builds.
|
|
101
101
|
*/
|
|
102
|
-
sshHost?: pulumi.Input<string>;
|
|
102
|
+
sshHost?: pulumi.Input<string | undefined>;
|
|
103
103
|
/**
|
|
104
104
|
* SSH port for builds.
|
|
105
105
|
*/
|
|
106
|
-
sshPort?: pulumi.Input<string>;
|
|
106
|
+
sshPort?: pulumi.Input<string | undefined>;
|
|
107
107
|
}
|
|
108
|
+
//# sourceMappingURL=deployTarget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployTarget.d.ts","sourceRoot":"","sources":["../../lagoon/deployTarget.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;WAC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BAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAqCxF;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C"}
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.DeployTarget = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Manages a Lagoon Kubernetes deploy target (cluster).
|
|
10
33
|
*/
|
|
@@ -20,6 +43,8 @@ class DeployTarget extends pulumi.CustomResource {
|
|
|
20
43
|
static get(name, id, opts) {
|
|
21
44
|
return new DeployTarget(name, undefined, { ...opts, id: id });
|
|
22
45
|
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:DeployTarget';
|
|
23
48
|
/**
|
|
24
49
|
* Returns true if the given object is an instance of DeployTarget. This is designed to work even
|
|
25
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -77,6 +102,4 @@ class DeployTarget extends pulumi.CustomResource {
|
|
|
77
102
|
}
|
|
78
103
|
}
|
|
79
104
|
exports.DeployTarget = DeployTarget;
|
|
80
|
-
/** @internal */
|
|
81
|
-
DeployTarget.__pulumiType = 'lagoon:lagoon:DeployTarget';
|
|
82
105
|
//# sourceMappingURL=deployTarget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployTarget.js","sourceRoot":"","sources":["../../lagoon/deployTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"deployTarget.js","sourceRoot":"","sources":["../../lagoon/deployTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4BAA4B,CAAC;IAEnE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAyCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAmC;QACjF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAA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AO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7GL,oCA8GC"}
|
|
@@ -58,7 +58,7 @@ export interface DeployTargetConfigArgs {
|
|
|
58
58
|
/**
|
|
59
59
|
* Regex pattern for branches to match.
|
|
60
60
|
*/
|
|
61
|
-
branches?: pulumi.Input<string>;
|
|
61
|
+
branches?: pulumi.Input<string | undefined>;
|
|
62
62
|
/**
|
|
63
63
|
* The deploy target (Kubernetes cluster) ID.
|
|
64
64
|
*/
|
|
@@ -66,7 +66,7 @@ export interface DeployTargetConfigArgs {
|
|
|
66
66
|
/**
|
|
67
67
|
* Optional namespace pattern.
|
|
68
68
|
*/
|
|
69
|
-
deployTargetProjectPattern?: pulumi.Input<string>;
|
|
69
|
+
deployTargetProjectPattern?: pulumi.Input<string | undefined>;
|
|
70
70
|
/**
|
|
71
71
|
* The project ID.
|
|
72
72
|
*/
|
|
@@ -74,9 +74,10 @@ export interface DeployTargetConfigArgs {
|
|
|
74
74
|
/**
|
|
75
75
|
* Whether to handle PRs ('true' or 'false').
|
|
76
76
|
*/
|
|
77
|
-
pullrequests?: pulumi.Input<string>;
|
|
77
|
+
pullrequests?: pulumi.Input<string | undefined>;
|
|
78
78
|
/**
|
|
79
79
|
* Priority weight (higher = more priority).
|
|
80
80
|
*/
|
|
81
|
-
weight?: pulumi.Input<number>;
|
|
81
|
+
weight?: pulumi.Input<number | undefined>;
|
|
82
82
|
}
|
|
83
|
+
//# sourceMappingURL=deployTargetConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployTargetConfig.d.ts","sourceRoot":"","sources":["../../lagoon/deployTargetConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kBAAkB;IAOrH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kBAAkB;IAO7D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtF,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAElE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA6B9F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.DeployTargetConfig = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Manages a deploy target configuration to route branches/PRs to specific clusters.
|
|
10
33
|
*/
|
|
@@ -20,6 +43,8 @@ class DeployTargetConfig extends pulumi.CustomResource {
|
|
|
20
43
|
static get(name, id, opts) {
|
|
21
44
|
return new DeployTargetConfig(name, undefined, { ...opts, id: id });
|
|
22
45
|
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:DeployTargetConfig';
|
|
23
48
|
/**
|
|
24
49
|
* Returns true if the given object is an instance of DeployTargetConfig. This is designed to work even
|
|
25
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -69,6 +94,4 @@ class DeployTargetConfig extends pulumi.CustomResource {
|
|
|
69
94
|
}
|
|
70
95
|
}
|
|
71
96
|
exports.DeployTargetConfig = DeployTargetConfig;
|
|
72
|
-
/** @internal */
|
|
73
|
-
DeployTargetConfig.__pulumiType = 'lagoon:lagoon:DeployTargetConfig';
|
|
74
97
|
//# sourceMappingURL=deployTargetConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployTargetConfig.js","sourceRoot":"","sources":["../../lagoon/deployTargetConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"deployTargetConfig.js","sourceRoot":"","sources":["../../lagoon/deployTargetConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,kCAAkC,CAAC;IAEzE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA4BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAA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C,CAAC;IACvE,CAAC;;AAxFL,gDAyFC"}
|
|
@@ -85,19 +85,19 @@ export interface EnvironmentArgs {
|
|
|
85
85
|
/**
|
|
86
86
|
* Whether to auto-idle this environment (1=yes, 0=no).
|
|
87
87
|
*/
|
|
88
|
-
autoIdle?: pulumi.Input<number>;
|
|
88
|
+
autoIdle?: pulumi.Input<number | undefined>;
|
|
89
89
|
/**
|
|
90
90
|
* The base ref for the deployment.
|
|
91
91
|
*/
|
|
92
|
-
deployBaseRef?: pulumi.Input<string>;
|
|
92
|
+
deployBaseRef?: pulumi.Input<string | undefined>;
|
|
93
93
|
/**
|
|
94
94
|
* The head ref for pull request deployments.
|
|
95
95
|
*/
|
|
96
|
-
deployHeadRef?: pulumi.Input<string>;
|
|
96
|
+
deployHeadRef?: pulumi.Input<string | undefined>;
|
|
97
97
|
/**
|
|
98
98
|
* Title for pull request deployments.
|
|
99
99
|
*/
|
|
100
|
-
deployTitle?: pulumi.Input<string>;
|
|
100
|
+
deployTitle?: pulumi.Input<string | undefined>;
|
|
101
101
|
/**
|
|
102
102
|
* Deployment type: 'branch' or 'pullrequest'.
|
|
103
103
|
*/
|
|
@@ -113,9 +113,10 @@ export interface EnvironmentArgs {
|
|
|
113
113
|
/**
|
|
114
114
|
* Override namespace name on the cluster.
|
|
115
115
|
*/
|
|
116
|
-
openshiftProjectName?: pulumi.Input<string>;
|
|
116
|
+
openshiftProjectName?: pulumi.Input<string | undefined>;
|
|
117
117
|
/**
|
|
118
118
|
* The parent project ID.
|
|
119
119
|
*/
|
|
120
120
|
projectId: pulumi.Input<number>;
|
|
121
121
|
}
|
|
122
|
+
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../lagoon/environment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC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,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA+CvF;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Environment = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Manages a Lagoon environment (branch/PR deployment).
|
|
10
33
|
*/
|
|
@@ -20,6 +43,8 @@ class Environment extends pulumi.CustomResource {
|
|
|
20
43
|
static get(name, id, opts) {
|
|
21
44
|
return new Environment(name, undefined, { ...opts, id: id });
|
|
22
45
|
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:Environment';
|
|
23
48
|
/**
|
|
24
49
|
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
25
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -87,6 +112,4 @@ class Environment extends pulumi.CustomResource {
|
|
|
87
112
|
}
|
|
88
113
|
}
|
|
89
114
|
exports.Environment = Environment;
|
|
90
|
-
/** @internal */
|
|
91
|
-
Environment.__pulumiType = 'lagoon:lagoon:Environment';
|
|
92
115
|
//# sourceMappingURL=environment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../lagoon/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../lagoon/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2BAA2B,CAAC;IAElE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuDD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;Q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@ export interface EnvironmentAutogeneratedRouteConfigArgs {
|
|
|
71
71
|
/**
|
|
72
72
|
* Whether to generate routes for pull request environments.
|
|
73
73
|
*/
|
|
74
|
-
allowPullRequests?: pulumi.Input<boolean>;
|
|
74
|
+
allowPullRequests?: pulumi.Input<boolean | undefined>;
|
|
75
75
|
/**
|
|
76
76
|
* Whether to disable request verification on autogenerated routes.
|
|
77
77
|
*/
|
|
78
|
-
disableRequestVerification?: pulumi.Input<boolean>;
|
|
78
|
+
disableRequestVerification?: pulumi.Input<boolean | undefined>;
|
|
79
79
|
/**
|
|
80
80
|
* Whether autogenerated routes are enabled for this environment.
|
|
81
81
|
*/
|
|
82
|
-
enabled?: pulumi.Input<boolean>;
|
|
82
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* The Lagoon environment name. Changing this forces replacement.
|
|
85
85
|
*/
|
|
@@ -87,15 +87,15 @@ export interface EnvironmentAutogeneratedRouteConfigArgs {
|
|
|
87
87
|
/**
|
|
88
88
|
* How to handle insecure (HTTP) traffic: Allow, Redirect, or None.
|
|
89
89
|
*/
|
|
90
|
-
insecure?: pulumi.Input<string>;
|
|
90
|
+
insecure?: pulumi.Input<string | undefined>;
|
|
91
91
|
/**
|
|
92
92
|
* Path-based routing rules for autogenerated routes.
|
|
93
93
|
*/
|
|
94
|
-
pathRoutes?: pulumi.Input<pulumi.Input<inputs.resources.AutogeneratedPathRouteInputArgs>[]>;
|
|
94
|
+
pathRoutes?: pulumi.Input<pulumi.Input<inputs.resources.AutogeneratedPathRouteInputArgs>[] | undefined>;
|
|
95
95
|
/**
|
|
96
96
|
* Custom prefixes for autogenerated route domains.
|
|
97
97
|
*/
|
|
98
|
-
prefixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
98
|
+
prefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
99
99
|
/**
|
|
100
100
|
* The Lagoon project name. Changing this forces replacement.
|
|
101
101
|
*/
|
|
@@ -103,5 +103,6 @@ export interface EnvironmentAutogeneratedRouteConfigArgs {
|
|
|
103
103
|
/**
|
|
104
104
|
* Whether to use Let's Encrypt for autogenerated route TLS.
|
|
105
105
|
*/
|
|
106
|
-
tlsAcme?: pulumi.Input<boolean>;
|
|
106
|
+
tlsAcme?: pulumi.Input<boolean | undefined>;
|
|
107
107
|
}
|
|
108
|
+
//# sourceMappingURL=environmentAutogeneratedRouteConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentAutogeneratedRouteConfig.d.ts","sourceRoot":"","sources":["../../lagoon/environmentAutogeneratedRouteConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,qBAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mCAAmC;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mCAAmC;IAO9E;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,SAAwB,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACvF;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OA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