From 03a5bf3b8244591b47b7fbee0e6cfd05369b3544 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 8 Jun 2022 11:47:08 +0000 Subject: [PATCH] [packit] 270 upstream release Upstream tag: 270 Upstream commit: afd3eef9 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 3 ++ cockpit-machines.spec | 9 +++-- packit.yaml | 80 +++++++++++++++++++++++++++++++++++++++++++ plans/upstream.fmf | 2 +- sources | 2 +- 6 files changed, 92 insertions(+), 5 deletions(-) create mode 100644 README.packit create mode 100644 packit.yaml diff --git a/.gitignore b/.gitignore index 0161570..c97bbb5 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ /cockpit-machines-267.tar.xz /cockpit-machines-268.tar.xz /cockpit-machines-269.tar.xz +/cockpit-machines-270.tar.xz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..c8fb20b --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.52.1.dev6+g4153106. diff --git a/cockpit-machines.spec b/cockpit-machines.spec index dc493ec..d2b0f1b 100644 --- a/cockpit-machines.spec +++ b/cockpit-machines.spec @@ -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 - 270-1 +- Tests improvements and stabilization + + * Tue May 24 2022 Marius Vollmer - 269-1 - Machines: Redesign content removal dialogs diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..beb5bc5 --- /dev/null +++ b/packit.yaml @@ -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 diff --git a/plans/upstream.fmf b/plans/upstream.fmf index c50f09e..1058fcf 100644 --- a/plans/upstream.fmf +++ b/plans/upstream.fmf @@ -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 diff --git a/sources b/sources index 3e2b6e8..1056e0d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cockpit-machines-269.tar.xz) = 37ba405af19c238c4a0d116a007f60980ef39f6094eb790187bccfda5513847a550a1bc58b066fb18babe60f3b0362c8fb043482449b27832eed155c691e923e +SHA512 (cockpit-machines-270.tar.xz) = 2dca74a59f4a1ea9b35f50f447203694e0e6b3b5e700f6fdfd7428dba990068233bfc09031b85d9aaaffd74d6509e4333a3dd6e4fd7c9aee85af14432937a923