GithubHelp home page GithubHelp logo

Comments (2)

vivek-shilimkar avatar vivek-shilimkar commented on September 26, 2024

Following two test scenarios are the basic tests we can do for this ticket.

Use the new CATTLE_RANCHER_PROVISIONING_CAPI_VERSION setting

  1. Set it to some fixed value (like 104.0.0+up0.2.0) when starting Rancher. Or use the CATTLE_RANCHER_PROVISIONING_CAPI_VERSION environment variable.
  2. When Rancher starts up, ensure that the version of the rancher-provisioning-capi chart matches the one you specified.
  3. Set it to some other value, restart Rancher. Observe that the there is a new release with the new version.

Provide a non-existent exact version setting

  1. Set it to some bad value (like 104.0.0+up0.3.0-rc99) when starting Rancher. Or use the CATTLE_RANCHER_PROVISIONING_CAPI_VERSION environment variable.
  2. When Rancher starts up, ensure that the rancher-wprovisioning-capi chart fails to deploy on the local cluster because of the incorrect version.
  3. Ensure the logs have the appropriate message about this.

Along with this we can also do the following tests.

  1. Install rancher chart on v2.8.3 and upgrade rancher to v2.9-head or available RC of v2.9 by setting the env variable CATTLE_RANCHER_PROVISIONING_CAPI_VERSION to a correct version.
  • Expected result is that the CAPI version gets upgraded with rancher.
  1. Install rancher chart on v2.8.3 and upgrade rancher to v2.9-head or available RC of v2.9 by setting the env variable CATTLE_RANCHER_PROVISIONING_CAPI_VERSION to an incorrect version.
  • Expected result is that the CAPI version remains the same as on rancher v2.8.3 since the incorrect version is provided.
  1. Install rancher chart on v2.8.3 and upgrade rancher to v2.9-head or available RC of v2.9.
  • Expected result is that the CAPI version updates to latest supported version for v2.9-alphaX.

from rancher.

vivek-shilimkar avatar vivek-shilimkar commented on September 26, 2024

Tested the above scenarios for CAPI chart and they pass successfully. Hence, closing the issue.

from rancher.

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.