diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-09-03 17:05:01 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-09-03 17:21:56 +0100 |
commit | ff2ef0ad3d9a22cc806bcb9f3876154441ffe702 (patch) | |
tree | bdbce056ad8f2bf116c534a4bcd151a832eed02c | |
parent | 8e25d1688255d0d6a1be51e5f988b7691f993c79 (diff) | |
download | libosinfo-ff2ef0ad3d9a22cc806bcb9f3876154441ffe702.tar.gz |
ci: remove obsolete refresh script and documentation
We now use lcitool's manifest feature to generate files.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | ci/containers/README.rst | 14 | ||||
-rwxr-xr-x | ci/containers/refresh | 29 |
2 files changed, 0 insertions, 43 deletions
diff --git a/ci/containers/README.rst b/ci/containers/README.rst deleted file mode 100644 index 530897e..0000000 --- a/ci/containers/README.rst +++ /dev/null @@ -1,14 +0,0 @@ -CI job assets -============= - -This directory contains assets used in the automated CI jobs, most -notably the Dockerfiles used to build container images in which the -CI jobs then run. - -The ``refresh`` script is used to re-create the Dockerfiles using the -``lcitool`` command that is provided by repo -https://gitlab.com/libvirt/libvirt-ci - -The containers are built during the CI process and cached in the GitLab -container registry of the project doing the build. The cached containers -can be deleted at any time and will be correctly rebuilt. diff --git a/ci/containers/refresh b/ci/containers/refresh deleted file mode 100755 index cacb7ed..0000000 --- a/ci/containers/refresh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -if test -z "$1" -then - echo "syntax: $0 PATH-TO-LCITOOL" - exit 1 -fi - -LCITOOL=$1 - -if ! test -x "$LCITOOL" -then - echo "$LCITOOL is not executable" - exit 1 -fi - -HOSTS=$($LCITOOL hosts | grep -v -E "(freebsd|macos)") - -for host in $HOSTS -do - if test "$host" = "libvirt-fedora-rawhide" - then - for cross in mingw32 mingw64; do - $LCITOOL dockerfile $host osinfo-db-tools+dist,osinfo-db,libosinfo --cross $cross > ci-$host-cross-$cross.Dockerfile - done - fi - - $LCITOOL dockerfile $host osinfo-db-tools,osinfo-db,libosinfo > ci-$host.Dockerfile -done |