openship 0.2.3 → 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 +104 -61
- package/dist/bare-ITM45QBX.js +18 -0
- package/dist/bowser-MFQA6OS4.js +2821 -0
- package/dist/chunk-3U4SPZD5.js +241 -0
- package/dist/chunk-46YJFP4S.js +1771 -0
- package/dist/chunk-4CQWT2WL.js +116 -0
- package/dist/chunk-4FABQGQP.js +23 -0
- package/dist/chunk-4LEL3H2Z.js +84 -0
- package/dist/chunk-4MG3BVHE.js +326 -0
- package/dist/chunk-4VNS5WPM.js +42 -0
- package/dist/chunk-5N7VUGL6.js +2094 -0
- package/dist/chunk-5ZCKQ2MI.js +1360 -0
- package/dist/chunk-6ERIMTBC.js +1412 -0
- package/dist/chunk-7UOB5GGQ.js +132 -0
- package/dist/chunk-BUBSSKO6.js +1384 -0
- package/dist/chunk-E6W2JMMU.js +341 -0
- package/dist/chunk-E77LJWJK.js +1535 -0
- package/dist/chunk-F4DFVG6Q.js +573 -0
- package/dist/chunk-HFYDYK4D.js +1092 -0
- package/dist/chunk-JR2OCMJA.js +46 -0
- package/dist/chunk-JUJBBF5U.js +746 -0
- package/dist/chunk-JZLNHGLW.js +19145 -0
- package/dist/chunk-KD7VO4LG.js +2617 -0
- package/dist/chunk-LBFH7THC.js +435 -0
- package/dist/chunk-NB2VEIWG.js +129 -0
- package/dist/chunk-OJE6YWPQ.js +2866 -0
- package/dist/chunk-QKFRZNKN.js +4941 -0
- package/dist/chunk-RBZPFTHV.js +13354 -0
- package/dist/chunk-S6DSRLNE.js +121 -0
- package/dist/chunk-TEYJYSMT.js +409 -0
- package/dist/chunk-U2DPZSXA.js +112 -0
- package/dist/chunk-WJPCBU7Z.js +3147 -0
- package/dist/chunk-XIFRMKYT.js +13 -0
- package/dist/chunk-XVSAUO2I.js +7946 -0
- package/dist/chunk-Y37KHU7L.js +31 -0
- package/dist/chunk-YL67EWYZ.js +416 -0
- package/dist/chunk-ZKJOFWBJ.js +1879 -0
- package/dist/cloud-JMPHO3CW.js +7 -0
- package/dist/cloud-W5G6YXAY.js +24 -0
- package/dist/dist-L3MPOWCA.js +65 -0
- package/dist/dist-es-4C322O5D.js +22 -0
- package/dist/dist-es-GTAMF674.js +87 -0
- package/dist/dist-es-KE56MWYO.js +169 -0
- package/dist/dist-es-NRZIQY5B.js +484 -0
- package/dist/dist-es-WZCR7DHQ.js +317 -0
- package/dist/dist-es-XQCOTGC7.js +376 -0
- package/dist/dist-es-ZW3HFQUM.js +69 -0
- package/dist/docker-3FVJMFC3.js +12 -0
- package/dist/docker-edge-executor-ZIWAZWPL.js +9 -0
- package/dist/edge-import-53M5DGWZ.js +39 -0
- package/dist/event-streams-7LGDL56D.js +42 -0
- package/dist/executor-J7BHW5HF.js +26 -0
- package/dist/index.js +2459 -3461
- package/dist/loadSso-N273C5I7.js +577 -0
- package/dist/nginx-YZWKYKQU.js +16 -0
- package/dist/noop-RRNCIUI5.js +7 -0
- package/dist/openresty-lua-HAO4EUDY.js +32 -0
- package/dist/server/index.js +217916 -205055
- package/dist/server/migrations/0057_complete_prism.sql +18 -0
- package/dist/server/migrations/0058_add_server_is_local.sql +1 -0
- package/dist/server/migrations/0059_legal_fixer.sql +18 -0
- package/dist/server/migrations/0060_add_route_strategy_host_port.sql +3 -0
- package/dist/server/migrations/0061_notification_default_multi_kind.sql +3 -0
- package/dist/server/migrations/0062_add_incoming_webhook.sql +21 -0
- package/dist/server/migrations/0063_add_migration_logs.sql +1 -0
- package/dist/server/migrations/0064_add_migration_partial.sql +2 -0
- package/dist/server/migrations/0065_custom_app_template.sql +14 -0
- package/dist/server/migrations/0066_ensure_migration_partial_columns.sql +2 -0
- package/dist/server/migrations/0067_webhook_delivery.sql +28 -0
- package/dist/server/migrations/0068_add_migration_target_volumes.sql +1 -0
- package/dist/server/migrations/0069_add_project_composite_routes.sql +1 -0
- package/dist/server/migrations/0070_forward_git_to_server.sql +1 -0
- package/dist/server/migrations/meta/0057_snapshot.json +9326 -0
- package/dist/server/migrations/meta/0058_snapshot.json +9333 -0
- package/dist/server/migrations/meta/0059_snapshot.json +9495 -0
- package/dist/server/migrations/meta/0060_snapshot.json +9515 -0
- package/dist/server/migrations/meta/_journal.json +99 -1
- package/dist/setup-5X3WEEHA.js +14 -0
- package/dist/signin-DR462ERO.js +663 -0
- package/dist/sso-oidc-VBZLJUK5.js +830 -0
- package/dist/sts-EJLZ4Z77.js +1422 -0
- package/package.json +6 -2
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
setCredentialFeature
|
|
3
|
+
} from "./chunk-OJE6YWPQ.js";
|
|
4
|
+
import {
|
|
5
|
+
CredentialsProviderError,
|
|
6
|
+
externalDataInterceptor
|
|
7
|
+
} from "./chunk-5N7VUGL6.js";
|
|
8
|
+
import "./chunk-6ERIMTBC.js";
|
|
9
|
+
import "./chunk-4VNS5WPM.js";
|
|
10
|
+
|
|
11
|
+
// ../../node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
12
|
+
import { readFileSync } from "fs";
|
|
13
|
+
|
|
14
|
+
// ../../node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
|
|
15
|
+
var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
16
|
+
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
17
|
+
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
18
|
+
let { roleAssumerWithWebIdentity } = init;
|
|
19
|
+
if (!roleAssumerWithWebIdentity) {
|
|
20
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import("./sts-EJLZ4Z77.js");
|
|
21
|
+
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
22
|
+
...init.clientConfig,
|
|
23
|
+
credentialProviderLogger: init.logger,
|
|
24
|
+
parentClientConfig: {
|
|
25
|
+
...awsIdentityProperties?.callerClientConfig,
|
|
26
|
+
...init.parentClientConfig
|
|
27
|
+
}
|
|
28
|
+
}, init.clientPlugins);
|
|
29
|
+
}
|
|
30
|
+
return roleAssumerWithWebIdentity({
|
|
31
|
+
RoleArn: roleArn,
|
|
32
|
+
RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,
|
|
33
|
+
WebIdentityToken: webIdentityToken,
|
|
34
|
+
ProviderId: providerId,
|
|
35
|
+
PolicyArns: policyArns,
|
|
36
|
+
Policy: policy,
|
|
37
|
+
DurationSeconds: durationSeconds
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// ../../node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
42
|
+
var ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
43
|
+
var ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
44
|
+
var ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
|
|
45
|
+
var fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
46
|
+
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
47
|
+
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
48
|
+
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
49
|
+
const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];
|
|
50
|
+
if (!webIdentityTokenFile || !roleArn) {
|
|
51
|
+
throw new CredentialsProviderError("Web identity configuration not specified", {
|
|
52
|
+
logger: init.logger
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
const credentials = await fromWebToken({
|
|
56
|
+
...init,
|
|
57
|
+
webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
|
|
58
|
+
roleArn,
|
|
59
|
+
roleSessionName
|
|
60
|
+
})(awsIdentityProperties);
|
|
61
|
+
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
62
|
+
setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
63
|
+
}
|
|
64
|
+
return credentials;
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
fromTokenFile,
|
|
68
|
+
fromWebToken
|
|
69
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DockerRuntime
|
|
3
|
+
} from "./chunk-KD7VO4LG.js";
|
|
4
|
+
import "./chunk-HFYDYK4D.js";
|
|
5
|
+
import "./chunk-YL67EWYZ.js";
|
|
6
|
+
import "./chunk-4MG3BVHE.js";
|
|
7
|
+
import "./chunk-4LEL3H2Z.js";
|
|
8
|
+
import "./chunk-JZLNHGLW.js";
|
|
9
|
+
import "./chunk-4VNS5WPM.js";
|
|
10
|
+
export {
|
|
11
|
+
DockerRuntime
|
|
12
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
importMigratedSites,
|
|
3
|
+
waitForApiHealth
|
|
4
|
+
} from "./chunk-RBZPFTHV.js";
|
|
5
|
+
import "./chunk-QKFRZNKN.js";
|
|
6
|
+
import "./chunk-XIFRMKYT.js";
|
|
7
|
+
import "./chunk-5ZCKQ2MI.js";
|
|
8
|
+
import "./chunk-LBFH7THC.js";
|
|
9
|
+
import "./chunk-Y37KHU7L.js";
|
|
10
|
+
import "./chunk-4FABQGQP.js";
|
|
11
|
+
import "./chunk-S6DSRLNE.js";
|
|
12
|
+
import "./chunk-TEYJYSMT.js";
|
|
13
|
+
import "./chunk-BUBSSKO6.js";
|
|
14
|
+
import "./chunk-JR2OCMJA.js";
|
|
15
|
+
import "./chunk-OJE6YWPQ.js";
|
|
16
|
+
import "./chunk-5N7VUGL6.js";
|
|
17
|
+
import "./chunk-6ERIMTBC.js";
|
|
18
|
+
import "./chunk-KD7VO4LG.js";
|
|
19
|
+
import "./chunk-ZKJOFWBJ.js";
|
|
20
|
+
import "./chunk-WJPCBU7Z.js";
|
|
21
|
+
import "./chunk-46YJFP4S.js";
|
|
22
|
+
import "./chunk-HFYDYK4D.js";
|
|
23
|
+
import "./chunk-NB2VEIWG.js";
|
|
24
|
+
import "./chunk-3U4SPZD5.js";
|
|
25
|
+
import "./chunk-YL67EWYZ.js";
|
|
26
|
+
import "./chunk-E77LJWJK.js";
|
|
27
|
+
import "./chunk-U2DPZSXA.js";
|
|
28
|
+
import "./chunk-4MG3BVHE.js";
|
|
29
|
+
import "./chunk-4LEL3H2Z.js";
|
|
30
|
+
import "./chunk-JUJBBF5U.js";
|
|
31
|
+
import "./chunk-4CQWT2WL.js";
|
|
32
|
+
import "./chunk-E6W2JMMU.js";
|
|
33
|
+
import "./chunk-JZLNHGLW.js";
|
|
34
|
+
import "./chunk-XVSAUO2I.js";
|
|
35
|
+
import "./chunk-4VNS5WPM.js";
|
|
36
|
+
export {
|
|
37
|
+
importMigratedSites,
|
|
38
|
+
waitForApiHealth
|
|
39
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EventStreamCodec,
|
|
3
|
+
EventStreamMarshaller,
|
|
4
|
+
EventStreamMarshaller2,
|
|
5
|
+
EventStreamSerde,
|
|
6
|
+
HeaderMarshaller,
|
|
7
|
+
Int64,
|
|
8
|
+
MessageDecoderStream,
|
|
9
|
+
MessageEncoderStream,
|
|
10
|
+
SmithyMessageDecoderStream,
|
|
11
|
+
SmithyMessageEncoderStream,
|
|
12
|
+
eventStreamSerdeProvider,
|
|
13
|
+
eventStreamSerdeProvider2,
|
|
14
|
+
getChunkedStream,
|
|
15
|
+
getMessageUnmarshaller,
|
|
16
|
+
getUnmarshalledStream,
|
|
17
|
+
iterableToReadableStream,
|
|
18
|
+
readableStreamToIterable,
|
|
19
|
+
resolveEventStreamSerdeConfig
|
|
20
|
+
} from "./chunk-BUBSSKO6.js";
|
|
21
|
+
import "./chunk-6ERIMTBC.js";
|
|
22
|
+
import "./chunk-4VNS5WPM.js";
|
|
23
|
+
export {
|
|
24
|
+
EventStreamCodec,
|
|
25
|
+
EventStreamMarshaller2 as EventStreamMarshaller,
|
|
26
|
+
EventStreamSerde,
|
|
27
|
+
HeaderMarshaller,
|
|
28
|
+
Int64,
|
|
29
|
+
MessageDecoderStream,
|
|
30
|
+
MessageEncoderStream,
|
|
31
|
+
SmithyMessageDecoderStream,
|
|
32
|
+
SmithyMessageEncoderStream,
|
|
33
|
+
EventStreamMarshaller as UniversalEventStreamMarshaller,
|
|
34
|
+
eventStreamSerdeProvider2 as eventStreamSerdeProvider,
|
|
35
|
+
getChunkedStream,
|
|
36
|
+
getMessageUnmarshaller,
|
|
37
|
+
getUnmarshalledStream,
|
|
38
|
+
iterableToReadableStream,
|
|
39
|
+
readableStreamToIterable,
|
|
40
|
+
resolveEventStreamSerdeConfig,
|
|
41
|
+
eventStreamSerdeProvider as universalEventStreamSerdeProvider
|
|
42
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SshExecutor,
|
|
3
|
+
SystemSshExecutor,
|
|
4
|
+
createExecutor,
|
|
5
|
+
createHostExecutor,
|
|
6
|
+
hostControlDisabled
|
|
7
|
+
} from "./chunk-E77LJWJK.js";
|
|
8
|
+
import {
|
|
9
|
+
LocalExecutor
|
|
10
|
+
} from "./chunk-U2DPZSXA.js";
|
|
11
|
+
import "./chunk-4MG3BVHE.js";
|
|
12
|
+
import "./chunk-4LEL3H2Z.js";
|
|
13
|
+
import {
|
|
14
|
+
wrapLocalBuildCommand
|
|
15
|
+
} from "./chunk-4CQWT2WL.js";
|
|
16
|
+
import "./chunk-JZLNHGLW.js";
|
|
17
|
+
import "./chunk-4VNS5WPM.js";
|
|
18
|
+
export {
|
|
19
|
+
LocalExecutor,
|
|
20
|
+
SshExecutor,
|
|
21
|
+
SystemSshExecutor,
|
|
22
|
+
createExecutor,
|
|
23
|
+
createHostExecutor,
|
|
24
|
+
hostControlDisabled,
|
|
25
|
+
wrapLocalBuildCommand
|
|
26
|
+
};
|