Skip to content

Commit bdfe3d7

Browse files
alecronCopilotS3B4SZ17tembleking
authored
refactor: Remove config file
Co-authored-by: Copilot <[email protected]> Co-authored-by: S3B4SZ17 <[email protected]> Co-authored-by: Fede Barcelona <[email protected]>
1 parent b771d53 commit bdfe3d7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1965
-1946
lines changed

.github/workflows/helm_test.yaml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/publish.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,4 @@ jobs:
103103
run: |
104104
echo "## Release Summary
105105
- Tag: ${{ steps.semantic_release.outputs.tag }}
106-
- Docker Image: ghcr.io/sysdiglabs/sysdig-mcp-server:v${{ needs.push_to_registry.outputs.version }}" >> $GITHUB_STEP_SUMMARY
107-
108-
test_helm_chart:
109-
name: Test Helm Chart
110-
needs: push_to_registry
111-
permissions:
112-
contents: read # required for actions/checkout
113-
pull-requests: write # required for creating a PR with the chart changes
114-
uses: ./.github/workflows/helm_test.yaml
115-
secrets: inherit
106+
- Docker Image: ghcr.io/sysdiglabs/sysdig-mcp-server:v${{ needs.push_to_registry.outputs.version }}" >> $GITHUB_STEP_SUMMARY

.github/workflows/test.yaml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -45,57 +45,3 @@ jobs:
4545

4646
- name: Run Unit Tests
4747
run: make test
48-
49-
check_version:
50-
name: Check Version
51-
runs-on: ubuntu-latest
52-
needs: test
53-
permissions:
54-
contents: write # required for creating a tag
55-
steps:
56-
- name: Check out repository
57-
uses: actions/checkout@v4
58-
with:
59-
ref: ${{ github.sha }} # required for better experience using pre-releases
60-
fetch-depth: '0' # Required due to the way Git works, without it this action won't be able to find any or the correct tags
61-
62-
- name: Extract current version
63-
id: pyproject_version
64-
run: |
65-
TAG=v$(grep 'version =' pyproject.toml | sed -e 's/version = "\(.*\)"/\1/')
66-
echo "TAG=$TAG" >> "$GITHUB_OUTPUT"
67-
68-
- name: Get branch ref name
69-
id: branch_ref
70-
run: |
71-
BRANCH_NAME=${{ github.base_ref || github.ref_name }}
72-
echo "$BRANCH_NAME"
73-
echo "BRANCH_NAME=$BRANCH_NAME" >> "$GITHUB_OUTPUT"
74-
75-
- name: Get tag version
76-
id: semantic_release
77-
uses: anothrNick/[email protected]
78-
env:
79-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80-
DEFAULT_BUMP: "patch"
81-
TAG_CONTEXT: 'repo'
82-
WITH_V: true
83-
DRY_RUN: true
84-
85-
- name: Compare versions
86-
run: |
87-
echo "Current version: ${{ steps.pyproject_version.outputs.TAG }}"
88-
echo "New version: ${{ steps.semantic_release.outputs.tag }}"
89-
if [ "${{ steps.pyproject_version.outputs.TAG }}" != "${{ steps.semantic_release.outputs.tag }}" ]; then
90-
echo "### Version mismatch detected! :warning:
91-
Current pyproject version: ${{ steps.pyproject_version.outputs.TAG }}
92-
New Tag version: **${{ steps.semantic_release.outputs.tag }}**
93-
Current Tag: ${{ steps.semantic_release.outputs.old_tag }}
94-
Please update the version in pyproject.toml." >> $GITHUB_STEP_SUMMARY
95-
exit 1
96-
else
97-
echo "### Version match confirmed! :rocket:
98-
Current pyproject version: ${{ steps.pyproject_version.outputs.TAG }}
99-
New Tag version: **${{ steps.semantic_release.outputs.tag }}**
100-
The version is up-to-date." >> $GITHUB_STEP_SUMMARY
101-
fi

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ WORKDIR /app
2929
RUN apt update && apt install -y git
3030
# Copy the application from the builder
3131
COPY --from=builder --chown=app:app /tmp/sysdig_mcp_server.tar.gz /app
32-
COPY --from=builder --chown=app:app /app/app_config.yaml /app
3332

3433
RUN pip install /app/sysdig_mcp_server.tar.gz
3534

0 commit comments

Comments
 (0)