Skip to content

fix(docker): replace anonymous docker volume with env variable for encrypting secrets #4378

fix(docker): replace anonymous docker volume with env variable for encrypting secrets

fix(docker): replace anonymous docker volume with env variable for encrypting secrets #4378

Triggered via pull request December 29, 2024 21:14
Status Failure
Total duration 3m 9s
Artifacts 1

code-quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
packages/auth/test/session.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/integrations/test/base.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/integrations/test/home-assistant.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/integrations/test/nzbget.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/integrations/test/pi-hole.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/integrations/test/sabnzbd.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/api/src/test/open-api.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/api/src/router/test/integration/integration-router.spec.ts: packages/common/src/encryption.ts#L7
Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
packages/api/src/router/test/integration/integration-test-connection.spec.ts: packages/integrations/src/base/creator.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/integrations/src/base/creator.ts:1:1 ❯ packages/integrations/src/index.ts:64:32 Caused by: Caused by: Error: ❌ Attempted to access a server-side environment variable on the client ❯ onInvalidAccess node_modules/@t3-oss/env-core/dist/index.js:32:15 ❯ Object.get node_modules/@t3-oss/env-core/dist/index.js:55:52 ❯ packages/common/src/encryption.ts:7:29 ❯ packages/common/src/server.ts:4:31
test
Process completed with exit code 1.
e2e
buildx failed with: ERROR: failed to solve: process "/bin/sh -c corepack enable pnpm && pnpm build" did not complete successfully: exit code: 1
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
homarr-labs~homarr~E6H1DS.dockerbuild
32 KB