Skip to content

dotnet ci cd pipelines for github, azure devops, gitlab, bitbucket, and etc.

License

Notifications You must be signed in to change notification settings

aidansteele/dotnet-ci-pipelines

 
 

Repository files navigation

DOTNET CORE CI PIPELINE EXAMPLE:

Goal to have dotnet core c# example pipelines for major git source control dev ops including github, azure devops, gitlab, bitbucket, and etc. Should auto run only on a new pull request, show test results in native ui per website, code coverage, and some additional manual steps running code quality analysis. Badge support native is also nice or from https://shields.io/category/build. Originally off of gitlab-ci-example-dotnetcore.

Contribution

  • Please do a pull request to the proper source control pipeline that you are trying to update.

TOC

  • GitHub Actions
  • Bitbucket
  • Azure DevOps
  • Gitlab pipelines
  • limits 2,000 (per month) to 20 concurrent jobs support windows, ubuntu, mac
    • doesn't currently support retry and max timeout although will cancel when limit reached.
  • Badges - workflow
  • api docs - docfx html only
  • [!] Tests - no display just logs and work flow
  • CodeClimate issues with non npm and docker in docker
  • resharper cli - no manual triggers support
  • security dependency scan - snyk
  • artifacts
  • limits 50 minutes per month, support docker images
  • Badges
  • api docs - docfx html only
  • Tests - working display
    • junit works fine
    • print out code coverage in log, not natively supported
  • [!] CodeClimate - docker in docker throwing an error
    • docker: Error response from daemon: authorization denied by plugin pipelines: -v only supports $BITBUCKET_CLONE_DIR and its subdirectories.
  • resharper cli
  • artifacts only last 12 hrs are downloaded in the .tar.gz format, could not figure out the curl method
  • limits 1,800 minutes per month on private projects
  • Badges?
    • build
  • api docs - docfx html only (pdf works locally, maybe self hosted runner)
  • Tests - working display
  • CodeClimate 3m
  • resharper cli
  • artifacts

[ ] Gitlab pipeline status coverage status

  • limits 2,000 minutes per month per group or user
  • Badges
    • pipeline
    • coverage
      • build in
      • coverlet
        • [] badge_branchcoverage badge_branchcoverage
        • [] badge_combined badge_branchcoverage
        • [] badge_linecoverage badge_branchcoverage
    • build per job?
  • api docs - docfx
  • Tests - Junit
  • Coverage - coverlet
  • Code Quality
    • resharper clis
      • inspectcode 1min
      • dupfinder 1min
    • CodeClimate (complexity & duplication) 10min+
  • artifacts

About

dotnet ci cd pipelines for github, azure devops, gitlab, bitbucket, and etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%