Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. brandon_owensby_2976

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    B Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 47
    • Groups 0

    brandon_owensby_2976

    @brandon_owensby_2976

    1
    Profile views
    47
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    brandon_owensby_2976 Unfollow Follow

    Latest posts made by brandon_owensby_2976

    • Setting a local when invoking a command with Image Based Services

      I used Image Based Services when invoking my unit tests. To be clear, I realize you do not technically have the built in yet and I actually opened another note about that in which you opened a ticket for me. What I did in the meantime is I added a custom command to the extensions I built that invokes the same exact code as DotNet::Test it just uses your built in functionality to actually run the command using the Image Based Services and I added a new property for you to select which one to use.

      Even with other commands in which you already had this implemented, however, there is no way to specify local. The default locale for Linux is "invariant" and where this doesn't affect things in a high percentage of the code there are few unit tests where it is look at the returned output that includes say formatted date and that comes out differently. I do get we could update our tests accordingly as well, but when we run the code live we use a docker file that sets the local before it runs the app so we aren't really running the tests in the same way.

      What I would like, is to know if you have some way that I might have missed for handling it. If not I totally understand. The one option I am aware of is to create an image in our on repository that is the base image from IBS with the local added and then point to that in IBS. I haven't tried it yet but in theory it should work, just more to maintain.

      I'm hoping we can put aside opinions on unit testing. I realize we could fix and maybe should fix our unit tests. I do not have control over that and it would likely not look good to say we have to through all our apps and evaluate the unit tests for this solution.

      The other option is fixing it in our extension but if you guys add this feature to the DotNet:Test command then I won't want to use our extension for that command anymore.

      If you don't have anymore options but want to add it as a future enhancement then I'm good with that too.

      Thank you,
      Brandon

      posted in Support
      B
      brandon_owensby_2976
    • RE: Bug Report: Deploy IIS Site generates invalid otter script if you choose Create/Update Application (VM 2026.1)

      @stevedennis and @inedo-engineer I appreciate that. I really didn't care about reputation except that it was preventing me from replying back to my tickets and saying thank you. It said my reputation wasn't high enough to have that many posts and I had to wait a while before I could say "Thank you" on another post. Maybe when you turned that feature off you fixed that issue too. I just thought I'd let you know more details so if you upgrade again you can keep track of that.
      Thank you,
      Brandon

      posted in Support
      B
      brandon_owensby_2976
    • RE: Bug Report: Deploy IIS Site generates invalid otter script if you choose Create/Update Application (VM 2026.1)

      Hi @inedo-engineer , I was just curious about voting/reputation. I did some digging and I have no reputation because no one ever votes on my tickets. When I did research apparently one thing that can help is doing a good job reporting bugs. Can you tell me why bugs are not good enough? Or do you guys have a policy against voting on users stuff so the only way I can get a vote or uptick in my reputation is by non employees?

      posted in Support
      B
      brandon_owensby_2976
    • RE: Image-based Services (Containerized Builds) failing on "Build .NET Project"

      @stevedennis Thank you, I look forward to hearing back.

      posted in Support
      B
      brandon_owensby_2976
    • RE: Using npm:Install with Image-based Services doesn't work

      Thank you!!!

      posted in Support
      B
      brandon_owensby_2976
    • RE: Feature Request: Allow IBS for DotNet::Test

      Thank you!!

      posted in Support
      B
      brandon_owensby_2976
    • RE: Bug Report: Deploy IIS Site generates invalid otter script if you choose Create/Update Application (VM 2026.1)

      @stevedennis

      Thank you

      posted in Support
      B
      brandon_owensby_2976
    • Bug Report: Deploy IIS Site generates invalid otter script if you choose Create/Update Application (VM 2026.1)

      I am trying to set up a simple IIS deploy where it deploys to an application and ensures that application exists. I filled out the wizard and then I tested it and it failed. When I researched why it failed I discovered it was not filling in the arguments correctly of the IIS:Ensure-Application command. If I click the Edit as script button I get the following script for that command:

      IIS::Ensure-Application
      (
          Name: /CStore.API,
          Site: WebApps,
          AppPool: DefaultAppPool,
          PhysicalPath: C:\IIS\CStore.API
      );
      

      The visual editor looks like this:

      86cb4c4b-94ee-4eae-a612-90af444def31-image.jpeg

      You'll notice there is no record of the Name (/CStore.API). If I fill in Application path on that form, save it, and flip back to the text editor you get this:

      IIS::Ensure-Application /CStore.API
      (
          Name: /CStore.API,
          Site: WebApps,
          AppPool: DefaultAppPool,
          PhysicalPath: C:\IIS\CStore.API
      );
      

      Name is still there but now you can see that same value is added else where. I'm hoping this is something you are willing to fix so I can use the Wizard as it claims to be instead of having to use a custom script. Let me know if there is anything else I can do to help.

      For the record after finishing this post I went ahead and saved my manual change to the script that I did via the UI for the above info and it worked when I tested it again. I realize I have a work around but the wizard is an important feature for maintenance. I'm ok if the fix isn't quick as long as it can be added to the to do list.

      Thank you,
      Brandon

      posted in Support
      B
      brandon_owensby_2976
    • Feature Request: Allow IBS for DotNet::Test

      Hi @inedo-engineer,
      In working on my project I set up a build for a .NET 6 application. I used the .NET Build Wizard and I selected to use IBS (Image Based Service). This worked great and I don't have to worry about the build server having every version of the .NET SDK we use installed, at least for that step. Now, I'm not sure what would happen if I used the option to run the unit test from within the wizard, but I couldn't because I need to pass in a filter for the tests. Due to that I created a manual script that simply just runs the unit tests with the filter. I found that there was no IBS option on DotNet::Test. I'm hoping you can add that to the list of future to dos (and hopefully not to far out). Because I had already created a BuildMaster extension I went ahead updated it to add a custom version of DotNet::Test that added that property and executed it appropriately. Took me about 15 minutes. I was hoping with it being that easy and straightforward you wouldn't mind making it an official feature.

      Thank you,
      Brandon

      posted in Support
      B
      brandon_owensby_2976
    • Using npm:Install with Image-based Services doesn't work

      Hi @inedo-engineer,
      I'm starting to set up Image-based Services to keep from having to have so many things installed on the build server. This is working great for the .NET builds but when I tried to use it for npm::Install I ran into a problem. Apparently when you activate Imaged-based Services for npm::Install it tries to execute at the root of the container which fails with Tracker "idealTree" already exists. According to my research when you the docker run command you need an additional argument of "<workdir>:/var/buildmaster-ibs" but I'm not sure how to do that with your software. I was hoping someone could give me instructions or maybe report this as a bug to be fixed.

      Thank you,
      Brandon

      posted in Support
      B
      brandon_owensby_2976