Continuous Integration Builds in Azure DevOps- A TimCo Retail Manager Video

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 74

  • @joelvilabringuez7162
    @joelvilabringuez7162 2 ปีที่แล้ว +1

    thanks for the contribution.

  • @henningentz1604
    @henningentz1604 4 ปีที่แล้ว +2

    Hi Tim, your channel is great. I went through your TimCo Retail Manager playlist in 4 days. By the time the corona crisis is over, I will probably have watched every single video on your channel. Stay healthy.

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +1

      Wow, that's fast. I'm glad you are enjoying the content.

    • @SunnyTomcat1
      @SunnyTomcat1 4 ปีที่แล้ว

      And I thought my 3 weeks are fast 😂

    • @buddysteve5543
      @buddysteve5543 3 ปีที่แล้ว

      Watching at 1.5x the speed also helps! He talks too slow for me! LoL!

  • @karlism.5604
    @karlism.5604 2 ปีที่แล้ว +1

    If you are getting "No hosted parallelism has been purchased or granted." then you need to apply via the link at the end of the error. No other ways if you wanna use the free tier. internet says that it takes up to 2 days to be confirmed.

    • @IAmTimCorey
      @IAmTimCorey  2 ปีที่แล้ว +2

      That's a new check they put in place to prevent people from using the free tiers to mine crypto.

  • @pedrobettt
    @pedrobettt 3 ปีที่แล้ว

    Because of this video my job literally became editing pipelines in Azure DevOps. Going on half a year of nothing but YAML and failed tests. At least it's interesting, but I still blame you ;)

    • @IAmTimCorey
      @IAmTimCorey  3 ปีที่แล้ว

      lol, well, I am glad I was able to increase your knowledge. Sorry about the headaches that came with it, though. 🙂

  • @baluanandnageswaran8816
    @baluanandnageswaran8816 3 ปีที่แล้ว +1

    Hi Tim. Your videos are awesome. Thanks for sharing the videos. I am trying to setup Azure Devops CI in my trial version for learning it but I am facing issue "no hosted parrallelism has been purchased" whenever I build pipeline in both private and public projects. Could you please clarify my query ?

    • @IAmTimCorey
      @IAmTimCorey  3 ปีที่แล้ว

      That’s a new check they put in to protect themselves against Bitcoin miners.

  • @자아성찰닷넷
    @자아성찰닷넷 3 ปีที่แล้ว

    오늘도 유익한 영상 감사합니다 형님! 중간에 권한 문제 때문에 조금 고생했지만 전체적인 흐름을 알 수 있었습니다! 오늘도 좋아요 댓글하고 갑니다~!

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 ปีที่แล้ว +1

      We are glad it helped

    • @robertgemrot1373
      @robertgemrot1373 3 ปีที่แล้ว +1

      Yes, there is a new permission problem (pipelines won't run, they are only queued). If anyone has the same problem, it is recommended to write an email to Microsoft in which you ask them to give you the free tier of Azure Pipelines.

  • @ronbarybaryosef2412
    @ronbarybaryosef2412 3 ปีที่แล้ว

    Hi Tim where you can download this AzureDev Ops user interface ? or it's just Site ? or you can see all of this using the VS 2019 ? thanks

    • @IAmTimCorey
      @IAmTimCorey  3 ปีที่แล้ว

      Azure DevOps is an online-only tool. You can technically get the server edition (not free) and install it on a server on your network. It is still a web-based product, though. You just serve it locally.

  • @fitzwilliamdarcy3328
    @fitzwilliamdarcy3328 3 ปีที่แล้ว +1

    Hi Tim.
    Great video. Just to let you and other new viewers know that I encountered a problem where the build failed with "No hosted parallelism has been purchased or granted..." :-(
    It looks like from 08/28/2021, Microsoft has "temporarily disabled the free grant of parallel jobs for public projects and for certain private projects in new organizations. However, you can request this grant by submitting a request. Existing organizations and projects are not affected. Please note that it takes us 2-3 business days to respond to your free tier requests."
    I have submitted my request and keeping my fingers crossed. Will post an update on the request.
    Cheers

    • @IAmTimCorey
      @IAmTimCorey  3 ปีที่แล้ว +1

      Yep, that's an issue because of people using free computing resources for bitcoin mining. They are working on ways to get back to the original setup while securing against illicit usage.

    • @fitzwilliamdarcy3328
      @fitzwilliamdarcy3328 3 ปีที่แล้ว +1

      @@IAmTimCorey Hi Tim,
      I tried to run again today even though I didn't receive any notification from Microsoft and it was successful. Thank you Microsoft!
      Thanks for the great instruction, Tim.

  • @hellyworld9325
    @hellyworld9325 3 ปีที่แล้ว

    At the end, after running Build on Pipeline and checking my app, I log in and get Fatal Exception: Forbidden. Says JWTBearer was forbidden in Kestrel. Why?

  • @jaspercoleman3269
    @jaspercoleman3269 ปีที่แล้ว

    Thanks for a great series of videos, I always learn something new. I ran into an issue when running my pipeline, it is failing to build the Database project. Not sure if anyone else ran into this and found a solution. Thanks

    • @IAmTimCorey
      @IAmTimCorey  ปีที่แล้ว

      It will work, so it is probably something in your configuration. Check out the error information and track it down from there.

    • @jaspercoleman3269
      @jaspercoleman3269 ปีที่แล้ว

      @@IAmTimCorey Thanks. I missed a change in my configuration. Got it working a bit ago.😄

  • @jeffgolden3882
    @jeffgolden3882 3 ปีที่แล้ว

    Hi Tim,
    Thanks for these videos I have been learning a lot and really enjoying them. I wanted to mention that it seems that new Microsoft DevOps policy makes this video a little less simple. You now must request a parallelism grant before you can use the Pipelines. I'm not sure how long that process takes but I'm curious if I could continue the course without doing these parts until the grant is provided -- or if I should just wait for that grant to happen first?

    • @IAmTimCorey
      @IAmTimCorey  3 ปีที่แล้ว

      Yep, you can. The issue is that people were abusing the build system to mine cryptocurrency so additional safeguards had to be put in place.

  • @karapelerin61
    @karapelerin61 4 ปีที่แล้ว

    Thanks for great video. Why do you select "Commit Staged and Push", or wh do not you select "Commit and push" while pushing the code?

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +1

      I typically try to do what I would normally do on a team. In a team environment, you want to make sure you have pulled the latest before you then push your code up so I do it in two steps. If you are a solo developer, you can commit and sync right away.

  • @SuperAndrea000000
    @SuperAndrea000000 4 ปีที่แล้ว +1

    Beautiful series, I'm following it from the beginning and I find it very useful.
    I was wondering... Will you keep using EF to manage users accounts and login/registration? I'd be very interested in seeing how to keep using Microsoft Identity system but without Entity Framework.

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +2

      I will use EF for that portion only. Trying to replace it is painful and dangerous so I leave it alone.

  • @katsmike853
    @katsmike853 4 ปีที่แล้ว

    Awesome Vid. CI done.. lets go for CD.
    BTW.: Have we connected the EF database with the apps database? so when so when someone registers, the user info gets put in the apps database as well. Or are we going to do this differently ?

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +1

      Right now we are doing that process manually but that is on the todo list to add people automatically (or create a management page for it).

    • @katsmike853
      @katsmike853 4 ปีที่แล้ว

      @@IAmTimCorey Awesome!

    • @katsmike853
      @katsmike853 4 ปีที่แล้ว

      @@IAmTimCorey I was wandering if we could do this by using an Azure function that triggers when new rows get added to the EF Database?

  • @mohammednhne929
    @mohammednhne929 4 ปีที่แล้ว

    Thank you for a fascinating video.

  • @armin2506
    @armin2506 4 ปีที่แล้ว

    Hi Tim,
    I unloaded and left the old TRMDataManager Project in the Solution. During build process, the build solution fails as it tries to include the unloaded project. Is there a way to leave the unloaded project in the solution but exclude it from CI process?

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว

      You would need to set that as a build argument in the CI process.

    • @luigiangelobuonarroti4110
      @luigiangelobuonarroti4110 4 ปีที่แล้ว

      Did you ever get this figured out? I had an issue with the datamanger as well but that was because I hadn't pushed my changes to Azure after I unloaded the datamanager api so in the latest repo on azure it was still included. Is that possibly what's causing the issue for you?

  • @SunnyTomcat1
    @SunnyTomcat1 4 ปีที่แล้ว

    Anyone else who's NuGet restore failed with this message? "##[error]The nuget command failed with exit code(1) and error(NU1102: Unable to find package Caliburn.Micro with version (>= 4.0.125-alpha)" I'm wondering why Tim did not get the message as we had a different source than NuGet for the Core version of Caliburn Micro.
    Still trying to find out.

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +1

      We were using an alpha package. I believe they removed that specific package. However, they now have a new enough alpha version on NuGet itself. Just go to NuGet and update the version.

    • @SunnyTomcat1
      @SunnyTomcat1 4 ปีที่แล้ว

      @@IAmTimCorey Wow! Quick response 👍 Thank you, Tim. And it's running now.
      And now I see I would have got the idea if I only had not stopped viewing this video, instead I started finding ways to fix it myself 🤦‍♂️🤣

  • @Brickscrap
    @Brickscrap 3 ปีที่แล้ว

    Tim, thank you as always! I ran into some issues getting mine to build, and had to swap NuGet out for a "dotnet restore" command. For some reason, NuGet wasn't picking up any of the .NET Core dependencies, and was throwing up:
    "The nuget command failed with exit code(1) and error(NU1202: Package Microsoft.EntityFrameworkCore.SqlServer 5.0.4 is not compatible with net50 (.NETFramework,Version=v5.0). Package Microsoft.EntityFrameworkCore.SqlServer 5.0.4 supports: netstandard2.1 (.NETStandard,Version=v2.1)
    "
    But as I say, removing NuGet from the jobs list, and replacing it with a "dotnet restore" resolved my problems, hopefully this helps anyone else who comes across the same issue. Maybe it's because I jumped the gun and changed my API project to .NET 5 too early?

  • @bsuthar1109
    @bsuthar1109 4 ปีที่แล้ว

    Hi Tim, Can we use .Net Obfuscation while creating Build?

  • @AnaHelena
    @AnaHelena 4 ปีที่แล้ว

    Great video! Thanks

  • @pedroferreira9234
    @pedroferreira9234 4 ปีที่แล้ว +3

    Tim please use dark mode, the white is killing my eyes xD, awesome video as always

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +2

      Yeah it is pretty bright, isn't it. I just haven't switched it over yet.

  • @Lior_Banai
    @Lior_Banai 4 ปีที่แล้ว +1

    What about unit tests and code coverage?

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +1

      You can add that into the CI process as well. We currently do not have unit tests so there isn't anything to run. It is on the todo list.

  • @buddysteve5543
    @buddysteve5543 3 ปีที่แล้ว +1

    I’m not understanding why I would pay Microsoft to build my project when I can just build it on my laptop for free! This whole integration process I’m failing to understand it’s real purpose and why building projects on my machine and deploying them is not good?

    • @IAmTimCorey
      @IAmTimCorey  3 ปีที่แล้ว +1

      First of all, Azure DevOps is free for up to five users as long as your company makes less than $1 million per year. So, we aren't paying Microsoft anything for this. Second, building on your computer is a manual process. Manual processes mean mistakes. Yes, if you are thinking that a build is just you telling Visual Studio to build then there are no real steps to mess up. However, we aren't doing just that (and no production deployment is either). We are doing multiple build steps, and then we are going to deploy the produced files. We will also add layers of security, replacing connection strings, etc. during deployment. Doing things on your computer only works for you, it includes manual steps, and is prone to error. Having a build server makes the process automated, creating a repeatable, predictable, and safe process for building your software.

  • @johncerpa3782
    @johncerpa3782 4 ปีที่แล้ว

    Great video

  • @hellyworld9325
    @hellyworld9325 3 ปีที่แล้ว

    Here's a note: I ran a first Build. It threw 5 errors saying that Microsoft.SDK was missing asset files and suggested that I run a NuGet Restore. I stopped it from running and looked over the Pipeline and changed literally NOTHING. I hit Run again and those 5 errors turned into Warnings and the Build Succeeded. So that's interesting.

  • @lightningbold1450
    @lightningbold1450 4 ปีที่แล้ว

    Hey Tim, Would it be possible for you to give a roadmap of the planned paid courses you have for 2020 as well as a road map for the free content..It would be great if you could provide both ...😁
    Perhaps exactly not a roadmap but Content you will be releasing this year.
    It would help everyone following you to have specific learning objectives♥️

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว

      That is tough to do, since the upcoming roadmap is always in flux. For example, I had a course I was going to release in early February that has been put on pause because of some major changes in the software it was based upon. Some of my upcoming courses are waiting to hear how the announcements go in May and again in November.

  • @visionmajor7300
    @visionmajor7300 4 ปีที่แล้ว +2

    Docker next

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว +1

      Thanks for the suggestion.

  • @majule1
    @majule1 4 ปีที่แล้ว

    Note: My 'Save and Run' created an endless spinning circle on Azure but when I refreshed the page after 5+ minutes, the Agent job 1 was completed successfully.

    • @IAmTimCorey
      @IAmTimCorey  4 ปีที่แล้ว

      Azure is experiencing a very high load right now because everyone is working remotely. It may be that the background refresh timed out before it got the signal that it was done. It happens on the best of days. Glad you got it to work though.

    • @luigiangelobuonarroti4110
      @luigiangelobuonarroti4110 4 ปีที่แล้ว

      Nice! Thank you for your comment that's where I'm stuck right now. About to hit refresh. Damn, so it failed for me and now the save and queue button is grayed out lol

  • @sofianebm7492
    @sofianebm7492 2 ปีที่แล้ว

    when recruiters ask to know Azure, they're talking about Azure DevOps?

    • @IAmTimCorey
      @IAmTimCorey  2 ปีที่แล้ว +3

      Nope, Azure is a cloud platform. It has hundreds of services. Azure DevOps is just one. There is also Web Apps, Storage, Azure SQL, Functions, Azure Kubernetes Services, Azure Virtual Machines, and a LOT more. So when a recruiter asks if you know Azure, ask them what parts.

  • @deepakshrestha2672
    @deepakshrestha2672 4 ปีที่แล้ว

    1st