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

Update containers and include CI test for container builds #62

Merged
merged 8 commits into from
Aug 15, 2023

Commits on Aug 8, 2023

  1. pyenv scripts: set up path to pyenv correctly

    These scripts are used to set up a working environment - primarily when
    creating a container with the working environment but might be useful
    also on a "native" setup.
    
    The installation script now inserts the pyenv init (set up path etc.)
    in ~/.bashrc.
    
    But in the  install_python_version_in_pyenv.sh script we can set up PATH
    to the pyenv binary directly, before using it.
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    93b1df0 View commit details
    Browse the repository at this point in the history
  2. PyYAML: Upgrade to >=6.0 in requirements.txt

    It seems that ==6.0 failed to compile wheel on the Alpine container for
    unknown reason.  This compiles cleanly, so I suppose some bug was fixed.
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    5cd27fc View commit details
    Browse the repository at this point in the history
  3. Docker: Update Ubuntu Dockerfile

    It now works, uses pyenv to install a python version and paths are
    OK for launching ifexgen.  Fixes were mostly in previous commit.
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    e44ce0d View commit details
    Browse the repository at this point in the history
  4. Docker: Fix Alpine, refactor Makefile and add pytest

    - Restructured Makefile to reduce duplication of code.
    - Add targets to run pytest inside containers
    - Fixes to Alpine container as well, so that it works...
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    e0b2d1c View commit details
    Browse the repository at this point in the history
  5. Workflows: Short names for build badges

    (Use short names that will later work on build-badges in README)
    Updated also setup-python action - seems to remove some bugs.
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    3aa25b7 View commit details
    Browse the repository at this point in the history
  6. Dockerfile.ubuntu: Update apt deps for python/pyenv

    According to another source, these are the required dependencies to
    build python from source via pyenv.
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    f87826b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. workflows/docker: Set up to ensure interactive commands still work

    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    c605565 View commit details
    Browse the repository at this point in the history
  2. docker_ifexgen: Update wrapper to run "containerized" ifexgen

    This is a wrapper that the user can invoke instead of ifexgen
    to execute the tool in the container installation instead of a local
    installation.  The usage should be identical, hopefully.
    (It existed before but is now matching the updated container setup)
    
    EDIT: Add similar support for D-Bus generator
    
    Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
    Gunnar Andersson committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    0a5bf89 View commit details
    Browse the repository at this point in the history