Skip to content

Commit 766f3c2

Browse files
committed
feat: first public version
0 parents  commit 766f3c2

File tree

482 files changed

+34993
-0
lines changed

Some content is hidden

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

482 files changed

+34993
-0
lines changed

.github/dependabot.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "tuesday"
9+
time: "12:00"
10+
groups:
11+
github-actions-deps:
12+
patterns:
13+
- "*"
14+
commit-message:
15+
prefix: "deps(github-actions):"
16+
reviewers:
17+
- kop
18+
19+
- package-ecosystem: "gomod"
20+
directory: "/"
21+
schedule:
22+
interval: "weekly"
23+
day: "tuesday"
24+
time: "12:00"
25+
groups:
26+
go-deps:
27+
patterns:
28+
- "*"
29+
commit-message:
30+
prefix: "deps(gomod):"
31+
reviewers:
32+
- kop

.github/release-please/config.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "go",
4+
"changelog-sections": [
5+
{ "type": "feat", "section": "Features" },
6+
{ "type": "fix", "section": "Bug Fixes" },
7+
{ "type": "perf", "section": "Performance Improvements" },
8+
{ "type": "deps", "section": "Dependencies" },
9+
{ "type": "revert", "section": "Reverts" },
10+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": true },
11+
{ "type": "docs", "section": "Documentation", "hidden": true },
12+
{ "type": "style", "section": "Styles", "hidden": true },
13+
{ "type": "refactor", "section": "Code Refactoring", "hidden": true }
14+
],
15+
"packages": {
16+
".": {}
17+
},
18+
"extra-files": [
19+
"README.md"
20+
]
21+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.1"
3+
}

.github/workflows/pr.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: pr
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
10+
11+
jobs:
12+
13+
lint-semantic:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
pull-requests: read
17+
steps:
18+
- uses: amannn/action-semantic-pull-request@v5
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
types: |
23+
feat
24+
fix
25+
perf
26+
deps
27+
revert
28+
chore
29+
docs
30+
style
31+
refactor

