Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
bun-version: 1.4.4

- name: Install frontend dependencies
working-directory: frontend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
bun-version: 1.4.4

- name: Install frontend dependencies
working-directory: frontend
Expand Down
4 changes: 2 additions & 2 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM oven/bun:1.4.2@sha256:9114c058aeae42162ee16dd5084b95fe9473970bb6bcb5b232ab1630f0546895 AS frontend
FROM --platform=$BUILDPLATFORM oven/bun:1.4.4@sha256:1d22548f177f4ff38e0c15baa3c2c46c6c2060ba2d1bc573bb4720b407548f1d AS frontend
WORKDIR /src/frontend
COPY frontend/package.json frontend/bun.lock* ./
RUN bun install --frozen-lockfile
Expand All @@ -18,7 +18,7 @@ RUN go build -trimpath \
-ldflags="-s -w -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.Version=${N2API_VERSION} -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.Commit=${N2API_COMMIT} -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.BuildTime=${N2API_BUILD_TIME}" \
-o /out/n2api ./cmd/n2api

FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a
ARG N2API_VERSION=dev
ARG N2API_COMMIT=unknown
ARG N2API_BUILD_TIME=1970-01-01T00:00:00Z
Expand Down
8 changes: 4 additions & 4 deletions deploy/Dockerfile.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY backend/ ./
FROM e2e-go-base AS mock-openai-builder
RUN CGO_ENABLED=0 go build -trimpath -o /out/mock-openai ./cmd/mock-openai

FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS mock-openai
FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a AS mock-openai
RUN apk add --no-cache --upgrade curl libcrypto3 libssl3
WORKDIR /app
COPY --from=mock-openai-builder /out/mock-openai /app/mock-openai
Expand All @@ -18,22 +18,22 @@ ENTRYPOINT ["/app/mock-openai"]
FROM e2e-go-base AS gateway-e2e-builder
RUN CGO_ENABLED=0 go test -c -o /out/gateway-e2e ./e2e

FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS gateway-e2e
FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a AS gateway-e2e
RUN apk add --no-cache --upgrade libcrypto3 libssl3
WORKDIR /app
COPY --from=gateway-e2e-builder /out/gateway-e2e /app/gateway-e2e
USER 65532:65532
ENTRYPOINT ["/app/gateway-e2e", "-test.v", "-test.timeout=3m"]

FROM oven/bun:1.4.2-alpine@sha256:d888c0ae6c86d7866ff10c5aafdd9077b36aee6455b33dd270fb93c0dd5cef6f AS contracts-javascript
FROM oven/bun:1.4.4-alpine@sha256:4cf82f5686b196504fe119db3fcd9185b191f82ece82c40680e597228ec6070a AS contracts-javascript
WORKDIR /app
COPY tests/contracts/javascript/package.json tests/contracts/javascript/bun.lock ./
RUN bun install --frozen-lockfile --production
COPY tests/contracts/javascript/openai.test.ts ./
USER bun
ENTRYPOINT ["bun", "test", "openai.test.ts"]

FROM ghcr.io/astral-sh/uv:0.12.17@sha256:10787c682e4184e4f290de1171fd4703dc63de99221f10fe1c99002ce7fa9acc AS uv-bin
FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv-bin

FROM python:3.12.13-slim-bookworm@sha256:d50fb7611f86d04a3b0471b46d7557818d88983fc3136726336b2a4c657aa30b AS contracts-python
ENV PYTHONDONTWRITEBYTECODE=1 \
Expand Down
2 changes: 1 addition & 1 deletion dev/ci/verify-pinned-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ while IFS=: read -r workflow line source; do
echo "$workflow:$line must pin external Action $reference to a full commit SHA" >&2
exit 1
fi
done < <(rg -n --no-heading '^[[:space:]]*uses:[[:space:]]*' .github/workflows)
done < <(grep -nE '^[[:space:]]*uses:[[:space:]]*' .github/workflows/*.yml)

declare -A build_stages=()
while IFS= read -r stage; do
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.1.0",
"type": "module",
"packageManager": "bun@1.4.2",
"packageManager": "bun@1.4.4",
"scripts": {
"dev": "vite --host 0.0.0.0",
"test": "bun test",
Expand Down
2 changes: 1 addition & 1 deletion tests/contracts/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.0.0",
"type": "module",
"packageManager": "bun@1.4.2",
"packageManager": "bun@1.4.4",
"scripts": {
"test": "bun test openai.test.ts"
},
Expand Down
Loading