Skip to content

Commit

Permalink
add CRDs check and update CRDs (#167)
Browse files Browse the repository at this point in the history
* add CRDs check

* update CRDs
  • Loading branch information
laverya authored May 6, 2024
1 parent 8044c76 commit 7788646
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,20 @@ jobs:
push: true
tags: |
ttl.sh/embedded-cluster-operator-image:dev-${{ env.SHORT_SHA }}
check-crds:
name: Check CRDs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Make Manifests
run: make manifests
- name: Check CRDs
run: |
git diff --exit-code --name-only
if [ $? -eq 0 ]; then
echo "CRDs are up to date"
else
echo "CRDs are out of date"
exit 1
fi
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,11 @@ spec:
- name
type: object
type: array
pendingCharts:
description: PendingCharts holds the list of charts that are being created or updated.
items:
type: string
type: array
reason:
description: Reason holds the reason for the current state.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,12 @@ spec:
- name
type: object
type: array
pendingCharts:
description: PendingCharts holds the list of charts that are being
created or updated.
items:
type: string
type: array
reason:
description: Reason holds the reason for the current state.
type: string
Expand Down

0 comments on commit 7788646

Please sign in to comment.