Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CI runs on mainline #237

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/review-checks.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: Review-checks
name: Validation

# If a pull-request is pushed then cancel all previously running jobs related
# to that pull-request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

on: [pull_request]
on:
push:
branches:
- python-3
pull_request:

jobs:
check-docs:
validate-docs:
env:
# https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
Expand Down
21 changes: 18 additions & 3 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ notifications:
successful_build: false

jobs:
- job: copr_build
- &copr_rhel_8_9
job: copr_build
trigger: pull_request
targets:
- epel-8-x86_64
- epel-9-x86_64
identifier: rhel_8_9

- job: copr_build
- &copr_fedora
job: copr_build
trigger: pull_request
targets:
- fedora-all-x86_64
Expand All @@ -30,7 +32,8 @@ jobs:
# disable broken unit tests
- sed -i '/make check/d' beaker.spec

- job: copr_build
- &copr_rhel_7
job: copr_build
trigger: pull_request
targets:
epel-7-x86_64:
Expand All @@ -43,3 +46,15 @@ jobs:
# Use gevent from base repositories during packit builds
# gevent112 is our custom build with some backports to improve socket management
- sed -i 's/python2-gevent112/python-gevent/g' beaker.spec
- <<: *copr_rhel_8_9
trigger: commit
branch: python-3

- <<: *copr_fedora
trigger: commit
branch: python-3

- <<: *copr_rhel_7
trigger: commit
branch: python-3

Loading