Skip to content

Commit

Permalink
Works again, let's work backwards
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemnoel committed Sep 10, 2024
1 parent 80f6e02 commit 9ae9342
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/tests-cluster-chainsaw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
with:
fetch-depth: 0

# - name: Set ParadeDB Version to Latest
# working-directory: charts/cluster/
# env:
# GH_TOKEN: ${{ secrets.GHA_CREATE_RELEASE_PAT }}
# run: |
# LATEST_TAG=$(curl -s https://api.github.com/repos/paradedb/paradedb/tags | jq -r '.[0].name')
# APP_VERSION=${LATEST_TAG#v}
# sed -i "s/^[[:space:]]*paradedb: .*/ paradedb: \"$APP_VERSION\"/" values.yaml
# sed -i "s/^version: .*/version: ${{ vars.CHART_VERSION_MAJOR }}.${{ vars.CHART_VERSION_MINOR }}.${{ vars.CHART_VERSION_PATCH }}/" Chart.yaml
# echo "values.yaml:"
# cat values.yaml
# echo "----------------------------------------"
# echo "Chart.yaml:"
# cat Chart.yaml
- name: Set ParadeDB Version to Latest
working-directory: charts/cluster/
env:
GH_TOKEN: ${{ secrets.GHA_CREATE_RELEASE_PAT }}
run: |
LATEST_TAG=$(curl -s https://api.github.com/repos/paradedb/paradedb/tags | jq -r '.[0].name')
APP_VERSION=${LATEST_TAG#v}
sed -i "s/^[[:space:]]*paradedb: .*/ paradedb: \"$APP_VERSION\"/" values.yaml
sed -i "s/^version: .*/version: ${{ vars.CHART_VERSION_MAJOR }}.${{ vars.CHART_VERSION_MINOR }}.${{ vars.CHART_VERSION_PATCH }}/" Chart.yaml
echo "values.yaml:"
cat values.yaml
echo "----------------------------------------"
echo "Chart.yaml:"
cat Chart.yaml
- name: Setup kind
uses: ./.github/actions/setup-kind
Expand Down
4 changes: 2 additions & 2 deletions charts/cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
# limitations under the License.
#
apiVersion: v2
name: cluster
name: paradedb
description: Deploys and manages a ParadeDB CloudNativePG cluster and its associated resources.
icon: https://raw.githubusercontent.com/paradedb/paradedb/main/docs/logo/light.svg
type: application
version: 0.0.11
version: 0.7.0
sources:
- https://github.com/paradedb/charts
keywords:
Expand Down
9 changes: 9 additions & 0 deletions charts/cluster/examples/paradedb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
type: paradedb
mode: standalone
version:
postgresql: "16.3"
paradedb: "0.9.4"
cluster:
instances: 1
backups:
enabled: false
2 changes: 1 addition & 1 deletion charts/cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version:
# -- If using PostGIS, specify the version
postgis: "3.4"
# -- If using ParadeDB, specify the version
paradedb: "0.9.3"
paradedb: "0.0.0"

###
# -- Cluster mode of operation. Available modes:
Expand Down

0 comments on commit 9ae9342

Please sign in to comment.