Skip to content

Commit ce93a6f

Browse files
committed
fix(deployment): Fix naming and some conditions
1 parent 22e57ce commit ce93a6f

File tree

17 files changed

+19
-1414
lines changed

17 files changed

+19
-1414
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ jobs:
8181
helm template mcp-server ./helm/mcp-server \
8282
--values ./helm/mcp-server/examples/values-production.yaml
8383
84-
- name: Validate secops values
85-
run: |
86-
echo "Validating helm/mcp-server/examples/values-secops.yaml..."
87-
helm template mcp-server ./helm/mcp-server \
88-
--values ./helm/mcp-server/examples/values-secops.yaml
89-
9084
- name: Lint Helm Chart
9185
run: |
9286
echo "Linting Helm chart..."
@@ -108,7 +102,7 @@ jobs:
108102

109103
- name: Install Helm Unittest Plugin
110104
run: |
111-
helm plugin install https://github.com/helm-unittest/helm-unittest.git --verify=false
105+
helm plugin install https://github.com/helm-unittest/helm-unittest.git
112106
113107
- name: Run Helm unit tests
114108
run: |

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,25 +109,27 @@ jobs:
109109
-p ${{ secrets.GITHUB_TOKEN }}
110110
111111
CHART_VERSION=$(grep "^version:" ./helm/mcp-server/Chart.yaml | cut -d' ' -f2 | tr -d '"')
112+
REPO_OWNER=$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')
112113
113114
helm push "${{ steps.package.outputs.chart-path }}" \
114-
oci://${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts
115+
oci://${{ env.REGISTRY }}/${REPO_OWNER}/helm-charts
115116
116-
echo "✅ Chart published to: ${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts:${CHART_VERSION}"
117+
echo "✅ Chart published to: ${{ env.REGISTRY }}/${REPO_OWNER}/helm-charts:${CHART_VERSION}"
117118
118119
- name: Create summary
119120
run: |
120121
CHART_VERSION=$(grep "^version:" ./helm/mcp-server/Chart.yaml | cut -d' ' -f2 | tr -d '"')
122+
REPO_OWNER=$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')
121123
echo "## ✅ Helm Chart Released" >> $GITHUB_STEP_SUMMARY
122124
echo "" >> $GITHUB_STEP_SUMMARY
123125
echo "Chart: mcp-server" >> $GITHUB_STEP_SUMMARY
124126
echo "Version: ${CHART_VERSION}" >> $GITHUB_STEP_SUMMARY
125127
echo "" >> $GITHUB_STEP_SUMMARY
126-
echo "Published to: \`oci://${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts\`" >> $GITHUB_STEP_SUMMARY
128+
echo "Published to: \`oci://${{ env.REGISTRY }}/${REPO_OWNER}/helm-charts\`" >> $GITHUB_STEP_SUMMARY
127129
echo "" >> $GITHUB_STEP_SUMMARY
128130
echo "Install with:" >> $GITHUB_STEP_SUMMARY
129131
echo '```bash' >> $GITHUB_STEP_SUMMARY
130-
echo "helm pull oci://${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts/mcp-server --version ${CHART_VERSION}" >> $GITHUB_STEP_SUMMARY
132+
echo "helm pull oci://${{ env.REGISTRY }}/${REPO_OWNER}/helm-charts/mcp-server --version ${CHART_VERSION}" >> $GITHUB_STEP_SUMMARY
131133
echo '```' >> $GITHUB_STEP_SUMMARY
132134
133135
publish-to-pypi:

0 commit comments

Comments
 (0)