.github/workflows/release.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
10+
release-please:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
issues: write
15+
pull-requests: write
16+
outputs:
17+
release_created: ${{ steps.release.outputs.release_created }}
18+
steps:
19+
- uses: googleapis/release-please-action@v4
20+
id: release
21+
with:
22+
config-file: .github/release-please/config.json
23+
manifest-file: .github/release-please/manifest.json
24+
25+
go-releaser:
26+
runs-on: ubuntu-latest
27+
needs:
28+
- release-please
29+
if: ${{ needs.release-please.outputs.release_created == 'true' }}
30+
permissions:
31+
contents: write
32+
packages: write
33+
id-token: write
34+
steps:
35+
36+
- name: Checkout
37+
uses: actions/checkout@v4
38+
with:
39+
fetch-depth: 0
40+
41+
- name: Set up Go
42+
uses: actions/setup-go@v5
43+
with:
44+
go-version-file: go.mod
45+
46+
- name: Login to GitHub Container Registry
47+
uses: docker/login-action@v3
48+
with:
49+
registry: ghcr.io
50+
username: ${{ github.actor }}
51+
password: ${{ secrets.GITHUB_TOKEN }}
52+
53+
- name: Run GoReleaser
54+
uses: goreleaser/goreleaser-action@v6
55+
with:
56+
version: "~> v2"
57+
args: release --clean
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/snapshot.yaml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: snapshot
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- main
7+
8+
jobs:
9+
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Set up Go
20+
uses: actions/setup-go@v5
21+
with:
22+
go-version-file: go.mod
23+
24+
- name: Run tests
25+
run: |
26+
go test \
27+
-race \
28+
-count=1 \
29+
-vet=all \
30+
-timeout 3m \
31+
-coverpkg=./... \
32+
-covermode=atomic \
33+
-coverprofile=coverage.out \
34+
./...
35+
go tool cover \
36+
-html=coverage.out \
37+
-o coverage.html
38+
39+
- name: Upload assets
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: coverage
43+
path: coverage.*
44+
45+
build:
46+
runs-on: ubuntu-latest
47+
steps:
48+
49+
- name: Checkout
50+
uses: actions/checkout@v4
51+
with:
52+
fetch-depth: 0
53+
54+
- name: Set up Go
55+
uses: actions/setup-go@v5
56+
with:
57+
go-version-file: go.mod
58+
59+
- name: Run GoReleaser
60+
uses: goreleaser/goreleaser-action@v6
61+
with:
62+
version: "~> v2"
63+
args: release --clean --snapshot
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
67+
- name: Upload assets
68+
uses: actions/upload-artifact@v4
69+
with:
70+
name: dist
71+
path: dist/*

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea/
2+
dist/

.goreleaser.yaml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
version: 2
2+
project_name: firebolt-mcp-server
3+
4+
before:
5+
hooks:
6+
- go mod tidy
7+
8+
builds:
9+
- main: ./cmd/firebolt-mcp-server
10+
mod_timestamp: "{{ .CommitTimestamp }}"
11+
buildmode: pie
12+
env:
13+
- CGO_ENABLED=0
14+
goos:
15+
- linux
16+
- darwin
17+
- windows
18+
goarch:
19+
- amd64
20+
- arm64
21+
22+
archives:
23+
- formats: [tar.gz]
24+
# This name template makes the OS and Arch
25+
# compatible with the results of `uname`.
26+
name_template: >-
27+
{{ .ProjectName }}-
28+
{{- title .Os }}-
29+
{{- if eq .Arch "amd64" }}x86_64
30+
{{- else if eq .Arch "386" }}i386
31+
{{- else }}{{ .Arch }}{{ end }}
32+
{{- if .Arm }}v{{ .Arm }}{{ end }}
33+
# Use zip for windows archives
34+
format_overrides:
35+
- goos: windows
36+
formats: [zip]
37+
38+
dockers:
39+
- use: buildx
40+
image_templates:
41+
- ghcr.io/firebolt-db/mcp-server:{{ .Version }}-amd64
42+
build_flag_templates:
43+
- --platform=linux/amd64
44+
- --label=org.opencontainers.image.title={{ .ProjectName }}
45+
- --label=org.opencontainers.image.description={{ .ProjectName }}
46+
- --label=org.opencontainers.image.url=https://github.com/firebolt-db/mcp-server
47+
- --label=org.opencontainers.image.source=https://github.com/firebolt-db/mcp-server
48+
- --label=org.opencontainers.image.version={{ .Version }}
49+
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
50+
- --label=org.opencontainers.image.revision={{ .FullCommit }}
51+
- --label=org.opencontainers.image.licenses=Apache-2.0
52+
- use: buildx
53+
image_templates:
54+
- ghcr.io/firebolt-db/mcp-server:{{ .Version }}-arm64v8
55+
goarch: arm64
56+
build_flag_templates:
57+
- --platform=linux/arm64/v8
58+
- --label=org.opencontainers.image.title={{ .ProjectName }}
59+
- --label=org.opencontainers.image.description={{ .ProjectName }}
60+
- --label=org.opencontainers.image.url=https://github.com/firebolt-db/mcp-server
61+
- --label=org.opencontainers.image.source=https://github.com/firebolt-db/mcp-server
62+
- --label=org.opencontainers.image.version={{ .Version }}
63+
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
64+
- --label=org.opencontainers.image.revision={{ .FullCommit }}
65+
- --label=org.opencontainers.image.licenses=Apache-2.0
66+
67+
docker_manifests:
68+
- name_template: ghcr.io/firebolt-db/mcp-server:latest
69+
image_templates:
70+
- ghcr.io/firebolt-db/mcp-server:{{ .Version }}-amd64
71+
- ghcr.io/firebolt-db/mcp-server:{{ .Version }}-arm64v8
72+
- name_template: ghcr.io/firebolt-db/mcp-server:{{ .Version }}
73+
image_templates:
74+
- ghcr.io/firebolt-db/mcp-server:{{ .Version }}-amd64
75+
- ghcr.io/firebolt-db/mcp-server:{{ .Version }}-arm64v8
76+
77+
release:
78+
replace_existing_artifacts: true
79+
mode: keep-existing

.legitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cmd/docs-scrapper/fireboltdocs/**

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Changelog
2+
3+
## [0.4.1](https://github.com/firebolt-db/mcp-server/compare/v0.4.0...v0.4.1) (2025-04-08)
4+
5+
6+
### Bug Fixes
7+
8+
* version management and docker ([4f98220](https://github.com/firebolt-db/mcp-server/commit/4f98220cccce7f49a041c9b22d81998af000c040))
9+
10+
## [0.4.0](https://github.com/firebolt-db/mcp-server/compare/v0.3.0...v0.4.0) (2025-04-08)
11+
12+
13+
### Features
14+
15+
* set version properly ([e39a519](https://github.com/firebolt-db/mcp-server/commit/e39a519bc42f8f13da97aa5e8aad957f572ad771))
16+
17+
## [0.3.0](https://github.com/firebolt-db/mcp-server/compare/v0.2.0...v0.3.0) (2025-04-08)
18+
19+
20+
### Features
21+
22+
* update docs ([f6c43b7](https://github.com/firebolt-db/mcp-server/commit/f6c43b7341585040c9f6fcfa1eba87df2107cdd2))
23+
24+
## [0.2.0](https://github.com/firebolt-db/mcp-server/compare/v0.1.0...v0.2.0) (2025-04-08)
25+
26+
27+
### Features
28+
29+
* **ci:** add tests and coverage ([15d84df](https://github.com/firebolt-db/mcp-server/commit/15d84df098cf1e136bd23436752d68149abba51b))
30+
* **ci:** more jobs ([6d851a5](https://github.com/firebolt-db/mcp-server/commit/6d851a52016e403f528f5d72b938d6f7ff0a9850))
31+
* **ci:** update ([b8d0893](https://github.com/firebolt-db/mcp-server/commit/b8d0893d78aace7fcc320b00619a0b3a8d668140))
32+
* **ci:** update configs ([d1ec012](https://github.com/firebolt-db/mcp-server/commit/d1ec012cf7f110105774ae14de22fa654541bac7))
33+
* **ci:** update jobs ([74e6bfa](https://github.com/firebolt-db/mcp-server/commit/74e6bfab25fd73b5ccd8befad957db45874b358a))
34+
* **ci:** update jobs ([2ad551c](https://github.com/firebolt-db/mcp-server/commit/2ad551cd2d083e4e8b205d924bb2fbbda1d5031d))
35+
* **ci:** update jobs ([132fa35](https://github.com/firebolt-db/mcp-server/commit/132fa35105668fe4886eda1bf8f5d0afeebdad8e))
36+
* first version ([#1](https://github.com/firebolt-db/mcp-server/issues/1)) ([ad35f32](https://github.com/firebolt-db/mcp-server/commit/ad35f32be2034d8e3b196fd0c63bc3f802b0535c))
37+
38+
39+
### Dependencies
40+
41+
* **gomod:** bump the go-deps group with 4 updates ([#3](https://github.com/firebolt-db/mcp-server/issues/3)) ([3fedaa1](https://github.com/firebolt-db/mcp-server/commit/3fedaa16981883b8df0928600b47f28bd1927f89))
42+
43+
## [0.1.0](https://github.com/firebolt-db/mcp-server/compare/v0.0.1...v0.1.0) (2025-04-08)
44+
45+
46+
### Features
47+
48+
* **ci:** add tests and coverage ([15d84df](https://github.com/firebolt-db/mcp-server/commit/15d84df098cf1e136bd23436752d68149abba51b))
49+
* **ci:** more jobs ([6d851a5](https://github.com/firebolt-db/mcp-server/commit/6d851a52016e403f528f5d72b938d6f7ff0a9850))
50+
* **ci:** update ([b8d0893](https://github.com/firebolt-db/mcp-server/commit/b8d0893d78aace7fcc320b00619a0b3a8d668140))
51+
* **ci:** update jobs ([74e6bfa](https://github.com/firebolt-db/mcp-server/commit/74e6bfab25fd73b5ccd8befad957db45874b358a))
52+
* **ci:** update jobs ([2ad551c](https://github.com/firebolt-db/mcp-server/commit/2ad551cd2d083e4e8b205d924bb2fbbda1d5031d))
53+
* **ci:** update jobs ([132fa35](https://github.com/firebolt-db/mcp-server/commit/132fa35105668fe4886eda1bf8f5d0afeebdad8e))
54+
55+
56+
### Dependencies
57+
58+
* **gomod:** bump the go-deps group with 4 updates ([#3](https://github.com/firebolt-db/mcp-server/issues/3)) ([3fedaa1](https://github.com/firebolt-db/mcp-server/commit/3fedaa16981883b8df0928600b47f28bd1927f89))

0 commit comments

Comments
 (0)