The salt-toaster (https://github.com/openSUSE/salt-toaster) is a tool created and developed by SUSE employees that we've been using for testing Salt since few years ago.

This tool uses pytest in combination with Docker containers to allow testing the multiple versions of the Salt codebase and as well as Salt packages across multiple distributions.

The tests are separated in 3 groups:

  • Upstream integration tests
  • Upstream unit tests
  • SUSE custom integration tests

Currently, the "salt-toaster" is in a shape that only allows to run the tests inside SUSE (because it depends on our internal Docker registry).

The main goals of this HW project are:

  • Allow running tests without necessary having access to our internal Docker registry.
  • Make testing Salt really easy for newcomers.

Some of tasks needed in order to reach those goals are:

  • Define and push some base toaster images to Docker hub (based on openSUSE and probably CentOS)
  • Improve the documentation. Paying special attention on users outside SUSE.
  • Screencast showing how to start running tests.

There is also a need from SaltStack upstream to provide an easy way for people to run the tests, so this is an opportunity to make the salt-toaster as the default tool for testing Salt also for contributors and people outside SUSE.

Looking for hackers with the skills:

testing salt community opensuse docker documentation python

This project is part of:

Hack Week 18

Activity

  • 8 months ago: joachimwerner liked Make "salt-toaster" available to be used outside SUSE
  • 8 months ago: Pharaoh_Atem liked Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "python" to Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez liked Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "documentation" to Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "testing" to Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "salt" to Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "community" to Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "opensuse" to Make "salt-toaster" available to be used outside SUSE
  • 9 months ago: PSuarezHernandez added keyword "docker" to Make "salt-toaster" available to be used outside SUSE
  • All Activity

    Comments

    • mdinca
      9 months ago by mdinca | Reply

      It was possible at some time to run the tests using leap: https://github.com/openSUSE/salt-toaster/commit/400f266141745e9cf943f741ce78960378da2bbf#diff-354f30a63fb0907d4ad57269548329e3

    • PSuarezHernandez
      8 months ago by PSuarezHernandez | Reply

      Results for this HW project! https://github.com/openSUSE/salt-toaster/pull/74

    Similar Projects

    labgrid: add support for sispmctl and remote ykush access by mbrugger

    labgrid [0] is an embedded board control python...


    libuitest - a generic GUI testing library by dancermak

    Testing GUIs is hard: unit tests require a ...


    ethtool ops for netdevsim by mkubecek

    This can be seen as a subproject of [ethtool ne...


    Testing GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the rocket chat channel! [https://chat.su...


    Port Salt virt modules to idem by cbosdonnat

    Salt is moving towards a plugable architecture ...


    SUSE Manager: Windows client support by pagarcia

    Let's see how much, if any, of the steps descri...


    Learn SaltStack Enterprise by pagarcia

    Uyuni uses the open source version of Salt to i...


    Modernize Mash deployment by seanmarlow

    Mash is a Python based CI/CD pipeline for aut...


    Provisioning Prometheus exporters with Uyuni revisited by j_renner

    There is a number of annoyances and pending imp...


    grab this: openSUSE beta test program and web application by lnussel

    openSUSE Leap 42.3 goes for a rolling release m...


    openSUSE Leap release process improvements by lkocman

    Goal:

    I'd like to have the release proce...


    MicroOS Desktop by RBrownSUSE

    [Video Recording of openSUSE Conference sessio...


    Improve openSUSE infrastructure by lrupp

    There is always something to do if you run the ...


    Zero-ish downtime deploy on da cheap! by josegomezr

    Zero-ish downtime deploy on da cheap!

    This...


    Modernize Mash deployment by seanmarlow

    Mash is a Python based CI/CD pipeline for aut...


    Home assistant that doesn't spy on you - developer's edition by DKarakasilis

    There are various home assistant solutions out ...


    MSQA Department documentation from a newbie perspective by deneb_alpha

    The Maintenance Coordination, Security and Qual...


    Home assistant that doesn't spy on you - developer's edition by DKarakasilis

    There are various home assistant solutions out ...


    openSUSE Leap release process improvements by lkocman

    Goal:

    I'd like to have the release proce...


    Try to write simple rope-base Python language-server for LSP protocol by mcepl

    Future of tools supporting editors in dealing w...


    Simple script to obtain latest project version for package maintenance purpose by wnereiz

    I am now maintaining many packages for openSUSE...


    Write a commandline client for the geekos by dheidler

    There used to be a tool called tel that would...