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

  • about 5 years ago: joachimwerner liked this project.
  • about 5 years ago: Pharaoh_Atem liked this project.
  • about 5 years ago: PSuarezHernandez added keyword "python" to this project.
  • about 5 years ago: PSuarezHernandez liked this project.
  • about 5 years ago: PSuarezHernandez added keyword "documentation" to this project.
  • about 5 years ago: PSuarezHernandez added keyword "testing" to this project.
  • about 5 years ago: PSuarezHernandez added keyword "salt" to this project.
  • about 5 years ago: PSuarezHernandez added keyword "community" to this project.
  • about 5 years ago: PSuarezHernandez added keyword "opensuse" to this project.
  • about 5 years ago: PSuarezHernandez added keyword "docker" to this project.
  • about 5 years ago: PSuarezHernandez started this project.
  • about 5 years ago: PSuarezHernandez originated this project.

  • Comments

    • mdinca
      about 5 years 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
      about 5 years ago by PSuarezHernandez | Reply

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

    Similar Projects

    This project is one of its kind!