diff --git a/.github/workflows/artifact-release.yml b/.github/workflows/artifact-release.yml index ddc5f5da2b..0ed21d6918 100644 --- a/.github/workflows/artifact-release.yml +++ b/.github/workflows/artifact-release.yml @@ -206,10 +206,12 @@ jobs: TRIMMED_VERSION="${VERSION/#$V_PREFIX}" echo "$TRIMMED_VERSION" echo "CHART_VERSION=$TRIMMED_VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=false" >> $GITHUB_ENV else VERSION="${{ steps.next_pre_version.outputs.version }}" echo "$VERSION" echo "CHART_VERSION=$VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=true" >> $GITHUB_ENV fi - name: Setup Chart.yaml @@ -221,6 +223,8 @@ jobs: echo "$filepath" yq -i '.version = strenv(CHART_VERSION)' "$filepath" yq -i '.appVersion = strenv(CHART_VERSION)' "$filepath" + + yq -i '.annotations."artifacthub.io/prerelease" = strenv(IS_PRERELEASE)' "$filepath" done for filepath in $(find backend/charts/*/Chart.yaml -type f -name 'Chart.yaml') ; do @@ -283,10 +287,12 @@ jobs: TRIMMED_VERSION="${VERSION/#$V_PREFIX}" echo "$TRIMMED_VERSION" echo "CHART_VERSION=$TRIMMED_VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=false" >> $GITHUB_ENV else VERSION="${{ steps.next_pre_version.outputs.version }}" echo "$VERSION" echo "CHART_VERSION=$VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=true" >> $GITHUB_ENV fi - name: Setup Chart.yaml @@ -298,6 +304,8 @@ jobs: echo "$filepath" yq -i '.version = strenv(CHART_VERSION)' "$filepath" yq -i '.appVersion = strenv(CHART_VERSION)' "$filepath" + + yq -i '.annotations."artifacthub.io/prerelease" = strenv(IS_PRERELEASE)' "$filepath" done for filepath in $(find frontend/apps/web/charts/*/Chart.yaml -type f -name 'Chart.yaml') ; do @@ -360,10 +368,12 @@ jobs: TRIMMED_VERSION="${VERSION/#$V_PREFIX}" echo "$TRIMMED_VERSION" echo "CHART_VERSION=$TRIMMED_VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=false" >> $GITHUB_ENV else VERSION="${{ steps.next_pre_version.outputs.version }}" echo "$VERSION" echo "CHART_VERSION=$VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=true" >> $GITHUB_ENV fi - name: Setup Chart.yaml @@ -375,6 +385,8 @@ jobs: echo "$filepath" yq -i '.version = strenv(CHART_VERSION)' "$filepath" yq -i '.appVersion = strenv(CHART_VERSION)' "$filepath" + + yq -i '.annotations."artifacthub.io/prerelease" = strenv(IS_PRERELEASE)' "$filepath" done for filepath in $(find worker/charts/*/Chart.yaml -type f -name 'Chart.yaml') ; do @@ -439,10 +451,12 @@ jobs: TRIMMED_VERSION="${VERSION/#$V_PREFIX}" echo "$TRIMMED_VERSION" echo "CHART_VERSION=$TRIMMED_VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=false" >> $GITHUB_ENV else VERSION="${{ steps.next_pre_version.outputs.version }}" echo "$VERSION" echo "CHART_VERSION=$VERSION" >> $GITHUB_ENV + echo "IS_PRERELEASE=true" >> $GITHUB_ENV fi - name: Setup Chart.yaml @@ -454,6 +468,8 @@ jobs: echo "$filepath" yq -i '.version = strenv(CHART_VERSION)' "$filepath" yq -i '.appVersion = strenv(CHART_VERSION)' "$filepath" + + yq -i '.annotations."artifacthub.io/prerelease" = strenv(IS_PRERELEASE)' "$filepath" done for filepath in $(find charts/*/Chart.yaml -type f -name 'Chart.yaml') ; do diff --git a/backend/charts/api/Chart.yaml b/backend/charts/api/Chart.yaml index 47b8d8be8c..3e590df14f 100644 --- a/backend/charts/api/Chart.yaml +++ b/backend/charts/api/Chart.yaml @@ -1,6 +1,10 @@ apiVersion: v2 name: api description: A Helm chart for the Neosync Backend API +home: https://www.neosync.dev +sources: + - https://github.com/nucleuscloud/neosync +icon: https://assets.nucleuscloud.com/neosync/newbrand/logo_small.png # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives @@ -14,6 +18,6 @@ type: application # # This is changed automatically to the tag by the github workflow. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 'v0' +version: "v0" -appVersion: 'v0' +appVersion: "v0" diff --git a/backend/charts/api/README.md b/backend/charts/api/README.md index f2e54d6bd4..c9689328e1 100644 --- a/backend/charts/api/README.md +++ b/backend/charts/api/README.md @@ -2,6 +2,12 @@ A Helm chart for the Neosync Backend API +**Homepage:** + +## Source Code + +* + ## Values | Key | Type | Default | Description | diff --git a/charts/neosync/Chart.yaml b/charts/neosync/Chart.yaml index e6912a5f6b..57e0838d81 100644 --- a/charts/neosync/Chart.yaml +++ b/charts/neosync/Chart.yaml @@ -1,6 +1,10 @@ apiVersion: v2 name: neosync -description: A Helm chart for Neosync +description: A Helm chart for Neosync that contains the api, app, and worker +home: https://www.neosync.dev +sources: + - https://github.com/nucleuscloud/neosync +icon: https://assets.nucleuscloud.com/neosync/newbrand/logo_small.png # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives diff --git a/charts/neosync/README.md b/charts/neosync/README.md index ccaf65f1a0..8033e4ee86 100644 --- a/charts/neosync/README.md +++ b/charts/neosync/README.md @@ -1,6 +1,12 @@ # neosync -A Helm chart for Neosync +A Helm chart for Neosync that contains the api, app, and worker + +**Homepage:** + +## Source Code + +* ## Requirements diff --git a/frontend/apps/web/charts/app/Chart.yaml b/frontend/apps/web/charts/app/Chart.yaml index d948498cf5..d7ed80f021 100644 --- a/frontend/apps/web/charts/app/Chart.yaml +++ b/frontend/apps/web/charts/app/Chart.yaml @@ -1,6 +1,10 @@ apiVersion: v2 name: app description: A Helm chart for the Neosync App +home: https://www.neosync.dev +sources: + - https://github.com/nucleuscloud/neosync +icon: https://assets.nucleuscloud.com/neosync/newbrand/logo_small.png # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives diff --git a/frontend/apps/web/charts/app/README.md b/frontend/apps/web/charts/app/README.md index fae08bd707..ce4cbfb7fc 100644 --- a/frontend/apps/web/charts/app/README.md +++ b/frontend/apps/web/charts/app/README.md @@ -2,6 +2,12 @@ A Helm chart for the Neosync App +**Homepage:** + +## Source Code + +* + ## Values | Key | Type | Default | Description | diff --git a/worker/charts/worker/Chart.yaml b/worker/charts/worker/Chart.yaml index b2a6794d2d..cec8b3101f 100644 --- a/worker/charts/worker/Chart.yaml +++ b/worker/charts/worker/Chart.yaml @@ -1,6 +1,10 @@ apiVersion: v2 name: worker description: A Helm chart for the Neosync Temporal Worker +home: https://www.neosync.dev +sources: + - https://github.com/nucleuscloud/neosync +icon: https://assets.nucleuscloud.com/neosync/newbrand/logo_small.png # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives @@ -14,6 +18,6 @@ type: application # # This is changed automatically to the tag by the github workflow. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 'v0' +version: "v0" -appVersion: 'v0' +appVersion: "v0" diff --git a/worker/charts/worker/README.md b/worker/charts/worker/README.md index f693e0698d..75b17cc411 100644 --- a/worker/charts/worker/README.md +++ b/worker/charts/worker/README.md @@ -2,6 +2,12 @@ A Helm chart for the Neosync Temporal Worker +**Homepage:** + +## Source Code + +* + ## Values | Key | Type | Default | Description |