[packit] 270 upstream release

Upstream tag: 270
Upstream commit: afd3eef9

Signed-off-by: Packit <hello@packit.dev>
This commit is contained in:
Packit 2022-06-08 11:47:08 +00:00
parent eeb4970ccb
commit 03a5bf3b82
6 changed files with 92 additions and 5 deletions

1
.gitignore vendored
View File

@ -32,3 +32,4 @@
/cockpit-machines-267.tar.xz
/cockpit-machines-268.tar.xz
/cockpit-machines-269.tar.xz
/cockpit-machines-270.tar.xz

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.52.1.dev6+g4153106.

View File

@ -1,6 +1,3 @@
# This spec file has been automatically updated
Version: 269
Release: 1%{?dist}
#
# Copyright (C) 2021 Red Hat, Inc.
#
@ -19,6 +16,8 @@ Release: 1%{?dist}
#
Name: cockpit-machines
Version: 270
Release: 1%{?dist}
Summary: Cockpit user interface for virtual machines
License: LGPLv2+ and MIT
URL: https://github.com/cockpit-project/cockpit-machines
@ -85,6 +84,10 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
# The changelog is automatically generated and merged
%changelog
* Wed Jun 08 2022 Packit <hello@packit.dev> - 270-1
- Tests improvements and stabilization
* Tue May 24 2022 Marius Vollmer <mvollmer@redhat.com> - 269-1
- Machines: Redesign content removal dialogs

80
packit.yaml Normal file
View File

@ -0,0 +1,80 @@
upstream_project_url: https://github.com/cockpit-project/cockpit-machines
specfile_path: cockpit-machines.spec
upstream_package_name: cockpit-machines
downstream_package_name: cockpit-machines
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
# HACK: packit.yml and spec get synced by default; drop this when the plans/upstream.fmf HACK above gets dropped
files_to_sync:
- packit.yaml
- cockpit-machines.spec
- src: tmp/upstream.fmf
dest: plans/upstream.fmf
srpm_build_deps:
- npm
- make
actions:
post-upstream-clone:
- make cockpit-machines.spec
# HACK: until FMF uses tests from dist-git source tarball: https://github.com/teemtee/tmt/issues/585
- sh -exc 'mkdir -p tmp; curl --silent --fail https://src.fedoraproject.org/rpms/cockpit-machines/raw/rawhide/f/plans/upstream.fmf | sed -r "/ref:/ s/[0-9.]+/$(git describe --abbrev=0)/" > tmp/upstream.fmf'
create-archive: make dist
jobs:
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-35
- fedora-36
- fedora-rawhide
- centos-stream-8
- centos-stream-9
- job: copr_build
trigger: release
metadata:
owner: "@cockpit"
project: "cockpit-preview"
preserve_project: True
targets:
- fedora-35
- fedora-36
- fedora-development
- centos-stream-8-x86_64
- centos-stream-9-x86_64
actions:
post-upstream-clone: make cockpit-machines.spec
# HACK: tarball for releases (copr_build, koji, etc.), copying spec's Source0; this
# really should be the default, see https://github.com/packit/packit-service/issues/1505
create-archive:
- sh -exc "curl -L -O https://github.com/cockpit-project/cockpit-machines/releases/download/${PACKIT_PROJECT_VERSION}/${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
- sh -exc "ls ${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
- job: propose_downstream
trigger: release
metadata:
dist_git_branches:
- fedora-development
- fedora-35
- fedora-36
- job: koji_build
trigger: commit
metadata:
dist_git_branches:
- fedora-development
- fedora-35
- fedora-36
- job: bodhi_update
trigger: commit
metadata:
dist_git_branches:
# rawhide updates are created automatically
- fedora-35
- fedora-36

View File

@ -2,6 +2,6 @@ discover:
how: fmf
repository: https://github.com/cockpit-project/cockpit-machines
# FIXME: get rid of the hardcoding: https://github.com/psss/tmt/issues/585
ref: "269"
ref: "270"
execute:
how: tmt

View File

@ -1 +1 @@
SHA512 (cockpit-machines-269.tar.xz) = 37ba405af19c238c4a0d116a007f60980ef39f6094eb790187bccfda5513847a550a1bc58b066fb18babe60f3b0362c8fb043482449b27832eed155c691e923e
SHA512 (cockpit-machines-270.tar.xz) = 2dca74a59f4a1ea9b35f50f447203694e0e6b3b5e700f6fdfd7428dba990068233bfc09031b85d9aaaffd74d6509e4333a3dd6e4fd7c9aee85af14432937a923