Skip to content

Commit

Permalink
Clean up config for blogpost
Browse files Browse the repository at this point in the history
Try to have the shortest possible config
  • Loading branch information
majamassarini committed Jan 24, 2024
1 parent 587eb55 commit cb402ae
Showing 1 changed file with 7 additions and 32 deletions.
39 changes: 7 additions & 32 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
---
packit_instances: ["prod", "stg"]

specfile_path: hello-world.spec
files_to_sync:
- .packit.yaml
- hello-world.spec
upstream_package_name: hello
downstream_package_name: hello
# actions:
# post-upstream-clone: "python3 setup.py sdist --dist-dir ."
# current_version_command: ["python3", "setup.py", "--version"]
# create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."]
upstream_package_name: hello-world
downstream_package_name: hello-world

jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- fedora-39-x86_64

- job: vm_image_build
trigger: pull_request
copr_chroot: fedora-39-x86_64
image_request:
architecture: x86_64
image_type: aws
Expand All @@ -26,26 +21,6 @@ jobs:
options:
share_with_accounts:
- "727920394381" # ARR
- "125523088429" # Testing Farm
image_customizations:
packages: [hello-world]
image_distribution: fedora-38
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: propose_downstream
trigger: release
packit_instances: ["stg"]
dist_git_branches:
- fedora-all
image_distribution: fedora-39

0 comments on commit cb402ae

Please sign in to comment.