GithubHelp home page GithubHelp logo

Comments (6)

tim-allen-ck avatar tim-allen-ck commented on June 19, 2024

Hey @TonyWildish-BH can you attach a snippet of your file changes?

from azuretre.

TonyWildish-BH avatar TonyWildish-BH commented on June 19, 2024

porter.yaml:

[...]
custom:
  # For information on vm_sizes and image_options, see README.me in the guacamole/user-resources folder
  vm_sizes:
    "2 CPU | 8GB RAM": Standard_D2s_v5
    "4 CPU | 16GB RAM": Standard_D4s_v5
    "8 CPU | 32GB RAM": Standard_D8s_v5
    "16 CPU | 64GB RAM": Standard_D16s_v5
    "32 CPU | 128GB RAM": Standard_D32s_v5
    "64 CPU | 256GB RAM": Standard_D64s_v5
  image_options:
    "Ubuntu 18.04":
      source_image_reference:
        publisher: canonical
[...]

template_schema.json:

[...]
    "vm_size": {
      "$id": "#/properties/vm_size",
      "type": "string",
      "title": "VM Size",
      "description": "Select size of VM",
      "enum": [
        "2 CPU | 8GB RAM",
        "4 CPU | 16GB RAM",
        "8 CPU | 32GB RAM",
        "16 CPU | 64GB RAM",
        "32 CPU | 128GB RAM",
        "64 CPU | 256GB RAM"
      ],
      "updateable": true
[...]

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 19, 2024

hi tony and you version update in the porter file ??

image

from azuretre.

TonyWildish-BH avatar TonyWildish-BH commented on June 19, 2024

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 19, 2024

Hi Tony. it is essentially as you have done already.
update the port file (including version)
update the template schema
rebuild the docker image
and then run the full pipeline. (we have a shortened one which just deploys the new bundle)
The above is a git deployment and your doing a manual deployment. There are 3 stages for a bundle, publish, register, deploy
so are you able to deploy using Git?

from azuretre.

TonyWildish-BH avatar TonyWildish-BH commented on June 19, 2024

thanks @Danny-Cooke-CK, it helps to know I'm on the right track.
Those are the steps I've done, and yes, manually, the github actions pipeline doesn't work well enough for us to use.

So, I go through these steps, I see my new container deployed in the ACR, and I've verified that the linux VM container does contain my changes (run locally and inspect the contents),

However, my Guacamole instance still uses the old template. I create a new linux VM, check the template version it uses, it's the old one. I've tried deleting my Guacamole service and creating a new one, that doesn't help, it still uses the old template.

I've even tried bumping the Guacamole version and building/deploying that, but that didn't help either.

Do I need to do something specific for Guacamole to pick up the new template?

from azuretre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.