Giter Site home page Giter Site logo

ele-testhelpers's People

Contributors

davidcassany avatar fgiudici avatar frelon avatar juadk avatar ldevulder avatar mudler avatar thehejik avatar valaparthvi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ele-testhelpers's Issues

Get proper arch for default repo

currently we need to manually change the sut.ArtifactsRepo on each test that uses docker to properly point at the repo.

This means that if we forget, like we have done, we are getting the wrong arch installed and the tests will fail with weird stuff.

We need to find a way to auto change the repo used, maybe based on an ARCH env var, as that falls in line with our current CI implementation, in which everything checks that var to know what to do.

Problems:

  • test platform doesnt neccesarily has to align with the VM arch, so we could run the tests for a arm64 VM from a x86 host.
  • We allow overriding the sut.ArtifactsRepo so we cannot blindly erase it with whatever we want, we have to respect the existing values
  • We cannot know the arch the VM platform is in, until we are connected, and by that time, we already have set the sut.ArtifactsRepo

A simple solution would be to turn the sut.ArtifactsRepo into a function that reads the env var to check if there is repo overrides and if not moves to set the default one AND checks the platform arch.

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.