indraq_cli 2.1.0 → 2.2.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.
- package/LICENSE +21 -21
- package/README.md +41 -15
- package/cloud-api/.dockerignore +18 -18
- package/cloud-api/.env.example +14 -14
- package/cloud-api/Dockerfile +19 -19
- package/cloud-api/README.md +93 -93
- package/cloud-api/dist/index.js +265 -27
- package/cloud-api/node_modules/.package-lock.json +1 -1
- package/cloud-api/package-lock.json +2 -2
- package/cloud-api/package.json +1 -1
- package/cloud-api/sql/001_init.sql +8 -8
- package/cloud-api/sql/002_user_providers_and_project_resources.sql +40 -40
- package/cloud-api/sql/003_environment_infrastructure.sql +19 -19
- package/cloud-api/sql/004_managed_aws_credentials.sql +20 -20
- package/cloud-api/sql/005_project_members_and_resource_grants.sql +22 -22
- package/cloud-api/sql/006_catalog_identity_password_security.sql +96 -96
- package/cloud-api/sql/007_aws_access_key_rotation.sql +16 -16
- package/cloud-api/sql/008_provider_scopes.sql +91 -91
- package/cloud-api/sql/009_scope_user_secrets_and_project_lifecycle.sql +13 -0
- package/cloud-api/src/index.ts +164 -27
- package/cloud-api/tsconfig.json +18 -18
- package/dist/cli/help-content.d.ts.map +1 -1
- package/dist/cli/help-content.js +29 -7
- package/dist/cli/help-content.js.map +1 -1
- package/dist/modules/access/commands/access.command.js +30 -30
- package/dist/modules/aws/services/route53-lookup.service.js.map +1 -1
- package/dist/modules/cloud/commands/cloud.command.d.ts +4 -0
- package/dist/modules/cloud/commands/cloud.command.d.ts.map +1 -1
- package/dist/modules/cloud/commands/cloud.command.js +52 -1
- package/dist/modules/cloud/commands/cloud.command.js.map +1 -1
- package/dist/modules/cloud/index.d.ts.map +1 -1
- package/dist/modules/cloud/index.js +6 -3
- package/dist/modules/cloud/index.js.map +1 -1
- package/dist/modules/cloud/services/cloud-jenkins.service.js +71 -71
- package/dist/modules/cloud/services/user-provider.service.d.ts +2 -8
- package/dist/modules/cloud/services/user-provider.service.d.ts.map +1 -1
- package/dist/modules/cloud/services/user-provider.service.js +7 -35
- package/dist/modules/cloud/services/user-provider.service.js.map +1 -1
- package/dist/modules/deploy/commands/build.command.d.ts +1 -0
- package/dist/modules/deploy/commands/build.command.d.ts.map +1 -1
- package/dist/modules/deploy/commands/build.command.js +12 -5
- package/dist/modules/deploy/commands/build.command.js.map +1 -1
- package/dist/modules/deploy/index.d.ts.map +1 -1
- package/dist/modules/deploy/index.js +11 -4
- package/dist/modules/deploy/index.js.map +1 -1
- package/dist/modules/prebuild/commands/prebuild.command.d.ts +0 -4
- package/dist/modules/prebuild/commands/prebuild.command.d.ts.map +1 -1
- package/dist/modules/prebuild/commands/prebuild.command.js +34 -38
- package/dist/modules/prebuild/commands/prebuild.command.js.map +1 -1
- package/dist/modules/prebuild/index.d.ts.map +1 -1
- package/dist/modules/prebuild/index.js +4 -8
- package/dist/modules/prebuild/index.js.map +1 -1
- package/dist/modules/scaffold/services/docker-template.service.js +95 -95
- package/dist/modules/scopes/commands/scope.command.d.ts.map +1 -1
- package/dist/modules/scopes/commands/scope.command.js +3 -47
- package/dist/modules/scopes/commands/scope.command.js.map +1 -1
- package/dist/modules/scopes/services/scope-native.service.js +2 -2
- package/dist/modules/scopes/services/scope-native.service.js.map +1 -1
- package/dist/modules/users/commands/user.command.d.ts +1 -0
- package/dist/modules/users/commands/user.command.d.ts.map +1 -1
- package/dist/modules/users/commands/user.command.js +15 -1
- package/dist/modules/users/commands/user.command.js.map +1 -1
- package/dist/modules/users/index.d.ts.map +1 -1
- package/dist/modules/users/index.js +3 -2
- package/dist/modules/users/index.js.map +1 -1
- package/dist/modules/users/providers/jenkins-user.provider.js +95 -95
- package/dist/shared/config/config-files.js +7 -7
- package/dist/shared/jenkins/jenkins.service.d.ts.map +1 -1
- package/dist/shared/jenkins/jenkins.service.js +13 -8
- package/dist/shared/jenkins/jenkins.service.js.map +1 -1
- package/dist/shared/jenkins/role-strategy-groovy.js +84 -84
- package/docs/ARCHITECTURE.md +29 -29
- package/docs/CREATE-DEPLOYMENT-reference.groovy +1105 -1105
- package/package.json +9 -5
- package/templates/jenkins/CREATE-DEPLOYMENT.groovy +1105 -1105
- package/templates/jenkins/Jenkinsfile-Mobile-App +759 -759
- package/CHANGELOG_v2.1.0.md +0 -27
- package/UPGRADE_v2.0_to_v2.1.md +0 -68
- package/cloud-api/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "indraq_cli",
|
|
3
|
-
"version": "2.1
|
|
4
|
-
"description": "IndraQ scope-
|
|
3
|
+
"version": "2.2.1",
|
|
4
|
+
"description": "IndraQ scope-first cloud CLI with hardened per-user provider credentials and project-scoped deployments",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"indraq": "dist/index.js"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dev": "ts-node src/index.ts",
|
|
14
14
|
"watch": "nodemon --exec ts-node src/index.ts",
|
|
15
15
|
"build:cloud": "npm --prefix cloud-api install --no-audit --no-fund && npm --prefix cloud-api run build",
|
|
16
|
-
"test": "npm run test:cloud-endpoint && npm run test:user-credentials && npm run test:infrastructure && npm run test:platform && npm run test:project-access && npm run test:project-create && npm run test:jenkins-crumb && npm run test:jenkins-port && npm run test:prebuild && npm run test:docker-context && npm run test:identity-security && npm run test:user-lifecycle-jenkins && npm run test:v2-lifecycle && npm run test:v21-scopes",
|
|
16
|
+
"test": "npm run test:cloud-endpoint && npm run test:user-credentials && npm run test:infrastructure && npm run test:platform && npm run test:project-access && npm run test:project-create && npm run test:jenkins-crumb && npm run test:jenkins-port && npm run test:prebuild && npm run test:docker-context && npm run test:identity-security && npm run test:user-lifecycle-jenkins && npm run test:v2-lifecycle && npm run test:v21-scopes && npm run test:v22",
|
|
17
17
|
"test:user-credentials": "node tests/cloud-user-credential-regression.cjs",
|
|
18
18
|
"test:prebuild": "node tests/prebuild-cloud-regression.cjs",
|
|
19
19
|
"test:jenkins-port": "node tests/jenkins-port-regression.cjs",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"test:identity-security": "node tests/identity-security-regression.cjs",
|
|
28
28
|
"test:user-lifecycle-jenkins": "node tests/user-lifecycle-jenkins-regression.cjs",
|
|
29
29
|
"test:v2-lifecycle": "node tests/v2-user-project-lifecycle-regression.cjs",
|
|
30
|
-
"test:v21-scopes": "node tests/v21-scope-architecture-regression.cjs"
|
|
30
|
+
"test:v21-scopes": "node tests/v21-scope-architecture-regression.cjs",
|
|
31
|
+
"test:v22": "node tests/v22-scope-security-deploy-regression.cjs"
|
|
31
32
|
},
|
|
32
33
|
"keywords": [
|
|
33
34
|
"indraq",
|
|
@@ -71,7 +72,10 @@
|
|
|
71
72
|
"templates/jenkins",
|
|
72
73
|
"cloud-api",
|
|
73
74
|
"CHANGELOG_v2.1.0.md",
|
|
74
|
-
"UPGRADE_v2.0_to_v2.1.md"
|
|
75
|
+
"UPGRADE_v2.0_to_v2.1.md",
|
|
76
|
+
"CHANGELOG_v2.2.0.md",
|
|
77
|
+
"UPGRADE_v2.1_to_v2.2.md",
|
|
78
|
+
"RELEASE_CHECKS_v2.2.0.md"
|
|
75
79
|
],
|
|
76
80
|
"publishConfig": {
|
|
77
81
|
"access": "public",
|