Skip to content

yast/ci-libstorage-ng-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Libstorage-ng Testing Image

CI OBS

This git repository contains the configuration used to build the docker image used for GitHub Actions. The resulting docker image is available at https://registry.opensuse.org/.

Automatic Rebuilds

  • The image is rebuilt whenever a commit it pushed to the master branch.
  • The submit.yml GitHub Action commits the configuration to the YaST:Head/ci-libstorage-ng-container OBS project
  • The OBS tracks the dependencies and rebuilds the image if any dependant package is updated.

Triggering a Rebuild Manually

If for some reason the automatic rebuild do not work or it failed you can trigger the rebuild in the OBS just like for the other regular packages.

The Image Content

This image is based on the latest openSUSE Tumbleweed image, additionally it contains the packages needed for building and running the libstorage-ng tests.

Building the Image Locally

Using the OSC Tool

From the Git sources:

# you need the rubygem-yast-rake package installed
rake osc:build

From the OBS checkout:

# check it out if not already present
osc co YaST:Head/ci-libstorage-ng-container
cd YaST:Head/ci-libstorage-ng-container

# build it
osc build containers

Using the Docker tool

️:warning: This approach is not 100% the same as building the image with osc described above. The osc build injects some special modifications to allow building the image inside the OBS build environment.

ℹ️️ You should prefer using the osc method if possible, use the docker build only as a fallback when the osc build is not possible or does not work in your environment.

docker build -t ci-libstorage-ng-container-test -f package/Dockerfile package/

About

Container image for building libstorage-ng in Travis

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published