You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2020. It is now read-only.
logger.info(`Generating hld manifest-generation in ${absTargetPath}`);
628
-
629
-
constazurePipelinesYamlPath=path.join(
630
-
absTargetPath,
631
-
RENDER_HLD_PIPELINE_FILENAME
632
-
);
626
+
try{
627
+
constabsTargetPath=path.resolve(targetDirectory);
628
+
logger.info(`Generating hld manifest-generation in ${absTargetPath}`);
633
629
634
-
if(fs.existsSync(azurePipelinesYamlPath)){
635
-
logger.warn(
636
-
`Existing ${RENDER_HLD_PIPELINE_FILENAME} found at ${azurePipelinesYamlPath}, skipping generation.`
630
+
constazurePipelinesYamlPath=path.join(
631
+
absTargetPath,
632
+
RENDER_HLD_PIPELINE_FILENAME
637
633
);
638
634
639
-
return;
640
-
}
641
-
consthldYaml=manifestGenerationPipelineYaml();
642
-
logger.info(
643
-
`Writing ${RENDER_HLD_PIPELINE_FILENAME} file to ${azurePipelinesYamlPath}`
644
-
);
635
+
if(fs.existsSync(azurePipelinesYamlPath)){
636
+
logger.warn(
637
+
`Existing ${RENDER_HLD_PIPELINE_FILENAME} found at ${azurePipelinesYamlPath}, skipping generation.`
638
+
);
639
+
return;
640
+
}
641
+
consthldYaml=manifestGenerationPipelineYaml();
642
+
logger.info(
643
+
`Writing ${RENDER_HLD_PIPELINE_FILENAME} file to ${azurePipelinesYamlPath}`
644
+
);
645
645
646
-
constrequiredPipelineVariables=[
647
-
`'MANIFEST_REPO' (Repository for your kubernetes manifests in AzDo. eg. 'dev.azure.com/bhnook/fabrikam/_git/materialized')`,
648
-
`'PAT' (AzDo Personal Access Token with permissions to the HLD repository.)`,
649
-
].join(", ");
646
+
constrequiredPipelineVariables=[
647
+
`'MANIFEST_REPO' (Repository for your kubernetes manifests in AzDo. eg. 'dev.azure.com/bhnook/fabrikam/_git/materialized')`,
648
+
`'PAT' (AzDo Personal Access Token with permissions to the HLD repository.)`,
649
+
].join(", ");
650
650
651
-
logger.info(
652
-
`Generated ${RENDER_HLD_PIPELINE_FILENAME}. Commit and push this file to master before attempting to deploy via the command 'spk hld install-manifest-pipeline'; before running the pipeline ensure the following environment variables are available to your pipeline: ${requiredPipelineVariables}`
653
-
);
651
+
logger.info(
652
+
`Generated ${RENDER_HLD_PIPELINE_FILENAME}. Commit and push this file to master before attempting to deploy via the command 'spk hld install-manifest-pipeline'; before running the pipeline ensure the following environment variables are available to your pipeline: ${requiredPipelineVariables}`
Copy file name to clipboardExpand all lines: src/lib/i18n.json
+8
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,9 @@
16
16
"storageKeVaultName": "Enter key vault name (have the value as empty and hit enter key to skip)"
17
17
},
18
18
"errors": {
19
+
"hld-init-cmd-failed": "Hld init command was not successfully executed.",
20
+
"hld-init-cmd-project-path-missing": "Value for project path was not provided. Provide it.",
21
+
19
22
"infra-scaffold-cmd-failed": "Infra scaffold command was not successfully executed.",
20
23
"infra-scaffold-cmd-src-missing": "Value for source is required because it cannot be constructed with properties in spk-config.yaml. Provide value for source.",
21
24
"infra-scaffold-cmd-values-missing": "Values for name, version and/or 'template were missing. Provide value for values for them.",
@@ -38,6 +41,11 @@
38
41
"hld-append-var-group-name-missing": "Variable group name was not provided. Provide variable group.",
39
42
40
43
"fileutils-append-variable-group-to-pipeline-yaml": "Could not append variable group name to manifest-generation.yaml file in HLD repo. Check this is file exist and if it is YAML format.",
44
+
"fileutils-generate-hld-pipeline-yaml": "Could not generate HLD Azure pipeline YAML.",
45
+
"fileutils-generate-default-hld-component-yaml": "Could not generate default HLD component YAML.",
46
+
"fileutils-generate-git-ignore-file": "Could not generate .gitignore file in {0}.",
47
+
48
+
"git-checkout-commit-push-create-PR-link": "Could not checkout, commit, push or create pull request",
41
49
42
50
"introspect-create-cmd-failed": "Deployment create command was not successfully executed.",
43
51
"introspect-create-cmd-no-ops": "No action could be performed for specified arguments.",
0 commit comments