From e45f43f931efdefff7895ba4b93f657c699a4f79 Mon Sep 17 00:00:00 2001 From: Frantisek Lachman Date: Tue, 31 Jan 2023 09:48:40 +0100 Subject: [PATCH 1/5] Test the VM image build Signed-off-by: Frantisek Lachman --- .packit.yaml | 80 ++++++---------------------------------------------- 1 file changed, 9 insertions(+), 71 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index c39e3e92..319193af 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -27,79 +27,17 @@ srpm_build_deps: - python3-setuptools_scm jobs: - - job: sync_from_downstream - trigger: commit - - - job: propose_downstream - trigger: release - dist_git_branches: - - fedora-all - - epel-9 - - job: copr_build trigger: pull_request targets: - - fedora-all - - epel-9 - - job: tests - trigger: pull_request - targets: - - fedora-all - - epel-9 + - fedora-37-x86_64 + project: vm-image-ogr-demo + identifier: vm-image-demo - - job: upstream_koji_build + - job: vm_image_build trigger: pull_request - scratch: True - targets: - - fedora-development - - - job: copr_build - trigger: commit - branch: main - targets: - - fedora-all - - epel-9 - project: packit-dev - list_on_homepage: True - preserve_project: True - - - job: copr_build - trigger: commit - branch: stable - targets: - - fedora-stable - - epel-9 - project: packit-stable - list_on_homepage: True - preserve_project: True - - - job: copr_build - trigger: release - targets: - - fedora-all - - epel-9 - project: packit-releases - list_on_homepage: True - preserve_project: True - - - job: pull_from_upstream - trigger: release - dist_git_branches: - - fedora-all - - epel-9 - - # downstream automation: - - job: koji_build - trigger: commit - packit_instances: ["stg"] - allowed_pr_authors: ["packit-stg", "packit"] - dist_git_branches: - - fedora-all - - epel-9 - - job: bodhi_update - trigger: commit - packit_instances: ["stg"] - dist_git_branches: - - fedora-latest # branched version, rawhide updates are created automatically - - fedora-stable - - epel-9 + copr_chroot: fedora-37-x86_64 + owner: packit + project: vm-image-ogr-demo + image_customizations: + packages: [python3-ogr] From 512eef37c966a541a39cee94a632abfefb48aae7 Mon Sep 17 00:00:00 2001 From: lachmanfrantisek Date: Tue, 31 Jan 2023 14:27:50 +0100 Subject: [PATCH 2/5] Update .packit.yaml Co-authored-by: Maja Massarini <2678400+majamassarini@users.noreply.github.com> --- .packit.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 319193af..8089c254 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -41,3 +41,10 @@ jobs: project: vm-image-ogr-demo image_customizations: packages: [python3-ogr] + image_distribution: fedora-36 + image_request: + architecture: x86_64 + image_type: aws + upload_request: + type: aws + options: {} From c411c0b536412ff74d7466e284398a4a77221a40 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Mon, 20 Feb 2023 12:34:58 +0100 Subject: [PATCH 3/5] Share image with specified aws account id --- .packit.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 8089c254..bee2c9f1 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -47,4 +47,5 @@ jobs: image_type: aws upload_request: type: aws - options: {} + options: + share_with_accounts: ["727920394381"] From 01c9af83b02cd69f7d9d9c49b24b330a5646366a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:36:42 +0000 Subject: [PATCH 4/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index bee2c9f1..b84ade43 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -47,5 +47,5 @@ jobs: image_type: aws upload_request: type: aws - options: + options: share_with_accounts: ["727920394381"] From dd4eb28e8939d8708e6d71210b49037b1335cd94 Mon Sep 17 00:00:00 2001 From: lachmanfrantisek Date: Wed, 22 Feb 2023 08:37:57 +0100 Subject: [PATCH 5/5] Fix the Fedora version for the image build Co-authored-by: Tomas Tomecek --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index b84ade43..024c73cb 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -41,7 +41,7 @@ jobs: project: vm-image-ogr-demo image_customizations: packages: [python3-ogr] - image_distribution: fedora-36 + image_distribution: fedora-37 image_request: architecture: x86_64 image_type: aws