From a4d4783898634c81b83f69bcb11e6fa099239721 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Mon, 17 Apr 2023 13:03:06 +0200 Subject: [PATCH 1/3] rename to hello-world hello is a GNU package Signed-off-by: Tomas Tomecek --- .packit.yaml | 26 ++++++++++++++++++++++---- hello.spec => hello-world.spec | 4 ++-- 2 files changed, 24 insertions(+), 6 deletions(-) rename hello.spec => hello-world.spec (88%) diff --git a/.packit.yaml b/.packit.yaml index dce8acc3..3696dbbd 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,9 +1,9 @@ --- packit_instances: ["prod", "stg"] -specfile_path: hello.spec +specfile_path: hello-world.spec files_to_sync: - .packit.yaml - - hello.spec + - hello-world.spec upstream_package_name: hello downstream_package_name: hello # actions: @@ -14,8 +14,26 @@ jobs: - job: copr_build trigger: pull_request targets: - - fedora-stable-x86_64 - - fedora-rawhide-x86_64 + - fedora-all + +- job: vm_image_build + trigger: pull_request + image_request: + architecture: x86_64 + image_type: aws + upload_request: + type: aws + options: + share_with_accounts: + - "727920394381" # ARR + - "125523088429" # Testing Farm + image_customizations: + packages: [hello-world] + image_distribution: fedora-38 + owner: packit + project: packit-hello-world-1481 + copr_chroot: fedora-38-x86_64 + - job: copr_build trigger: release diff --git a/hello.spec b/hello-world.spec similarity index 88% rename from hello.spec rename to hello-world.spec index afd23b0d..9c5f3351 100644 --- a/hello.spec +++ b/hello-world.spec @@ -1,10 +1,10 @@ -Name: hello +Name: hello-world Version: 0.1.0 Release: 1%{?dist} Summary: Nice and a polite tool to make your day License: MIT URL: https://github.com/packit-service/hello-world -Source0: hello-%{version}.tar.gz +Source0: hello-world-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools From 88c8f47450c1539af85dabfce906b0a148965b7b Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Tue, 6 Jun 2023 13:15:21 +0200 Subject: [PATCH 2/3] Remove owner, project from image build config --- .packit.yaml | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 3696dbbd..ebbc10fd 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,5 +1,5 @@ --- -packit_instances: ["prod", "stg"] +packit_instances: ["stg"] specfile_path: hello-world.spec files_to_sync: - .packit.yaml @@ -14,7 +14,7 @@ jobs: - job: copr_build trigger: pull_request targets: - - fedora-all + - fedora-38-x86_64 - job: vm_image_build trigger: pull_request @@ -30,30 +30,6 @@ jobs: image_customizations: packages: [hello-world] image_distribution: fedora-38 - owner: packit - project: packit-hello-world-1481 copr_chroot: fedora-38-x86_64 -- job: copr_build - trigger: release - targets: - - fedora-stable - -- job: copr_build - trigger: commit - branch: main - targets: - - fedora-stable - -- job: tests - trigger: pull_request - targets: - - fedora-stable-x86_64 - - fedora-rawhide-x86_64 - -- job: propose_downstream - trigger: release - packit_instances: ["stg"] - dist_git_branches: - - fedora-all From 3fc42d760476766368f980f070f968c50d74c892 Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Tue, 13 Jun 2023 09:11:23 +0200 Subject: [PATCH 3/3] Change packit instances to prod --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index ebbc10fd..dde445b8 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,5 +1,5 @@ --- -packit_instances: ["stg"] +packit_instances: ["prod"] specfile_path: hello-world.spec files_to_sync: - .packit.yaml