1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
actions:
post-upstream-clone:
- 'cp dist/libblockdev.spec.in dist/libblockdev.spec'
- 'sed -i -e "s/@WITH_..*@/1/g" -e "s/@MAJOR_VER@/3/g" dist/libblockdev.spec'
create-archive:
- './autogen.sh'
- './configure'
- 'make'
- 'make local'
- 'bash -c "ls *.tar*"'
get-current-version:
- 'bash -c "grep Version: dist/libblockdev.spec.in | cut -f2 -d\":\" | tr -d \" \""'
jobs:
- job: copr_build
metadata:
targets:
- fedora-rawhide-aarch64
- fedora-rawhide-ppc64le
- fedora-rawhide-x86_64
- fedora-latest-aarch64
- fedora-latest-ppc64le
- fedora-latest-x86_64
- fedora-latest-stable-aarch64
- fedora-latest-stable-ppc64le
- fedora-latest-stable-x86_64
trigger: pull_request
- job: copr_build
trigger: commit
owner: "@storage"
project: blivet-daily
branch: master
preserve_project: true
actions:
post-upstream-clone:
# bump release to 99 to always be ahead of Fedora builds
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libblockdev.spec.in"'
- 'cp dist/libblockdev.spec.in dist/libblockdev.spec'
- 'sed -i -e "s/@WITH_..*@/1/g" -e "s/@MAJOR_VER@/3/g" dist/libblockdev.spec'
create-archive:
- './autogen.sh'
- './configure'
- 'make'
- 'make local'
- 'bash -c "ls *.tar*"'
get-current-version:
- 'bash -c "grep Version: dist/libblockdev.spec.in | cut -f2 -d\":\" | tr -d \" \""'
- job: copr_build
trigger: commit
owner: "@storage"
project: udisks-daily
branch: master
preserve_project: true
actions:
post-upstream-clone:
# bump release to 99 to always be ahead of Fedora builds
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libblockdev.spec.in"'
- 'cp dist/libblockdev.spec.in dist/libblockdev.spec'
- 'sed -i -e "s/@WITH_..*@/1/g" -e "s/@MAJOR_VER@/3/g" dist/libblockdev.spec'
create-archive:
- './autogen.sh'
- './configure'
- 'make'
- 'make local'
- 'bash -c "ls *.tar*"'
get-current-version:
- 'bash -c "grep Version: dist/libblockdev.spec.in | cut -f2 -d\":\" | tr -d \" \""'
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-development
- fedora-latest
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-development
- fedora-latest
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched
- job: tests
trigger: pull_request
targets:
- fedora-latest-stable
# run tests for libblockdev consumers, see plans/ with `revdeps_blivet == yes`
- job: tests
identifier: revdeps_blivet
trigger: pull_request
notifications:
failure_comment:
message: "Blivet tests failed for commit {commit_sha}. @vojtechtrefny please check."
targets:
- fedora-latest-stable
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/storage/blivet-daily/repo/fedora-$releasever/group_storage-blivet-daily-fedora-$releasever.repo
tmt:
context:
revdeps_blivet: "yes"
- job: tests
identifier: revdeps_udisks
trigger: pull_request
notifications:
failure_comment:
message: "udisks tests failed for commit {commit_sha}. @vojtechtrefny @tbzatek please check."
targets:
- fedora-latest-stable
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/storage/udisks-daily/repo/fedora-$releasever/group_storage-udisks-daily-fedora-$releasever.repo
tmt:
context:
revdeps_udisks: "yes"
srpm_build_deps:
- make
- gcc
- libtool
- autoconf
- autoconf-archive
- automake
- cryptsetup-devel
- device-mapper-devel
- e2fsprogs-devel
- glib2-devel
- glib2-doc
- gobject-introspection-devel
- gtk-doc
- json-glib-devel
- keyutils-libs-devel
- kmod-devel
- libatasmart-devel
- libblkid-devel
- libbytesize-devel
- libfdisk-devel
- libmount-devel
- libnvme-devel
- libuuid-devel
- libyaml-devel
- ndctl-devel
- nss-devel
- parted-devel
- python3-devel
- systemd-devel
- volume_key-devel
downstream_package_name: libblockdev
specfile_path: dist/libblockdev.spec
|