Skip to content

red-hat-data-services/rpm-lockfile-runner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPM Lockfile Updater

This is a tool that you can use to create the RPM lockfiles that are used by Hermeto. Two main use cases:

  • For users who have had difficulty using the RPM lockfile prototype tool
  • For multi-stage builds, automating the combination of rpms.lock.yaml files between stages

Instructions

  1. Create a new branch on this repo.

  2. Edit config.yaml with the settings that you want:

    • arches - specify which cpu architectures
    • stages - if the build dockerfile has multiple stages, include the stages that install packages via DNF.
    • image - Add the image URI for each relevant stage
    • packages - Add the packages that are installed in each stage.

    Example config:

    arches:
    - x86_64
    - s390x
    stages:
    - image: registry.redhat.io/ubi8/go-toolset:1.22@sha256:a1a37882bbcf1c0f1115d478d5ea9f74b496b8c753d5e4e431a70786e2dbcbfc
      packages:
      - cmake
      - clang
      - openssl
    - image: registry.redhat.io/ubi8/ubi-minimal@sha256:33161cf5ec11ea13bfe60cad64f56a3aa4d893852e8ec44b2fd2a6b40cc38539
      packages:
      - ca-certificates
      - wget
    
  3. Commit changes to your branch

  4. Go to the RPM lockfile runner actions page and run the workflow, selecting your specific branch

  5. After it is complete, you should have an rpms.lock.yaml and ubi.repo commited to your branch that you can copy to wherever you need

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors