Skip to content

Commit

Permalink
fix: Add template path to pathmappings
Browse files Browse the repository at this point in the history
Signed-off-by: Mehant Kammakomati <[email protected]>
  • Loading branch information
kmehant committed Sep 12, 2022
1 parent 3246216 commit 566835c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom-vpc-contract-generator/vpccontractgenerator.star
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ def transform(new_artifacts, old_artifacts):
data["Images"] = images
data["WorkloadVolumes"] = workloadVolumes
data["WorkloadEnvs"] = workloadEnvs
pathMappings.append({'type': 'Template', 'templateConfig': data})
pathMappings.append({'type': 'Template', 'templateConfig': data, 'sourcePath': fs.pathjoin(context_dir, templates_reldir)})
return {'pathMappings': pathMappings, 'artifacts': artifacts}

0 comments on commit 566835c

Please sign in to comment.