@docupace/pipeline 1.0.137 → 1.0.138

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @docupace/pipeline
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1fb7d37: Add support for Connect deploy
8
+
3
9
  ## 1.0.136
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -51,20 +51,28 @@ dp-next-cli [command] [options]
51
51
  - `-j, --jira-ticket [jiraTicket]`: JIRA ticket (optional)
52
52
  - `-c, --deploy-core <deployCore>`: Deploy Core (default: "false")
53
53
  - `-C, --deploy-connect <deployConnect>`: Deploy Connect (default: "false")
54
+ - `-A, --deploy-connect-aws <deployConnectAws>`: Deploy Connect UI on AWS via `dp-eks-connect-ui-gitops` (default: "false")
54
55
  - `update-site-version <env> <site>`: Update specific version components for a site
55
56
  - `-u, --ui-version <uiVersion>`: UI image tag
56
57
  - `-g, --graph-version <graphVersion>`: GraphQL-server image tag
57
58
  - `-S, --standard-config <standardConfig>`: Standard config remote branch
58
59
  - `-s, --site-config <siteConfig>`: Site config remote branch
60
+ - `-c, --connect-version <connectVersion>`: AWS Connect UI image tag (optional)
59
61
  - `-j, --jira-ticket [jiraTicket]`: JIRA ticket (required for prod)
60
62
  - `deploy-template`: Deploy an application for a specific site
61
63
  - `deploy-app <application>`: Deploy an application for a specific site
64
+ - `deploy-app connect -e <env> -s <site>`: Deploy AWS Connect UI (triggers `deploy-connect-aws` / gitops `update-site-image`)
65
+ - `-e, --env <env>` / `-s, --site <site>`: Target env/site (optional; otherwise uses auto-deploy targets)
62
66
  - `deploy-core <env> <site>`: Deploy Core
63
67
  - `-l, --liquibase <liquibase>`: Application name (default: "true")
64
68
  - `-b, --branch <branch>`: Branch (default: "master")
65
69
  - `deploy-connect <env> <site>`: Deploy Connect
66
70
  - `-l, --liquibase <liquibase>`: Application name (default: "true")
67
71
  - `-b, --branch <branch>`: Branch (default: "master")
72
+ - `deploy-connect-aws <env> <sites> <version>`: Deploy Connect UI on AWS (updates `dp-eks-connect-ui-gitops` image.tag via Bitbucket pipeline)
73
+ - `<sites>`: single site or comma-separated list (e.g. `oa` or `oa,athene,template`)
74
+ - `-b, --branch <branch>`: Gitops branch for the pipeline (default: "main")
75
+ - `-w, --wait` / `--no-wait`: Wait for pipeline completion (default: wait)
68
76
  - `deploy-core-pipeline <env> <site>`: Deploy Core via pipeline
69
77
  - `-l, --liquibase <liquibase>`: Application name (default: "true")
70
78
  - `-b, --branch <branch>`: Branch (default: "master")
@@ -187,6 +195,13 @@ dp-changeset-cli create-changeset
187
195
 
188
196
  # Configure Auth0 for a site
189
197
  dp-auth0-cli configureFromSite sourceSite targetSite dev prod true true true false
