kubesphere / devops-agent

Agents for Kubesphere DevOps
Apache License 2.0
61 stars 73 forks source link

Fix no package dotnet-sdk-5.0 available. #54

Closed Dishone closed 2 years ago

Dishone commented 2 years ago

This has been verified by me. Everything is normal when it is built locally

ks-ci-bot commented 2 years ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Dishone To complete the pull request process, please assign shaowenchen after the PR has been reviewed. You can assign the PR to them by writing /assign @shaowenchen in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kubesphere/devops-agent/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
JohnNiang commented 2 years ago

It's so strange when I build the .DotNet agent in Gitpod, please see the screenshot:

image

JohnNiang commented 2 years ago

If you want to have a try of Gitpod for testing, please forward to https://gitpod.io/#https://github.com/kubesphere/devops-agent.

Dishone commented 2 years ago

If you want to have a try of Gitpod for testing, please forward to https://gitpod.io/#https://github.com/kubesphere/devops-agent.

I think it's all normal This image was successfully built

Dishone commented 2 years ago

@JohnNiang https://github.com/kubesphere/devops-agent/actions/runs/1398472523 I think this error may be caused by regional network issues. The packages-microsoft-prod repository is not enabled.

JohnNiang commented 2 years ago

@Dishone I just triggered a build of my Pull Request #51, we could wait for the result of https://github.com/kubesphere/devops-agent/runs/4104090752?check_suite_focus=true.

JohnNiang commented 2 years ago

Hi @Dishone , I found that the build on AMD64 is perfect, but unfortunate on ARM64.

image image

Dishone commented 2 years ago

@JohnNiang Package manager installs are only supported on the x64 architecture. Other architectures, such as ARM, must install .NET by some other means such as with Snap, an installer script, or through a manual binary installation. https://docs.microsoft.com/en-us/dotnet/core/install/linux-centos