Skip to content
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: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
version: ${{ steps.version.outputs.version }}
values_version: ${{ steps.version.outputs.values_version }}
chart_version: ${{ steps.version.outputs.chart_version }}
catalog_version: ${{ steps.version.outputs.catalog_version }}
steps:
- name: 🛎️ Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand All @@ -29,6 +30,7 @@ jobs:
echo "version=$(make print-VERSION | cut -d'=' -f2)" >> $GITHUB_OUTPUT
echo "values_version=$(yq '.deployment.image.tag' chart/values.yaml)" >> $GITHUB_OUTPUT
echo "chart_version=$(yq '.appVersion' chart/Chart.yaml)" >> $GITHUB_OUTPUT
echo "catalog_version=$(yq '.spec.image' deploy/catalog_source.yaml | cut -d':' -f2)" >> $GITHUB_OUTPUT
echo $GITHUB_OUTPUT

check:
Expand All @@ -42,6 +44,7 @@ jobs:
echo "values_version: ${{ needs.release.outputs.values_version }}"
echo "chart_version: ${{ needs.release.outputs.chart_version }}"
echo "tag_name: ${{ github.event.release.tag_name }}"
echo "catalog_version: ${{ needs.release.outputs.catalog_version }}"

if [ "${{ github.event.release.tag_name }}" != "${{ needs.release.outputs.version }}" ]; then
echo "Version in Makefile does not match release tag"
Expand All @@ -58,6 +61,11 @@ jobs:
exit 1
fi

if [ "${{ github.event.release.tag_name }}" != "${{ needs.release.outputs.catalog_version }}" ]; then
echo "Version in deploy/catalog_source.yaml does not match release tag"
exit 1
fi


build:
name: 🛠️ Build Operator images
Expand Down Expand Up @@ -88,4 +96,4 @@ jobs:
make bundle-build bundle-push
- name: 🏗️ Build and push Operator catalog
run: |
make catalog-build catalog-push
make catalog-build catalog-push
62 changes: 0 additions & 62 deletions chart/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion deploy/catalog_source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
namespace: olm
spec:
sourceType: grpc
image: ghcr.io/inditextech/k8s-overcommit-operator-catalog:1.1.4
image: ghcr.io/inditextech/k8s-overcommit-operator-catalog:1.0.1
displayName: K8s Overcommit Operator Catalog
publisher: Inditex Tech
62 changes: 0 additions & 62 deletions deploy/chart/1.0.0/README.md

This file was deleted.

62 changes: 0 additions & 62 deletions deploy/chart/1.0.1/README.md

This file was deleted.