Skip to content

Commit

Permalink
Merge pull request #1014 from mulkieran/packit-cleanup
Browse files Browse the repository at this point in the history
Tidy comments out of .packit.yaml
  • Loading branch information
mulkieran authored Aug 25, 2023
2 parents 2d74681 + b35994c commit a90830c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- 'LICENSE'
- 'docs/**'
- 'shell-completion/**'
- '.packit.yaml'
pull_request:
branches:
- master
Expand All @@ -21,6 +22,7 @@ on:
- 'LICENSE'
- 'docs/**'
- 'shell-completion/**'
- '.packit.yaml'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
17 changes: 0 additions & 17 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: ./distro/stratis-cli.spec

# add or remove files that should be synced
files_to_sync:
- ./distro/stratis-cli.spec
- .packit.yaml

# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: stratis-cli
# downstream (Fedora) RPM package name
downstream_package_name: stratis-cli


# Release sufix for development builds can be redefined.
# (https://packit.dev/docs/configuration/#release_suffix)
# release_suffix: "dev.{PACKIT_PROJECT_BRANCH}"

actions:
# = User-defined hooks or redefined parts of the workflow.
# (https://packit.dev/docs/actions/)
post-upstream-clone:
- "mkdir distro"
- "wget https://raw.githubusercontent.com/stratis-storage/ci/master/mockbuild_test/stratis-cli.spec -O distro/stratis-cli.spec"
Expand All @@ -34,13 +20,10 @@ actions:
- "python3 setup.py --version"

srpm_build_deps:
# = Dependencies required to perform an SRPM build in Copr.
- python3-pip # "python3 setup.py --version" needs it
- wget

jobs:
# Other jobs can be found here:
# https://packit.dev/docs/configuration/#supported-jobs
- job: copr_build
trigger: pull_request
manual_trigger: true
Expand Down

0 comments on commit a90830c

Please sign in to comment.