Forum Discussion

techker's avatar
techker
Channel Surfer
3 years ago
Solved

Azure Pipeline in DevOps question

hey guy's, im using Azure devops and have multiple pipelines set up for all our apps, i would like to set one up for Roku..

Does anybody know how this can be done?

  • TwitchBronBron's avatar
    TwitchBronBron
    3 years ago

    philanderson777 most of the logic behind the vscode extension is available as independent npm packages, which is why I linked to brighterscript and roku-deploy directly.

    You can build a zip of your app by running the BrighterScript cli like this:

    npm install brighterscript
    cd your/Roku/root/dir
    npx brighterscript

    It'll check your app for syntax errors (missing curly brace, that function does not exist, etc...) and then create a zip in the ./out directory. 

    The nice thing is, you can run this locally as well, so you can keep testing it until it works the way you want. 

     

  • What specifically do you want to accomplish in this pipeline? There are several great nodejs tools out there to help validate, package, and sign your roku apps (brighterscriptroku-deploy ). But the captcha on the Roku developer upload portal prevents fully automated app submission. 

    • philanderson777's avatar
      philanderson777
      Roku Guru

      Also just to add to that ...

       

      we have local jenkins server with a local Roku hardware device which is semi-automated ...

       

      I don't think azure in the cloud will work yet because there are no virtualized Roku devices yet that could attach to a cloud server .... that's my thinking anyway, could be wrong on that!

       

      With Roku at present you have got to have a physical hardware device to run the code against, so fully cloud operations/testing etc is not going to work ...

      • techker's avatar
        techker
        Channel Surfer

        all we need is to build the code to Zip and share with QA team..

        the process of building the app is were im confused. it Zips it?

        the app still needs to be uploaded to the store and processed.

        im sure there is something in the pipeline that just builds it and not test it?