Skip to content

Commit

Permalink
Add bundle check to PR workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
  • Loading branch information
msherif1234 committed Jun 6, 2024
1 parent 512ed2a commit 1861e30
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ jobs:
fail_ci_if_error: true
verbose: true

bundle-check:
runs-on: ubuntu-latest
name: Checking bundle up-to-date
steps:
- name: install make
run: sudo apt-get install make
- name: checkout
uses: actions/checkout@v3
- name: Verify generated bundle manifest
run: |
make bundle
git diff --exit-code -I'^ createdAt: ' bundle
kubernetes-integration-tests:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -113,6 +126,7 @@ jobs:
[
check-license,
build-lint-test,
bundle-check,
kubernetes-integration-tests,
]
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions bundle/manifests/bpfman-config_v1_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ data:
millisec_delay = 10000
kind: ConfigMap
metadata:
annotations: {}
labels: {}
name: bpfman-config

0 comments on commit 1861e30

Please sign in to comment.