summaryrefslogtreecommitdiff
path: root/ci/containers
Commit message (Collapse)AuthorAgeFilesLines
* ci: Drop Fedora 36 targetHEADmasterErik Skultety2023-05-031-44/+0
| | | | Signed-off-by: Erik Skultety <eskultet@redhat.com>
* ci: Add Fedora 38 targetErik Skultety2023-05-031-0/+44
| | | | Signed-off-by: Erik Skultety <eskultet@redhat.com>
* ci: Replace OpenSUSE Leap 15.4 target with Leap 15 nameErik Skultety2023-05-031-0/+0
| | | | | | We now refer to the latest Leap 15.X simply as Leap 15 in lcitool. Signed-off-by: Erik Skultety <eskultet@redhat.com>
* ci: regenerated with lcitool manifestDaniel P. Berrangé2023-04-194-7/+7
| | | | | | This replaces OpenSUSE Leap 15.3 with 15.4 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* ci: Refresh and add Fedora 37 targetErik Skultety2023-01-041-1/+1
| | | | Signed-off-by: Erik Skultety <eskultet@redhat.com>
* ci: refresh with latest lcitool manifestDaniel P. Berrangé2022-09-3011-108/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refresh switches the CI for contributors to be triggered by merge requests. Pushing to a branch in a fork will no longer run CI pipelines, in order to avoid consuming CI minutes. To regain the original behaviour contributors can opt-in to a pipeline on push git push <remote> -o ci.variable=RUN_PIPELINE=1 This variable can also be set globally on the repository, though this is not recommended. Upstream repo pushes to branches will run CI. The use of containers has changed in this update, with only the upstream repo creating containers, in order to avoid consuming contributors' limited storage quotas. A fork with existing container images may delete them. Containers will be rebuilt upstream when pushing commits with CI changes to the default branch. Any other scenario with CI changes will simply install build pre-requisite packages in a throaway environment, using the ci/buildenv/ scripts. These scripts may also be used on a contributor's local machines. With pipelines triggered by merge requests, it is also now possible to workaround the inability of contributors to run pipelines if they have run out of CI quota. A project member can trigger a pipeline from the merge request, which will run in context of upstream, however, note this should only be done after reviewing the code for any malicious CI changes. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: switch to using 'pip' for package installationv8.2.0Daniel P. Berrangé2022-03-2810-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The distutils/setuptools 'install' command is deprecated in favour of 'pip', and with recent versiosn, using it will create a bad install that triggers a traceback on all future use of setuptools: Traceback (most recent call last): File "/builds/berrange/libvirt-python/setup.py", line 328, in <module> setup(name = 'libvirt-python', File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 154, in setup _install_setup_requires(attrs) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 143, in _install_setup_requires dist = MinimalDistribution(attrs) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 135, in __init__ super().__init__(filtered) File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 456, in __init__ for ep in metadata.entry_points(group='distutils.setup_keywords'): File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 1009, in entry_points return SelectableGroups.load(eps).select(**params) File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 459, in load ordered = sorted(eps, key=by_group) File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 1006, in <genexpr> eps = itertools.chain.from_iterable( File "/usr/lib64/python3.10/importlib/metadata/_itertools.py", line 16, in unique_everseen k = key(element) File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 941, in _normalized_name return self._name_from_stem(stem) or super()._normalized_name File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 622, in _normalized_name return Prepared.normalize(self.name) File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 871, in normalize return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_') File "/usr/lib64/python3.10/re.py", line 209, in sub return _compile(pattern, flags).sub(repl, string, count) This is certainly a bug in distutils/setuptools, but given the 'install' command is deprecated, instead of waiting for a fix, just switch to the recommend 'pip install .' command. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* ci: refresh from lcitool manifestDaniel P. Berrangé2022-03-285-62/+21
| | | | | | This drops the CentOS 8 job and replaces Fedora 33 with 35. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* ci: remove obsolete refresh script and documentationDaniel P. Berrangé2021-09-022-41/+0
| | | | | | We now use lcitool's manifest feature to generate files. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* ci: re-generate containers/gitlab config from manifestDaniel P. Berrangé2021-09-0211-22/+22
| | | | | | | This uses the command "lcitool manifest ci/manifest.yml" to re-generate all existing dockerfiles and gitlab CI config. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* containers: refresh containers with latest libvirt-ciDaniel P. Berrangé2021-05-259-15/+13
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: add OpenSUSE Tumbleweed container and buildDaniel P. Berrangé2021-05-251-0/+32
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: introduce Fedora 34 container and buildDaniel P. Berrangé2021-05-251-0/+43
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: rename opensuse-152 to opensuse-leap-152Daniel P. Berrangé2021-05-251-0/+0
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: rename centos-stream to centos-stream-8Daniel P. Berrangé2021-05-251-0/+0
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: drop Fedora 32 container and buildDaniel P. Berrangé2021-05-251-43/+0
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: drop centos-7 container and buildDaniel P. Berrangé2021-05-251-35/+0
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* ci: refresh containers for nose->pytest switchJán Tomko2021-04-0711-34/+35
| | | | | | Matches libvirt-ci commit facd5d855c97bf5b127ff9bf245c8fdf514dd916 Signed-off-by: Ján Tomko <jtomko@redhat.com>
* ci: drop openSUSE leap 15.1 in favor of 15.2Ján Tomko2021-04-061-4/+5
| | | | Signed-off-by: Ján Tomko <jtomko@redhat.com>
* ci: refresh dockerfilesJán Tomko2021-04-0610-17/+28
| | | | | | Refresh to match libvirt-ci commit 94c25bde639eb31ff2071fb6abfd3d5c777f4ab2 Signed-off-by: Ján Tomko <jtomko@redhat.com>
* ci: refresh containers for CentOS-8 PowerTools repo renamev7.0.0Daniel P. Berrangé2020-12-1511-69/+140
| | | | | | | | | | | A recent CentOS-8 update renamed the "PowerTools" repo to "powertools" and since dnf is case sensitive wrt repo names, this broke ability to build new containers. The refresh fixes the repo name and pulls in other misc improvements to containers. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: replace "libvirt-" prefix with "ci-" in dockerfilesDaniel P. Berrangé2020-12-0112-3/+3
| | | | | | This makes the dockerfile name match the output container name Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: refresh containers with lcitool for fully minimized baseDaniel P. Berrangé2020-12-0111-140/+4
| | | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: re-generate container images from lcitoolDaniel P. Berrangé2020-12-0111-217/+24
| | | | | | This introduces Fedora 33 and removes some redundant packages. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* gitlab: move dockerfiles into ci/containers sub-directoryDaniel P. Berrangé2020-12-0113-0/+729
This brings the repo into alignment with the main libvirt.git practice. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>