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

New infra image start #1292

Merged
merged 7 commits into from
Oct 8, 2024
Merged

Commits on Oct 2, 2024

  1. New infra/image/start.sh script to start the generated containers

    The script will try to get the latest image from quay to start it. With
    the -l option it will try to use a local image first. This is for example
    useful to test changes in the images build script locally.
    
    This also adds infra/image/shcontainer. Some of the content is copied
    from utils/shcontainer.
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    691e591 View commit details
    Browse the repository at this point in the history
  2. infra/image/build.sh: Use new shcontainer

    This removes a lot of duplicate code from the script.
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    50ba326 View commit details
    Browse the repository at this point in the history
  3. Renamed infra/image/inventory to build-inventory, dropped interpreter

    This change also removed ansible_python_interpreter setting in the
    inventory as the interpreter should be discovered by ansible for the
    distributions.
    
    The dockerfiles have been adapted to not force the installation of
    python3 for CentOS-Stream 8, 9 and 10.
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    9ebc365 View commit details
    Browse the repository at this point in the history
  4. Use container-ipa.target from freeipa-container container project

    This reduces the number of started services in the container. The
    fixipaip.service needed to be adapted to ensure that the service is
    started properly.
    
    The dockerfiles have been adapted for this change also.
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    80693c4 View commit details
    Browse the repository at this point in the history
  5. infra/image/build.sh: "-s" help fix and cleanup

    The help has been fixed for the -s option and the comments about how to
    start the container later on has been removed as there will be a script
    that is handling this..
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    ad44f11 View commit details
    Browse the repository at this point in the history
  6. infra/image/system-service/fixipaip.sh: Behave idempotent

    This makes sure that the service is not failing on already applied
    modifications.
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    85ef81c View commit details
    Browse the repository at this point in the history
  7. Add ansible-freeipa-tests inventory using podman

    This inventory file is usable for the containers started with
    infra/image/start.sh.
    t-woerner committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    91a3013 View commit details
    Browse the repository at this point in the history