Rename Helm chart to api7ee-demo-k8s

- Changed chart name from api7ee to api7ee-demo-k8s in Chart.yaml
- Renamed helm/api7ee directory to helm/api7ee-demo-k8s
- Updated all references in build.yml workflow
- Updated all references in helm-release.yml workflow
- Updated main README.md with new chart name
- Updated Helm chart README with new chart name
- Verified all old references have been replaced
- Chart packages correctly as api7ee-demo-k8s-{version}.tgz
This commit is contained in:
d.viti
2025-10-03 02:31:23 +02:00
parent fb396ac71a
commit f9d529ac87
27 changed files with 32 additions and 32 deletions

View File

@@ -97,26 +97,26 @@ jobs:
- name: Lint Helm chart
run: |
helm lint helm/api7ee/
helm lint helm/api7ee-demo-k8s/
- name: Package Helm chart
run: |
# Get version from Chart.yaml
CHART_VERSION=$(grep '^version:' helm/api7ee/Chart.yaml | awk '{print $2}')
CHART_VERSION=$(grep '^version:' helm/api7ee-demo-k8s/Chart.yaml | awk '{print $2}')
echo "Chart version: ${CHART_VERSION}"
# Create a temporary copy of the chart for packaging
cp -r helm/api7ee /tmp/api7ee-chart
cp -r helm/api7ee-demo-k8s /tmp/api7ee-demo-k8s-chart
# Update image registry and repository in the copy's values.yaml
sed -i "s|registry: gitea.server_url|registry: ${{ gitea.server_url }}|g" /tmp/api7ee-chart/values.yaml
sed -i "s|repository: gitea.repository/|repository: ${{ gitea.repository }}/|g" /tmp/api7ee-chart/values.yaml
sed -i "s|registry: gitea.server_url|registry: ${{ gitea.server_url }}|g" /tmp/api7ee-demo-k8s-chart/values.yaml
sed -i "s|repository: gitea.repository/|repository: ${{ gitea.repository }}/|g" /tmp/api7ee-demo-k8s-chart/values.yaml
# Package the modified chart
helm package /tmp/api7ee-chart --version ${CHART_VERSION}
helm package /tmp/api7ee-demo-k8s-chart --version ${CHART_VERSION}
# Store chart filename for later use
echo "CHART_FILE=api7ee-${CHART_VERSION}.tgz" >> $GITHUB_ENV
echo "CHART_FILE=api7ee-demo-k8s-${CHART_VERSION}.tgz" >> $GITHUB_ENV
- name: Push Helm chart to Gitea Package Registry
run: |
@@ -142,4 +142,4 @@ jobs:
echo " helm repo update"
echo ""
echo "To install the chart:"
echo " helm install my-api7ee api7ee/api7ee"
echo " helm install my-api7ee api7ee/api7ee-demo-k8s"