198
+
199
+ # Deploy Connect UI image tag on AWS (single site or comma-separated sites)
200
+ dp-next-cli deploy-connect-aws qa 1stglobal 4.75.52
201
+ dp-next-cli deploy-connect-aws qa oa,athene,template 4.75.52
202
+
203
+ # Promote AWS Connect UI version from one site to another via deploy-from-site
204
+ dp-next-cli deploy-from-site -f dev -t qa -F template -T template -A true
190
205
  ```
191
206
 
192
207
  ## License
File without changes
File without changes
File without changes
File without changes
package/next/changeset.sh CHANGED
File without changes
package/next/copy.sh CHANGED
File without changes
package/next/deploy.sh CHANGED
File without changes
package/next/execute.sh CHANGED
File without changes
package/next/sonar.sh CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.137",
3
+ "version": "1.0.138",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1,3 +1,4 @@
1
1
  allowBuilds:
2
+ '@parcel/watcher': true
2
3
  esbuild: true
3
4
  unrs-resolver: true
File without changes
File without changes
package/src/next/cli.js CHANGED
@@ -20,6 +20,7 @@ import { connectClone } from './connect.js';
20
20
  import dotenv from 'dotenv';
21
21
  import { $ } from 'zx';
22
22
  import { deployConnect, deployCore } from './jenkins.js';
23
+ import { deployConnectAws } from './connect-aws.js';
23
24
  import { runPipeline } from './pipline.js';
24
25
 
25
26
  dotenv.config({ path: ['.env.pipeline.local', 'config/.env.pipeline.local'] });
@@ -93,6 +94,11 @@ program
93
94
  .option('-j, --jira-ticket [jiraTicket]', 'JIRA ticket (optional)')
94
95
  .option('-c, --deploy-core <deployCore>', 'Deploy Core', 'false')
95
96
  .option('-C, --deploy-connect <deployConnect>', 'Deploy Connect', 'false')
97
+ .option(
98
+ '-A, --deploy-connect-aws <deployConnectAws>',
99
+ 'Deploy Connect UI on AWS (dp-eks-connect-ui-gitops)',
100
+ 'false',
101
+ )
96
102
  .action(async (options) => {
97
103
  const {
98
104
  fromEnv,
@@ -101,6 +107,7 @@ program
101
107
  toSite,
102
108
  deployCore,
103
109
  deployConnect,
110
+ deployConnectAws: deployConnectAwsFlag,
104
111
  jiraTicket,
105
112
  } = options;
106
113
  await deployFromSite(
@@ -111,6 +118,7 @@ program
111
118
  deployCore,
112
119
  deployConnect,
113
120
  jiraTicket,
121
+ deployConnectAwsFlag,
114
122
  );
115
123
  });
116
124
 
@@ -124,10 +132,20 @@ program
124
132
  'Standard config remote branch',
125
133
  )
126
134
  .option('-s, --site-config <siteConfig>', 'Site config remote branch')
135
+ .option(
136
+ '-c, --connect-version <connectVersion>',
137
+ 'AWS Connect UI image tag (triggers deploy-connect-aws)',
138
+ )
127
139
  .option('-j, --jira-ticket [jiraTicket]', 'JIRA ticket (required for prod)')
128
140
  .action(async (env, site, options) => {
129
- const { uiVersion, graphVersion, standardConfig, siteConfig, jiraTicket } =
130
- options;
141
+ const {
142
+ uiVersion,
143
+ graphVersion,
144
+ standardConfig,
145
+ siteConfig,
146
+ connectVersion,
147
+ jiraTicket,
148
+ } = options;
131
149
  await updateSiteVersion(
132
150
  env,
133
151
  site,
@@ -136,6 +154,7 @@ program
136
154
  standardConfig,
137
155
  siteConfig,
138
156
  jiraTicket,
157
+ connectVersion,
139
158
  );
140
159
  });
141
160
 
@@ -174,7 +193,9 @@ program
174
193
 
175
194
  program
176
195
  .command('deploy-app <application>')
177
- .description('Deploy an application for a specific site')
196
+ .description(
197
+ 'Deploy an application for a specific site (use application "connect" for AWS Connect UI)',
198
+ )
178
199
  .option('-e, --env <env>', 'Target environment (overrides default sites)')
179
200
  .option('-s, --site <site>', 'Target site (overrides default sites)')
180
201
  .action(async (application, options) => {
@@ -183,6 +204,19 @@ program
183
204
  options.env && options.site
184
205
  ? [{ env: options.env, site: options.site }]
185
206
  : await getDefaultDeploySite(deployTag);
207
+
208
+ // Batch Connect AWS updates into one pipeline run per env (comma-separated sites).
209
+ if (application === 'connect') {
210
+ const sitesByEnv = sites.reduce((acc, { env, site }) => {
211
+ (acc[env] ??= []).push(site);
212
+ return acc;
213
+ }, {});
214
+ for (const [env, envSites] of Object.entries(sitesByEnv)) {
215
+ await deployAppWithTag('connect', env, envSites.join(','), deployTag);
216
+ }
217
+ return;
218
+ }
219
+
186
220
  for (const { env, site } of sites) {
187
221
  await deployAppWithTag(application, env, site, deployTag);
188
222
  }
@@ -223,6 +257,21 @@ program
223
257
  await deployConnect(env, site, options.liquibase, options.branch);
224
258
  });
225
259
 
260
+ program
261
+ .command('deploy-connect-aws <env> <sites> <version>')
262
+ .description(
263
+ 'Deploy Connect UI on AWS by updating image.tag via dp-eks-connect-ui-gitops pipeline',
264
+ )
265
+ .option('-b, --branch <branch>', 'Gitops branch to run pipeline on', 'main')
266
+ .option('-w, --wait', 'Wait for the pipeline to complete', true)
267
+ .option('--no-wait', 'Do not wait for the pipeline to complete')
268
+ .action(async (env, sites, version, options) => {
269
+ await deployConnectAws(env, sites, version, {
270
+ wait: options.wait,
271
+ branch: options.branch,
272
+ });
273
+ });
274
+
226
275
  program
227
276
  .command('deploy-core-pipeline <env> <site>')
228
277
  .description('Deploy Core')
@@ -0,0 +1,88 @@
1
+ import { runPipeline } from './pipline.js';
2
+
3
+ export const CONNECT_AWS_GITOPS_REPO = 'dp-eks-connect-ui-gitops';
4
+ export const CONNECT_AWS_UPDATE_PIPELINE = 'update-site-image';
5
+ export const CONNECT_AWS_DEFAULT_BRANCH = 'main';
6
+
7
+ const ALLOWED_ENVS = new Set(['dev', 'qa', 'stage', 'uat', 'prod']);
8
+ const SITE_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
9
+ const VERSION_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._+-]*$/;
10
+
11
+ /**
12
+ * Normalize sites input to a non-empty list of site names.
13
+ * Accepts a single site string, comma-separated string, or string[].
14
+ *
15
+ * @param {string|string[]} sites
16
+ * @returns {string[]}
17
+ */
18
+ export function normalizeConnectAwsSites(sites) {
19
+ const raw = Array.isArray(sites) ? sites : String(sites ?? '').split(',');
20
+ return raw.map((s) => String(s).trim()).filter(Boolean);
21
+ }
22
+
23
+ /**
24
+ * Trigger the Bitbucket custom pipeline that updates
25
+ * envs/<env>/<site>/values.yaml image.tag in dp-eks-connect-ui-gitops.
26
+ *
27
+ * @param {string} env - Target environment (dev|qa|stage|uat|prod)
28
+ * @param {string|string[]} sites - Site name, or comma-separated / array of sites
29
+ * @param {string} version - Image tag to deploy
30
+ * @param {{ wait?: boolean, branch?: string }} [options]
31
+ */
32
+ export async function deployConnectAws(
33
+ env,
34
+ sites,
35
+ version,
36
+ { wait = true, branch = CONNECT_AWS_DEFAULT_BRANCH } = {},
37
+ ) {
38
+ const siteList = normalizeConnectAwsSites(sites);
39
+ validateConnectAwsArgs(env, siteList, version);
40
+
41
+ const siteParam = siteList.join(',');
42
+ console.log(
43
+ `Deploying AWS Connect UI: env=${env} site(s)=${siteParam} version=${version} (pipeline=${CONNECT_AWS_UPDATE_PIPELINE})`,
44
+ );
45
+
46
+ await runPipeline(
47
+ CONNECT_AWS_GITOPS_REPO,
48
+ CONNECT_AWS_UPDATE_PIPELINE,
49
+ branch,
50
+ {
51
+ ENV: env,
52
+ SITE: siteParam,
53
+ VERSION: version,
54
+ },
55
+ wait,
56
+ );
57
+ }
58
+
59
+ /**
60
+ * @param {string} env
61
+ * @param {string|string[]} sites - single site, comma-separated, or array
62
+ * @param {string} version
63
+ */
64
+ export function validateConnectAwsArgs(env, sites, version) {
65
+ if (!ALLOWED_ENVS.has(env)) {
66
+ throw new Error(
67
+ `Invalid env "${env}". Expected one of: ${[...ALLOWED_ENVS].join(', ')}`,
68
+ );
69
+ }
70
+
71
+ const siteList = normalizeConnectAwsSites(sites);
72
+ if (siteList.length === 0) {
73
+ throw new Error('At least one site is required');
74
+ }
75
+ for (const site of siteList) {
76
+ if (!SITE_PATTERN.test(site)) {
77
+ throw new Error(`Invalid site "${site}"`);
78
+ }
79
+ }
80
+
81
+ if (!version || !VERSION_PATTERN.test(version)) {
82
+ throw new Error(`Invalid version "${version}"`);
83
+ }
84
+ }
85
+
86
+ export function isAllowedConnectAwsEnv(env) {
87
+ return ALLOWED_ENVS.has(env);
88
+ }
@@ -0,0 +1,131 @@
1
+ import { describe, expect, it, jest, beforeEach } from '@jest/globals';
2
+
3
+ jest.unstable_mockModule('./pipline.js', () => ({
4
+ runPipeline: jest.fn(),
5
+ }));
6
+
7
+ const { runPipeline } = await import('./pipline.js');
8
+ const {
9
+ deployConnectAws,
10
+ validateConnectAwsArgs,
11
+ normalizeConnectAwsSites,
12
+ CONNECT_AWS_GITOPS_REPO,
13
+ CONNECT_AWS_UPDATE_PIPELINE,
14
+ } = await import('./connect-aws.js');
15
+
16
+ describe('normalizeConnectAwsSites', () => {
17
+ it('accepts a single site', () => {
18
+ expect(normalizeConnectAwsSites('oa')).toEqual(['oa']);
19
+ });
20
+
21
+ it('splits comma-separated sites and trims', () => {
22
+ expect(normalizeConnectAwsSites('oa, athene, template')).toEqual([
23
+ 'oa',
24
+ 'athene',
25
+ 'template',
26
+ ]);
27
+ });
28
+
29
+ it('accepts an array', () => {
30
+ expect(normalizeConnectAwsSites(['oa', 'athene'])).toEqual([
31
+ 'oa',
32
+ 'athene',
33
+ ]);
34
+ });
35
+ });
36
+
37
+ describe('validateConnectAwsArgs', () => {
38
+ it('accepts a single site', () => {
39
+ expect(() =>
40
+ validateConnectAwsArgs('qa', '1stglobal', '4.75.52'),
41
+ ).not.toThrow();
42
+ });
43
+
44
+ it('accepts comma-separated sites', () => {
45
+ expect(() =>
46
+ validateConnectAwsArgs('qa', 'oa,athene', '4.75.52'),
47
+ ).not.toThrow();
48
+ });
49
+
50
+ it('rejects invalid env', () => {
51
+ expect(() =>
52
+ validateConnectAwsArgs('preprod', '1stglobal', '4.75.52'),
53
+ ).toThrow(/Invalid env/);
54
+ });
55
+
56
+ it('rejects invalid site in a list', () => {
57
+ expect(() => validateConnectAwsArgs('qa', 'oa,../x', '4.75.52')).toThrow(
58
+ /Invalid site/,
59
+ );
60
+ });
61
+
62
+ it('rejects empty sites', () => {
63
+ expect(() => validateConnectAwsArgs('qa', ' , ', '4.75.52')).toThrow(
64
+ /At least one site/,
65
+ );
66
+ });
67
+
68
+ it('rejects invalid version', () => {
69
+ expect(() => validateConnectAwsArgs('qa', '1stglobal', '')).toThrow(
70
+ /Invalid version/,
71
+ );
72
+ });
73
+ });
74
+
75
+ describe('deployConnectAws', () => {
76
+ beforeEach(() => {
77
+ runPipeline.mockReset();
78
+ runPipeline.mockResolvedValue(undefined);
79
+ });
80
+
81
+ it('triggers update-site-image with a single SITE', async () => {
82
+ await deployConnectAws('dev', 'template', '4.76.1');
83
+
84
+ expect(runPipeline).toHaveBeenCalledWith(
85
+ CONNECT_AWS_GITOPS_REPO,
86
+ CONNECT_AWS_UPDATE_PIPELINE,
87
+ 'main',
88
+ {
89
+ ENV: 'dev',
90
+ SITE: 'template',
91
+ VERSION: '4.76.1',
92
+ },
93
+ true,
94
+ );
95
+ });
96
+
97
+ it('passes comma-separated SITE for multiple sites', async () => {
98
+ await deployConnectAws('qa', ['oa', 'athene'], '4.76.1');
99
+
100
+ expect(runPipeline).toHaveBeenCalledWith(
101
+ CONNECT_AWS_GITOPS_REPO,
102
+ CONNECT_AWS_UPDATE_PIPELINE,
103
+ 'main',
104
+ {
105
+ ENV: 'qa',
106
+ SITE: 'oa,athene',
107
+ VERSION: '4.76.1',
108
+ },
109
+ true,
110
+ );
111
+ });
112
+
113
+ it('honors wait and branch options', async () => {
114
+ await deployConnectAws('stage', 'oa,athene', 'git-commit-abc123', {
115
+ wait: false,
116
+ branch: 'feature/update-site-image-pipeline',
117
+ });
118
+
119
+ expect(runPipeline).toHaveBeenCalledWith(
120
+ CONNECT_AWS_GITOPS_REPO,
121
+ CONNECT_AWS_UPDATE_PIPELINE,
122
+ 'feature/update-site-image-pipeline',
123
+ {
124
+ ENV: 'stage',
125
+ SITE: 'oa,athene',
126
+ VERSION: 'git-commit-abc123',
127
+ },
128
+ false,
129
+ );
130
+ });
131
+ });
@@ -17,6 +17,11 @@ import { gitDescribeToSemver } from './git-to-semver.js';
17
17
  import { deployConnect, deployCore } from './jenkins.js';
18
18
  import { makeJiraRequest } from './jira.js';
19
19
  import { autoDeployConfigName } from './config.js';
20
+ import {
21
+ CONNECT_AWS_GITOPS_REPO,
22
+ deployConnectAws,
23
+ isAllowedConnectAwsEnv,
24
+ } from './connect-aws.js';
20
25
 
21
26
  /**
22
27
  * Clone the repository, read the YAML file, and return the parsed data and file paths.
@@ -432,6 +437,14 @@ export async function deployTemplate(
432
437
  export async function deployAppWithTag(application, env, site, deployTag) {
433
438
  console.log(`Deploying application: ${application} for site: ${site}`);
434
439
  console.log(`Using deployment tag: ${deployTag}`);
440
+
441
+ // Connect UI on AWS: update dp-eks-connect-ui-gitops image.tag via Bitbucket pipeline.
442
+ // (Not a Next gitops-<env> app — no <app>.values.yaml under dp/<site>/.)
443
+ if (application === 'connect') {
444
+ await deployConnectAws(env, site, deployTag, { wait: true });
445
+ return;
446
+ }
447
+
435
448
  const appDetails = appInfo[application] ?? getDefaultAppInfo(application);
436
449
  if (!appInfo[application]) {
437
450
  console.log(
@@ -847,10 +860,17 @@ export async function updateSiteVersion(
847
860
  standardConfig,
848
861
  siteConfig,
849
862
  jiraTicket,
863
+ connectVersion,
850
864
  ) {
851
- if (!uiVersion && !graphVersion && !standardConfig && !siteConfig) {
865
+ if (
866
+ !uiVersion &&
867
+ !graphVersion &&
868
+ !standardConfig &&
869
+ !siteConfig &&
870
+ !connectVersion
871
+ ) {
852
872
  console.error(
853
- '❌ At least one of --ui-version, --graph-version, --standard-config, or --site-config must be provided',
873
+ '❌ At least one of --ui-version, --graph-version, --standard-config, --site-config, or --connect-version must be provided',
854
874
  );
855
875
  process.exit(1);
856
876
  }
@@ -944,6 +964,15 @@ export async function updateSiteVersion(
944
964
  }
945
965
  }
946
966
 
967
+ const hasNextVersionUpdate =
968
+ uiVersion || graphVersion || standardConfig || siteConfig;
969
+
970
+ // Connect AWS-only: update image.tag via gitops pipeline and return.
971
+ if (connectVersion && !hasNextVersionUpdate) {
972
+ await deployConnectAws(env, site, connectVersion, { wait: true });
973
+ return;
974
+ }
975
+
947
976
  const toRepoPath = await cloneEnvRepository(env);
948
977
 
949
978
  if (env !== 'dev') {
@@ -1089,6 +1118,44 @@ export async function updateSiteVersion(
1089
1118
  } else {
1090
1119
  console.log('No changes detected. Nothing to push.');
1091
1120
  }
1121
+
1122
+ if (connectVersion) {
1123
+ await deployConnectAws(env, site, connectVersion, { wait: true });
1124
+ }
1125
+ }
1126
+
1127
+ /**
1128
+ * Read dp-connect-ui.image.tag for a site from the AWS Connect gitops repo.
1129
+ * @param {string} env
1130
+ * @param {string} site
1131
+ * @returns {Promise<string>}
1132
+ */
1133
+ export async function getConnectAwsImageTag(env, site) {
1134
+ if (!isAllowedConnectAwsEnv(env)) {
1135
+ throw new Error(
1136
+ `Invalid AWS Connect env "${env}". Expected one of: dev, qa, stage, uat, prod`,
1137
+ );
1138
+ }
1139
+
1140
+ const repoPath = await cloneRepository(CONNECT_AWS_GITOPS_REPO);
1141
+ const valuesFile = path.join(repoPath, 'envs', env, site, 'values.yaml');
1142
+
1143
+ try {
1144
+ if (!fs.existsSync(valuesFile)) {
1145
+ throw new Error(`AWS Connect values file not found: ${valuesFile}`);
1146
+ }
1147
+
1148
+ const content = fs.readFileSync(valuesFile, 'utf8');
1149
+ const match = content.match(/^\s{4}tag:\s*"?([^"\n]+)"?\s*$/m);
1150
+ if (!match?.[1]) {
1151
+ throw new Error(
1152
+ `Could not parse image.tag from envs/${env}/${site}/values.yaml`,
1153
+ );
1154
+ }
1155
+ return match[1].trim();
1156
+ } finally {
1157
+ await $`rm -rf ${repoPath}`;
1158
+ }
1092
1159
  }
1093
1160
 
1094
1161
  export async function deployFromSite(
@@ -1099,6 +1166,7 @@ export async function deployFromSite(
1099
1166
  isDeployCore,
1100
1167
  isDeployConnect,
1101
1168
  jiraTicket,
1169
+ isDeployConnectAws = 'false',
1102
1170
  ) {
1103
1171
  console.log(
1104
1172
  `Deploying changes from ${fromSite} in ${fromEnv} to ${toSite} in ${toEnv}${jiraTicket ? ` approved by JIRA ticket ${jiraTicket}` : ''}`,
@@ -1236,6 +1304,31 @@ export async function deployFromSite(
1236
1304
  }
1237
1305
  }
1238
1306
 
1307
+ if (isDeployConnectAws === 'true') {
1308
+ const sourceVersion = await getConnectAwsImageTag(fromEnv, fromSite);
1309
+ let targetVersion;
1310
+ try {
1311
+ targetVersion = await getConnectAwsImageTag(toEnv, toSite);
1312
+ } catch (error) {
1313
+ console.warn(
1314
+ `Could not read target AWS Connect version (${error.message}); deploying source version anyway.`,
1315
+ );
1316
+ targetVersion = null;
1317
+ }
1318
+
1319
+ if (targetVersion && targetVersion === sourceVersion) {
1320
+ console.log(
1321
+ `AWS Connect versions already match (${sourceVersion}); skipping deploy-connect-aws.`,
1322
+ );
1323
+ } else {
1324
+ console.log(
1325
+ `AWS Connect version to deploy: ${sourceVersion}` +
1326
+ (targetVersion ? ` (target currently ${targetVersion})` : ''),
1327
+ );
1328
+ await deployConnectAws(toEnv, toSite, sourceVersion, { wait: true });
1329
+ }
1330
+ }
1331
+
1239
1332
  // Clone repositories for source and target environments
1240
1333
  const fromRepoPath = await cloneEnvRepository(fromEnv);
1241
1334
  const toRepoPath =
package/terraform/init.sh CHANGED
File without changes
package/.gitignore DELETED
@@ -1,109 +0,0 @@
1
- # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
-
3
- # IDE
4
- .idea
5
- *.iml
6
- # Dependencies
7
- /node_modules
8
- /.pnp
9
- .pnp.js
10
-
11
- # Testing
12
- /coverage
13
-
14
- # Next.js
15
- /.next/
16
- /out/
17
-
18
- # Production
19
- /build
20
- /dist
21
-
22
- # Misc
23
- .DS_Store
24
- *.pem
25
- cypress/screenshots/
26
-
27
- # Debug
28
- npm-debug.log*
29
- yarn-debug.log*
30
- yarn-error.log*
31
-
32
- # Local env files
33
- .env
34
- .env*.local
35
-
36
- # Vercel
37
- .vercel
38
-
39
- # Typescript
40
- *.tsbuildinfo
41
- next-env.d.ts
42
-
43
-
44
- # Logs
45
- logs
46
- *.log
47
-
48
- # Runtime data
49
- pids
50
- *.pid
51
- *.seed
52
-
53
- # Directory for instrumented libs generated by jscoverage/JSCover
54
- lib-cov
55
-
56
- # Coverage directory used by tools like istanbul
57
- coverage
58
-
59
- # nyc test coverage
60
- .nyc_output
61
-
62
- # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
63
- .grunt
64
-
65
- # node-waf configuration
66
- .lock-wscript
67
-
68
- # Compiled binary addons (http://nodejs.org/api/addons.html)
69
- build/Release
70
-
71
- # Dependency directories
72
- node_modules
73
- jspm_packages
74
-
75
- # Optional npm cache directory
76
- .npm
77
-
78
- # Optional REPL history
79
- .node_repl_history
80
- .next
81
-
82
- scratch
83
-
84
- # visual studio code
85
- .vscode/
86
-
87
- src/gql/graphql.js
88
- .yalc/
89
- yalc.lock
90
-
91
- .last-run.json
92
-
93
- test-results
94
- coverage-reports
95
- .sonar
96
- .v8-coverage
97
- /assets
98
- tests/lib/data/auth.json
99
-
100
- failed-tests.json
101
-
102
- /tmp
103
-
104
- .claude
105
- .claude/settings.local.json
106
-
107
- .run
108
-
109
- .pnpm-store