Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 5424fdc

Browse files
committed
Merge branch 'main' of github.com:stacklok/codegate into feat/555/version-endpoint
2 parents 49b1f4a + 1eef816 commit 5424fdc

File tree

4 files changed

+72
-38
lines changed

4 files changed

+72
-38
lines changed

.github/workflows/image-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
context: .
8282
platforms: linux/amd64,linux/arm64
8383
push: true
84+
provenance: mode=max
85+
sbom: true
8486
tags: ${{ steps.docker-metadata.outputs.tags }}
8587
labels: ${{ steps.docker-metadata.outputs.labels }}
8688
cache-from: type=gha

.github/workflows/security.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Security
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
schedule:
9+
- cron: '0 0 * * *'
10+
11+
jobs:
12+
dependencies:
13+
runs-on: ubuntu-latest
14+
name: Dependencies & Secrets Scan
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
19+
- name: Code Security Scan
20+
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # v0.29.0
21+
with:
22+
scan-type: 'fs'
23+
scanners: vuln,secret
24+
trivy-config: .trivy.yml
25+
exit-code: 1
26+
ignore-unfixed: true
27+
env:
28+
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
29+
TRIVY_USERNAME: ${{ github.actor }}
30+
TRIVY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

poetry.lock

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,42 @@ authors = []
77

88
[tool.poetry.dependencies]
99
python = ">=3.12,<4.0"
10-
click = ">=8.1.0"
11-
PyYAML = ">=6.0.1"
12-
fastapi = ">=0.115.5"
13-
uvicorn = ">=0.32.1"
14-
structlog = ">=24.4.0"
15-
litellm = "^1.58.0"
16-
llama_cpp_python = ">=0.3.2"
17-
cryptography = "^44.0.0"
18-
sqlalchemy = "^2.0.37"
19-
aiosqlite = "^0.20.0"
20-
ollama = ">=0.4.4"
21-
pydantic-settings = "^2.7.1"
22-
numpy = ">=1.24.0"
23-
tree-sitter = ">=0.23.2"
24-
tree-sitter-go = ">=0.23.4"
25-
tree-sitter-java = ">=0.23.5"
26-
tree-sitter-javascript = ">=0.23.1"
27-
tree-sitter-python = ">=0.23.6"
28-
tree-sitter-rust = ">=0.23.2"
29-
sqlite-vec-sl-tmp = "^0.0.4"
30-
alembic = ">=1.14.0"
31-
pygments = "^2.19.1"
10+
click = "==8.1.8"
11+
PyYAML = "==6.0.2"
12+
fastapi = "==0.115.6"
13+
uvicorn = "==0.34.0"
14+
structlog = "==24.4.0"
15+
litellm = "==1.58.0"
16+
llama_cpp_python = "==0.3.5"
17+
cryptography = "==44.0.0"
18+
sqlalchemy = "==2.0.37"
19+
aiosqlite = "==0.20.0"
20+
ollama = "==0.4.6"
21+
pydantic-settings = "==2.7.1"
22+
numpy = "==2.2.1"
23+
tree-sitter = "==0.23.2"
24+
tree-sitter-go = "==0.23.4"
25+
tree-sitter-java = "==0.23.5"
26+
tree-sitter-javascript = "==0.23.1"
27+
tree-sitter-python = "==0.23.6"
28+
tree-sitter-rust = "==0.23.2"
29+
sqlite-vec-sl-tmp = "==0.0.4"
30+
alembic = "==1.14.0"
31+
pygments = "==2.19.1"
3232

3333
[tool.poetry.group.dev.dependencies]
34-
pytest = ">=7.4.0"
35-
pytest-cov = ">=4.1.0"
36-
black = ">=23.7.0"
37-
ruff = ">=0.7.4"
38-
bandit = ">=1.7.10"
39-
build = ">=1.0.0"
40-
wheel = ">=0.40.0"
41-
litellm = ">=1.52.11"
42-
pytest-asyncio = "0.25.2"
34+
pytest = "==8.3.4"
35+
pytest-cov = "==6.0.0"
36+
black = "==24.10.0"
37+
ruff = "==0.9.1"
38+
bandit = "==1.8.2"
39+
build = "==1.2.2.post1"
40+
wheel = "==0.45.1"
41+
litellm = "==1.58.0"
42+
pytest-asyncio = "==0.25.2"
4343
llama_cpp_python = "==0.3.5"
44-
scikit-learn = ">=1.6.0"
45-
python-dotenv = ">=1.0.1"
44+
scikit-learn = "==1.6.1"
45+
python-dotenv = "==1.0.1"
4646

4747
[build-system]
4848
requires = ["poetry-core"]

0 commit comments

Comments
 (0)