Skip to content

quipucords/yaka

Folders and files

NameName
Last commit message
Last commit date
Jan 22, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025
Jan 16, 2025

Repository files navigation

Yet Another Konflux Attempt

This is a playground to prototype, reproduce issues in a smaller scale (and attempt to solve them) in a more controlled environment.

Currently it is very painful to build cryptography from source. This repo works aims to serve as a guide on how to do it with cachi2/konflux.

In order to ensure cryptography was successfully built the image will decrypt a message.

Installation

make install

podman and uv are required

Generating the lockfiles

make lock-all

Non-hermetic build

podman build -t yaka-simple .

Make sure it is working by running

podman run -it localhost/yaka-simple:latest

Hermetic build

Building this image without network access can be done locally thanks to cachi2-playground script.

You will also need a input.env file like the following

GIT_REPO="https://github.com/quipucords/yaka"
REF="main"
PREFETCH_INPUT='[{"type": "pip", "path": "lockfiles"}, {"type": "rpm", "path": "lockfiles"}, {"type": "generic", "path": "lockfiles"}]'
CACHI2_IMAGE="quay.io/redhat-appstudio/cachi2:latest"
CONTAINERFILE_PATH="./Containerfile"
OUTPUT_IMAGE="localhost/yaka-hermetic:latest"

Then run ./clone-and-build.sh.