Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WorkshopPipeline fails to install dotnet-sdk-3.1 #693

Open
Tracked by #1170
joseph-suchar-modmed opened this issue Sep 28, 2022 · 1 comment
Open
Tracked by #1170

WorkshopPipeline fails to install dotnet-sdk-3.1 #693

joseph-suchar-modmed opened this issue Sep 28, 2022 · 1 comment
Labels
bug This issue is a bug. language/dotnet Related to the .NET workshop needs-reproduction This issue needs reproduction. p0

Comments

@joseph-suchar-modmed
Copy link

Describe the bug

THE .NET WORKSHOP -> CREATE NEW PIPELINE

When the pipeline runs on AWS, you get the following error:

[Container] 2022/09/28 02:16:54 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sudo apt-get install -y dotnet-sdk-3.1. Reason: exit status 100

log-events-viewer-result.csv

Expected Behavior

For the pipeline to execute successfully

Current Behavior

[Container] 2022/09/28 02:16:54 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sudo apt-get install -y dotnet-sdk-3.1. Reason: exit status 100

Reproduction Steps

Follow https://cdkworkshop.com/40-dotnet/70-advanced-topics/100-pipelines/3000-new-pipeline.html

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

No response

Section

No response

Browser

No response

Language

No response

@joseph-suchar-modmed joseph-suchar-modmed added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 28, 2022
@joseph-suchar-modmed joseph-suchar-modmed changed the title (short issue description) WorkshopPipeline fails to install dotnet-sdk-3.1 Sep 28, 2022
@indrora indrora added language/dotnet Related to the .NET workshop needs-reproduction This issue needs reproduction. p0 and removed needs-triage This issue or PR still needs to be triaged. labels Feb 28, 2023
@ubaidullah-r
Copy link

yes i found this as well, I found below workaround
"npm install -g aws-cdk",
"wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-Microsoft-prod.deb",
"sudo dpkg -i packages-Microsoft-prod.deb",
"sudo apt-get update",
"sudo apt-get install -y dotnet-sdk-3.1",
"cd src",

"dotnet build", // Language-specific build cmd
"cd ..",
"npx cdk synth"
note: you can follow my repository as well it has working code of all workshop
repo-link:https://github.com/ubaidullah-r/dot-net-aws-cdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. language/dotnet Related to the .NET workshop needs-reproduction This issue needs reproduction. p0
Projects
None yet
Development

No branches or pull requests

3 participants