475 lines
9.0 KiB
Diff
475 lines
9.0 KiB
Diff
From 0cdd05ba6644ef6215e4cfa83e1759f7059b5d6d Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Nykr=C3=BDn?= <lnykryn@redhat.com>
|
|
Date: Mon, 7 Jun 2021 14:02:29 +0200
|
|
Subject: [PATCH] Merge pull request #1 from mrc0mmand/ci-config
|
|
|
|
CI configuration
|
|
---
|
|
.github/labeler.yml | 293 -------------------------------------------
|
|
.github/stale.yml | 21 ----
|
|
.github/workflows/labels.yml | 11 --
|
|
.github/workflows/pr.yml | 19 ---
|
|
.packit.yml | 72 +++++------
|
|
5 files changed, 31 insertions(+), 385 deletions(-)
|
|
|
|
diff --git a/.github/labeler.yml b/.github/labeler.yml
|
|
deleted file mode 100644
|
|
index 73f51875..00000000
|
|
--- a/.github/labeler.yml
|
|
+++ /dev/null
|
|
@@ -1,293 +0,0 @@
|
|
-repository:
|
|
- - ./*
|
|
-
|
|
-github:
|
|
- - .github/*
|
|
- - .github/**/*
|
|
-
|
|
-dracut-install:
|
|
- - install/*
|
|
- - install/**/*
|
|
-
|
|
-example:
|
|
- - examples/*
|
|
- - examples/**/*
|
|
- - examples/**/**/*
|
|
-
|
|
-modules:
|
|
- - modules.d/*
|
|
- - modules.d/**/*
|
|
-
|
|
-bash:
|
|
- - modules.d/00bash/*
|
|
-
|
|
-bootchart:
|
|
- - modules.d/00bootchart/*
|
|
-
|
|
-dash:
|
|
- - modules.d/00dash/*
|
|
-
|
|
-mksh:
|
|
- - modules.d/00mksh/*
|
|
-
|
|
-systemd:
|
|
- - modules.d/00systemd/*
|
|
-
|
|
-warpclock:
|
|
- - modules.d/00warpclock/*
|
|
-
|
|
-fips:
|
|
- - modules.d/01fips/*
|
|
-
|
|
-systemd-initrd:
|
|
- - modules.d/01systemd-initrd/*
|
|
-
|
|
-caps:
|
|
- - modules.d/02caps/*
|
|
-
|
|
-systemd-networkd:
|
|
- - modules.d/02systemd-networkd/*
|
|
-
|
|
-modsign:
|
|
- - modules.d/03modsign/*
|
|
-
|
|
-rescue:
|
|
- - modules.d/03rescue/*
|
|
-
|
|
-watchdog:
|
|
- - modules.d/04watchdog/*
|
|
-
|
|
-busybox:
|
|
- - modules.d/05busybox/*
|
|
-
|
|
-rngd:
|
|
- - modules.d/06rngd/*
|
|
-
|
|
-i18n:
|
|
- - modules.d/10i18n/*
|
|
-
|
|
-convertfs:
|
|
- - modules.d/30convertfs/*
|
|
-
|
|
-network-legacy:
|
|
- - modules.d/35network-legacy/*
|
|
-
|
|
-network-manager:
|
|
- - modules.d/35network-manager/*
|
|
-
|
|
-network:
|
|
- - modules.d/40network/*
|
|
-
|
|
-ifcfg:
|
|
- - modules.d/45ifcfg/*
|
|
-
|
|
-url-lib:
|
|
- - modules.d/45url-lib/*
|
|
-
|
|
-drm:
|
|
- - modules.d/50drm/*
|
|
-
|
|
-gensplash:
|
|
- - modules.d/50gensplash/*
|
|
-
|
|
-plymouth:
|
|
- - modules.d/50plymouth/*
|
|
-
|
|
-cms:
|
|
- - modules.d/80cms/*
|
|
-
|
|
-lvmmerge:
|
|
- - modules.d/80lvmmerge/*
|
|
-
|
|
-cio_ignore:
|
|
- - modules.d/81cio_ignore/*
|
|
-
|
|
-btrfs:
|
|
- - modules.d/90btrfs/*
|
|
-
|
|
-crypt:
|
|
- - modules.d/90crypt/*
|
|
-
|
|
-dm:
|
|
- - modules.d/90dm/*
|
|
-
|
|
-dmraid:
|
|
- - modules.d/90dmraid/*
|
|
-
|
|
-dmsquash-live:
|
|
- - modules.d/90dmsquash-live/*
|
|
-
|
|
-dmsquash-live-ntfs:
|
|
- - modules.d/90dmsquash-live-ntfs/*
|
|
-
|
|
-kernel-modules:
|
|
- - modules.d/90kernel-modules/*
|
|
-
|
|
-kernel-modules-extra:
|
|
- - modules.d/90kernel-modules-extra/*
|
|
-
|
|
-kernel-network-modules:
|
|
- - modules.d/90kernel-network-modules/*
|
|
-
|
|
-livenet:
|
|
- - modules.d/90livenet/*
|
|
-
|
|
-lvm:
|
|
- - modules.d/90lvm/*
|
|
-
|
|
-mdraid:
|
|
- - modules.d/90mdraid/*
|
|
-
|
|
-multipath:
|
|
- - modules.d/90multipath/*
|
|
-
|
|
-nvdimm:
|
|
- - modules.d/90nvdimm/*
|
|
-
|
|
-ppcmac:
|
|
- - modules.d/90ppcmac/*
|
|
-
|
|
-qemu:
|
|
- - modules.d/90qemu/*
|
|
-
|
|
-qemu-net:
|
|
- - modules.d/90qemu-net/*
|
|
-
|
|
-stratis:
|
|
- - modules.d/90stratis/*
|
|
-
|
|
-crypt-gpg:
|
|
- - modules.d/91crypt-gpg/*
|
|
-
|
|
-crypt-loop:
|
|
- - modules.d/91crypt-loop/*
|
|
-
|
|
-zipl:
|
|
- - modules.d/91zipl/*
|
|
-
|
|
-cifs:
|
|
- - modules.d/95cifs/*
|
|
-
|
|
-dasd:
|
|
- - modules.d/95dasd/*
|
|
-
|
|
-dasd_mod:
|
|
- - modules.d/95dasd_mod/*
|
|
-
|
|
-dasd_rules:
|
|
- - modules.d/95dasd_rules/*
|
|
-
|
|
-dcssblk:
|
|
- - modules.d/95dcssblk/*
|
|
-
|
|
-debug:
|
|
- - modules.d/95debug/*
|
|
-
|
|
-fcoe:
|
|
- - modules.d/95fcoe/*
|
|
-
|
|
-fcoe-uefi:
|
|
- - modules.d/95fcoe-uefi/*
|
|
-
|
|
-fstab-sys:
|
|
- - modules.d/95fstab-sys/*
|
|
-
|
|
-iscsi:
|
|
- - modules.d/95iscsi/*
|
|
-
|
|
-lunmask:
|
|
- - modules.d/95lunmask/*
|
|
-
|
|
-nbd:
|
|
- - modules.d/95nbd/*
|
|
-
|
|
-nfs:
|
|
- - modules.d/95nfs/*
|
|
-
|
|
-nvmf:
|
|
- - modules.d/95nvmf/*
|
|
-
|
|
-qeth_rules:
|
|
- - modules.d/95qeth_rules/*
|
|
-
|
|
-resume:
|
|
- - modules.d/95resume/*
|
|
-
|
|
-rootfs-block:
|
|
- - modules.d/95rootfs-block/*
|
|
-
|
|
-ssh-client:
|
|
- - modules.d/95ssh-client/*
|
|
-
|
|
-terminfo:
|
|
- - modules.d/95terminfo/*
|
|
-
|
|
-udev-rules:
|
|
- - modules.d/95udev-rules/*
|
|
-
|
|
-virtfs:
|
|
- - modules.d/95virtfs/*
|
|
-
|
|
-zfcp:
|
|
- - modules.d/95zfcp/*
|
|
-
|
|
-zfcp_rules:
|
|
- - modules.d/95zfcp_rules/*
|
|
-
|
|
-znet:
|
|
- - modules.d/95znet/*
|
|
-
|
|
-securityfs:
|
|
- - modules.d/96securityfs/*
|
|
-
|
|
-biosdevname:
|
|
- - modules.d/97biosdevname/*
|
|
-
|
|
-masterkey:
|
|
-- modules.d/97masterkey/*
|
|
-
|
|
-dracut-systemd:
|
|
- - modules.d/98dracut-systemd/*
|
|
-
|
|
-ecryptfs:
|
|
- - modules.d/98ecryptfs/*
|
|
-
|
|
-integrity:
|
|
- - modules.d/98integrity/*
|
|
-
|
|
-pollcdrom:
|
|
- - modules.d/98pollcdrom/*
|
|
-
|
|
-selinux:
|
|
- - modules.d/98selinux/*
|
|
-
|
|
-syslog:
|
|
- - modules.d/98syslog/*
|
|
-
|
|
-usrmount:
|
|
- - modules.d/98usrmount/*
|
|
-
|
|
-base:
|
|
- - modules.d/99base/*
|
|
-
|
|
-fs-lib:
|
|
- - modules.d/99fs-lib/*
|
|
-
|
|
-img-lib:
|
|
- - modules.d/99img-lib/*
|
|
-
|
|
-memstrack:
|
|
- - modules.d/99memstrack/*
|
|
-
|
|
-shutdown:
|
|
- - modules.d/99shutdown/*
|
|
-
|
|
-squash:
|
|
- - modules.d/99squash/*
|
|
-
|
|
-uefi-lib:
|
|
- - modules.d/99uefi-lib/*
|
|
-
|
|
-test:
|
|
- - test/*
|
|
- - test/**/*
|
|
diff --git a/.github/stale.yml b/.github/stale.yml
|
|
deleted file mode 100644
|
|
index 1e873606..00000000
|
|
--- a/.github/stale.yml
|
|
+++ /dev/null
|
|
@@ -1,21 +0,0 @@
|
|
-# Number of days of inactivity before an issue becomes stale
|
|
-daysUntilStale: 30
|
|
-# Number of days of inactivity before a stale issue is closed
|
|
-daysUntilClose: 7
|
|
-# Issues with these labels will never be considered stale
|
|
-exemptLabels:
|
|
- - documents
|
|
- - enhancement
|
|
- - regression
|
|
- - wiki
|
|
- - bug
|
|
-# Label to use when marking an issue as stale
|
|
-staleLabel: stale
|
|
-# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
-markComment: >
|
|
- This issue is being marked as stale because it has not had any recent activity.
|
|
- It will be closed if no further activity occurs.
|
|
- If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days.
|
|
- Thank you for your contributions.
|
|
-# Comment to post when closing a stale issue. Set to `false` to disable
|
|
-closeComment: false
|
|
diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml
|
|
deleted file mode 100644
|
|
index 9fa7a929..00000000
|
|
--- a/.github/workflows/labels.yml
|
|
+++ /dev/null
|
|
@@ -1,11 +0,0 @@
|
|
-name: "Pull Request Labeler"
|
|
-
|
|
-on: pull_request_target
|
|
-
|
|
-jobs:
|
|
- triage:
|
|
- runs-on: ubuntu-latest
|
|
- steps:
|
|
- - uses: actions/labeler@main
|
|
- with:
|
|
- repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
|
|
deleted file mode 100644
|
|
index ee46168e..00000000
|
|
--- a/.github/workflows/pr.yml
|
|
+++ /dev/null
|
|
@@ -1,19 +0,0 @@
|
|
-name: Commisery
|
|
-on:
|
|
- pull_request:
|
|
- types: [edited, opened, synchronize, reopened]
|
|
-
|
|
-jobs:
|
|
- commit-message:
|
|
- name: Conventional Commit Message Checker (Commisery)
|
|
- runs-on: ubuntu-latest
|
|
- steps:
|
|
- - name: Check-out the repo under $GITHUB_WORKSPACE
|
|
- uses: actions/checkout@v2
|
|
-
|
|
- - name: Run Commisery
|
|
- uses: dracutdevs/commisery-action@master
|
|
- with:
|
|
- token: ${{ secrets.GITHUB_TOKEN }}
|
|
- pull_request: ${{ github.event.number }}
|
|
-
|
|
diff --git a/.packit.yml b/.packit.yml
|
|
index 482b4c4d..acc1f968 100644
|
|
--- a/.packit.yml
|
|
+++ b/.packit.yml
|
|
@@ -1,55 +1,45 @@
|
|
+---
|
|
# This file is part of dracut.
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
+#
|
|
+# vi:ts=2 sw=2 et:
|
|
+#
|
|
+# Docs: https://packit.dev/docs/
|
|
|
|
-# The name of the upstream package
|
|
+specfile_path: .packit_rpm/dracut.spec
|
|
+synced_files:
|
|
+ - .packit.yaml
|
|
+ - src: .packit_rpm/dracut.spec
|
|
+ dest: dracut.spec
|
|
upstream_package_name: dracut
|
|
-
|
|
-# The upstream tag versioning scheme
|
|
-upstream_tag_template: "{version}"
|
|
-
|
|
-# The URL of the upstream project
|
|
-upstream_project_url: https://github.com/dracutdevs/dracut
|
|
-
|
|
-# Relative path to a spec file within the upstream repository
|
|
-specfile_path: pkgbuild/dracut.spec
|
|
-
|
|
-# Name of the downstream package
|
|
downstream_package_name: dracut
|
|
+upstream_tag_template: "{version}"
|
|
|
|
-# The URL of the downstream project
|
|
-dist_git_base_url: https://src.fedoraproject.org/
|
|
-
|
|
-# Sync file(s) from upstream repo to dist-git
|
|
-synced_files:
|
|
- # The dracut spec file is maintained upstream so we sync it downstream.
|
|
- - dracut.spec
|
|
- # We sync the packit file downstream be able to optionally use the sync-from-downstream command
|
|
- - .packit.yaml
|
|
+actions:
|
|
+ post-upstream-clone:
|
|
+ # Use the CentOS Stream specfile
|
|
+ - "git clone https://gitlab.com/redhat/centos-stream/rpms/dracut .packit_rpm --depth=1"
|
|
+ # Drop the "sources" file so rebase-helper doesn't think we're a dist-git$
|
|
+ - "rm -fv .packit_rpm/sources"
|
|
|
|
-# We want new releases to be automatically built on rawhide and have few jobs
|
|
-# on copr.
|
|
-create_pr: false
|
|
+# Available targets can be listed via `copr-cli list-chroots`
|
|
jobs:
|
|
-- job: propose_downstream
|
|
- trigger: release
|
|
- metadata:
|
|
- dist_git_branches: main
|
|
-
|
|
-- job: tests
|
|
- trigger: pull_request
|
|
- metadata:
|
|
- targets:
|
|
- - fedora-rawhide
|
|
-
|
|
+# Build test
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
metadata:
|
|
targets:
|
|
- - fedora-development
|
|
-
|
|
-- job: copr_build
|
|
- trigger: commit
|
|
+ - epel-8-x86_64
|
|
+ - epel-8-aarch64
|
|
+ # FIXME: change to CentOS 9 once it's available
|
|
+ - fedora-34-x86_64
|
|
+ - fedora-34-aarch64
|
|
+ - fedora-34-s390x
|
|
+
|
|
+# Run tests (via testing farm)
|
|
+- job: tests
|
|
+ trigger: pull_request
|
|
metadata:
|
|
targets:
|
|
- - fedora-all
|
|
- - fedora-development
|
|
+ # FIXME: change to CentOS 9 once it's available
|
|
+ - fedora-34-x86_64
|
|
|