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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Oct 16, 2024

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

    Signed-off-by: Andre Detsch <andre.detsch@foundries.io>
    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 Oct 17, 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 <andre.detsch@foundries.io>
    detsch committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    f5cca3e 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 <andre.detsch@foundries.io>
    detsch committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    b3fbd8c 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 <andre.detsch@foundries.io>
    detsch committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    d72be8a 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 <andre.detsch@foundries.io>
    detsch committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    84e47d0 View commit details
    Browse the repository at this point in the history
  5. readme: Remove custom client documentation, and add reference to sotactl

    Signed-off-by: Andre Detsch <andre.detsch@foundries.io>
    detsch committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    54f6886 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 <andre.detsch@foundries.io>
    detsch committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ab1fad4 View commit details
    Browse the repository at this point in the history