Last active
May 23, 2021 22:31
-
-
Save OksanaH/a9367cd840e3cab3faef31ff879ba3d5 to your computer and use it in GitHub Desktop.
CdkPipelinesPipelineStack.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SynthAction = new SimpleSynthAction(new SimpleSynthActionProps | |
{ | |
SourceArtifact = artifact, | |
CloudAssemblyArtifact = cloudAssemblyArtifact, // Where to place built source | |
InstallCommands = new[]{ | |
"npm install -g aws-cdk", | |
"wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb", | |
"dpkg -i packages-microsoft-prod.deb", "apt-get update", "apt-get install -y apt-transport-https", "apt-get update", | |
"apt-get install -y dotnet-sdk-3.1" | |
}, | |
SynthCommand = "cdk synth" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment