Commit Graph
75 Commits
Author SHA1 Message Date
kevinveenbirkenbach 8c845625ae fix(dockerfile): satisfy hadolint warnings (pipefail, quoting, pin ignores)
https://chatgpt.com/share/69457254-bde0-800f-b8b8-b6bfe7eb330d
2025-12-19 16:42:03 +01:00
kevinveenbirkenbach e642e77597 docker: base infinito image on pkgmgr and reuse entry.sh for local build
- Switch Dockerfile build args to PKGMGR_IMAGE_REPO/TAG
- Copy source to INFINITO_SRC_DIR and install infinito via pkgmgr
- Use entry.sh (INSTALL_LOCAL_BUILD) for build-time local override
- Update build/test scripts to new arg/env names

https://chatgpt.com/share/69455d5d-e13c-800f-8c37-fc0ece49d386
2025-12-19 15:12:41 +01:00
kevinveenbirkenbach aea82e8080 ci(deploy): use host Docker socket and local infinito image for deploy tests
- Install Docker CLI in the Docker image (distro-aware)
- Switch deploy container runner from Docker-in-Docker to host /var/run/docker.sock
  with clearer diagnostics when docker/permissions are missing
- Rewrite scripts/tests/deploy.sh to build a local infinito-<distro> image via Make
  and run deployment strictly against that local tag (no pkgmgr/GHCR pulls)

https://chatgpt.com/share/694513c7-daec-800f-a9b5-c8fb25274958
2025-12-19 09:58:43 +01:00
kevinveenbirkenbach 7f0a6277ed fix(docker): use explicit base image args and harden rm path
https://chatgpt.com/share/6943e445-6704-800f-aa8d-a200ab308e75
2025-12-18 12:23:36 +01:00
kevinveenbirkenbach be22f8ec1f Required to change back to /opt/venvs/ due to runner and root executing infinito 2025-12-18 01:47:31 +01:00
kevinveenbirkenbach 2cf7e6c81d Changed venv path 2025-12-18 00:47:34 +01:00
kevinveenbirkenbach dc846b0672 refactor(cli): move main entrypoint to cli package and standardize execution
- Move main.py to cli/__main__.py and expose via console script
- Switch Makefile execution to `python -m cli`
- Remove fragile Docker symlink to main.py
- Ensure infinito console script is available via venv PATH
- Update tests and documentation to reflect new CLI structure
- Improve logging location and permissions (XDG_STATE_HOME)
- Handle Ctrl+C gracefully with POSIX-compliant exit code (130)

https://chatgpt.com/share/6942f140-fb8c-800f-a13a-641ebf1c644e
2025-12-17 19:06:49 +01:00
kevinveenbirkenbach c94cc2d676 Implemented static code testing 2025-12-17 12:12:22 +01:00
kevinveenbirkenbach e1cb7c2260 Docker and Makefile optimations 2025-12-17 09:22:45 +01:00
kevinveenbirkenbach f443300f70 Used PKGMGR as Basis for infinito.nexus 2025-12-16 22:53:30 +01:00
kevinveenbirkenbach c0980e91c0 Fix CI Docker-in-Docker deployment, introduce vfs storage-driver, add inner dockerd bootstrap, enable portable json-file logging when running inside a container, and update workflow triggers for multi-branch testing.
Includes:
- Rewrite of test-deploy workflow to use isolated inner dockerd with privileged mode.
- Switch logging drivers to 'json-file' when IS_CONTAINER=true for compatibility with non-systemd CI runners.
- Adjust Dockerfile to install docker CLI and simplify package setup.
- Improve inventory creation and deploy steps for CI stability.
- Fully compatible with Ansible 2.20 variable handling.

Conversation reference:
https://chatgpt.com/share/6930e285-9604-800f-aad8-7a81c928548c
2025-12-04 02:24:10 +01:00
kevinveenbirkenbach 9ecfd8a762 Added shallow to Dockerfile 2025-12-03 18:01:08 +01:00
kevinveenbirkenbach c424afa935 Fix CLI workflow and container startup
- Updated GitHub Actions workflow to call `infinito make ...` inside container
- Simplified Dockerfile CMD to run `infinito --help` and keep container alive
- Adjusted docker-compose.yml to use explicit image name

See: https://chatgpt.com/share/68cde606-c3f8-800f-8ac5-fc035386da87
2025-09-20 01:24:20 +02:00
kevinveenbirkenbach 0168167769 Docker: introduce docker-compose setup and simplify CMD
- Replaced ENTRYPOINT/CMD with a single CMD ["infinito --help"] in Dockerfile
- Added docker-compose.yml with service 'infinito', port bindings, volumes, networks
- Added env.sample for BIND_IP, SUBNET, GATEWAY defaults

See conversation: https://chatgpt.com/share/68cda4d5-1fe0-800f-a7f7-191cb8b70d84
2025-09-19 21:22:45 +02:00
kevinveenbirkenbach 44e0fea0b2 Renamed cymais to infinito and did some other optimations and logout implementations 2025-07-29 16:35:42 +02:00
kevinveenbirkenbach a580f41edd Replaced aur_builder by builder in dockerfile 2025-07-20 18:39:54 +02:00
kevinveenbirkenbach e4ce3848fc Optimized for github workflow 2025-07-16 14:22:47 +02:00
kevinveenbirkenbach 8113e412dd Deactivated tests during docker build, in the hope that it now passes the git workflow 2025-07-16 14:07:20 +02:00
kevinveenbirkenbach 94796efae8 Replaced cp by rsync to keep .git folder for workflow 2025-07-16 13:45:33 +02:00
kevinveenbirkenbach 9d8e48d303 Added explicit testing during container build. It isn't possible to build the container if it doesn'nt pass the tests. 2025-07-16 12:46:56 +02:00
kevinveenbirkenbach 2d276cfa5e Optimized Dockerfile and github workflow 2025-07-16 09:38:19 +02:00
kevinveenbirkenbach 294d402990 Finished Dockerfile 2025-07-13 21:39:13 +02:00
kevinveenbirkenbach 325695777a Finished CyMaIS Dockerfile setup base 2025-07-13 20:38:29 +02:00
kevinveenbirkenbach 4c9ae52fd7 Optimized virtual environment und sudo 2025-07-13 20:30:00 +02:00
kevinveenbirkenbach 8e4e497d2c Added Dockerfile draft 2025-07-13 19:55:06 +02:00