Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

WorkshopPipeline fails to install dotnet-sdk-3.1 #693

Closed
Tracked by #1170
joseph-suchar-modmed opened this issue Sep 28, 2022 · 2 comments
Closed
Tracked by #1170

WorkshopPipeline fails to install dotnet-sdk-3.1 #693

joseph-suchar-modmed opened this issue Sep 28, 2022 · 2 comments
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

Copy link

github-actions bot commented Aug 1, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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

4 participants