Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e-tests: Add end-to-end test script and docker compose app #359

Merged
merged 7 commits into from
Nov 4, 2024

Commits on Oct 16, 2024

  1. dev-flow: Build aktualizr-get by default

    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ae4b810 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. e2e-tests: Add end-to-end test environment

    This includes docker compose app and container based on the one
    available in the sotactl project.
    
    Environment allows registration and updates of a pseudo device,
    communication with an actual backend.
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    def2aae View commit details
    Browse the repository at this point in the history
  2. e2e-tests: Add e2e-tests.py script, based on pytest

    The script contains a series of tests based on real targets available at
    a specific test factory.
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    db606ab View commit details
    Browse the repository at this point in the history
  3. e2e-tests: Add GitHub action to run a subset of 2e2 tests

    It uses the following GitHub secrets:
    - E2E_TEST_FACTORY
    - E2E_TEST_BASE_TARGET_VERSION
    - E2E_TEST_USER_TOKEN
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a11bad4 View commit details
    Browse the repository at this point in the history
  4. makefile: Add helpers to run common tasks inside e2e tests container

    Code based on sotactl Makefile.
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    cfdde32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c741fa9 View commit details
    Browse the repository at this point in the history
  6. readme: Add documentation for development container usage

    Based on sotactl README.md.
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3679f36 View commit details
    Browse the repository at this point in the history