mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:49:35 +00:00
Merge branch 'main' into fix-firefox-e2e
This commit is contained in:
1
.github/workflows/compile.yml
vendored
1
.github/workflows/compile.yml
vendored
@@ -77,6 +77,7 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: executables
|
path: executables
|
||||||
|
pattern: 'zitadel-*-*'
|
||||||
- name: move files one folder up
|
- name: move files one folder up
|
||||||
run: mv */*.tar.gz . && find . -type d -empty -delete
|
run: mv */*.tar.gz . && find . -type d -empty -delete
|
||||||
working-directory: executables
|
working-directory: executables
|
||||||
|
1
.github/workflows/login-container.yml
vendored
1
.github/workflows/login-container.yml
vendored
@@ -55,6 +55,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_VERSION: ${{ inputs.node_version }}
|
NODE_VERSION: ${{ inputs.node_version }}
|
||||||
with:
|
with:
|
||||||
|
source: .
|
||||||
push: true
|
push: true
|
||||||
provenance: true
|
provenance: true
|
||||||
sbom: true
|
sbom: true
|
||||||
|
@@ -100,9 +100,7 @@ linters:
|
|||||||
- .keys
|
- .keys
|
||||||
- .vscode
|
- .vscode
|
||||||
- build
|
- build
|
||||||
- console
|
|
||||||
- deploy
|
- deploy
|
||||||
- docs
|
|
||||||
- guides
|
- guides
|
||||||
- internal/api/ui/login/static
|
- internal/api/ui/login/static
|
||||||
- openapi
|
- openapi
|
||||||
@@ -111,6 +109,12 @@ linters:
|
|||||||
- third_party$
|
- third_party$
|
||||||
- builtin$
|
- builtin$
|
||||||
- examples$
|
- examples$
|
||||||
|
- apps
|
||||||
|
- packages
|
||||||
|
- console
|
||||||
|
- docs
|
||||||
|
- load-test
|
||||||
|
|
||||||
issues:
|
issues:
|
||||||
max-issues-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 0
|
max-same-issues: 0
|
||||||
@@ -135,9 +139,7 @@ formatters:
|
|||||||
- .keys
|
- .keys
|
||||||
- .vscode
|
- .vscode
|
||||||
- build
|
- build
|
||||||
- console
|
|
||||||
- deploy
|
- deploy
|
||||||
- docs
|
|
||||||
- guides
|
- guides
|
||||||
- internal/api/ui/login/static
|
- internal/api/ui/login/static
|
||||||
- openapi
|
- openapi
|
||||||
@@ -146,3 +148,8 @@ formatters:
|
|||||||
- third_party$
|
- third_party$
|
||||||
- builtin$
|
- builtin$
|
||||||
- examples$
|
- examples$
|
||||||
|
- apps
|
||||||
|
- packages
|
||||||
|
- console
|
||||||
|
- docs
|
||||||
|
- load-test
|
||||||
|
@@ -8,6 +8,4 @@ if [ -n "${ZITADEL_SERVICE_USER_TOKEN_FILE}" ] && [ -f "${ZITADEL_SERVICE_USER_T
|
|||||||
export ZITADEL_SERVICE_USER_TOKEN=$(cat "${ZITADEL_SERVICE_USER_TOKEN_FILE}")
|
export ZITADEL_SERVICE_USER_TOKEN=$(cat "${ZITADEL_SERVICE_USER_TOKEN_FILE}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exec node /runtime/apps/login/server.js
|
||||||
|
|
||||||
exec node /runtime/apps/login/apps/login/server.js
|
|
||||||
|
@@ -24,9 +24,9 @@ COPY . .
|
|||||||
RUN pnpm turbo build:login:standalone
|
RUN pnpm turbo build:login:standalone
|
||||||
|
|
||||||
FROM scratch AS build-out
|
FROM scratch AS build-out
|
||||||
COPY --from=build /app/apps/login/.next/standalone /
|
COPY /apps/login/public ./apps/login/public
|
||||||
COPY --from=build /app/apps/login/.next/static /.next/static
|
COPY --from=build /app/apps/login/.next/standalone ./
|
||||||
COPY --from=build /app/apps/login/public /public
|
COPY --from=build /app/apps/login/.next/static ./apps/login/.next/static
|
||||||
|
|
||||||
FROM base AS login-standalone
|
FROM base AS login-standalone
|
||||||
WORKDIR /runtime
|
WORKDIR /runtime
|
||||||
@@ -34,7 +34,7 @@ RUN addgroup --system --gid 1001 nodejs && \
|
|||||||
adduser --system --uid 1001 nextjs
|
adduser --system --uid 1001 nextjs
|
||||||
# If /.env-file/.env is mounted into the container, its variables are made available to the server before it starts up.
|
# If /.env-file/.env is mounted into the container, its variables are made available to the server before it starts up.
|
||||||
RUN mkdir -p /.env-file && touch /.env-file/.env && chown -R nextjs:nodejs /.env-file
|
RUN mkdir -p /.env-file && touch /.env-file/.env && chown -R nextjs:nodejs /.env-file
|
||||||
COPY apps/login/scripts ./
|
COPY --chown=nextjs:nodejs apps/login/scripts ./
|
||||||
COPY --chown=nextjs:nodejs --from=build-out . .
|
COPY --chown=nextjs:nodejs --from=build-out . .
|
||||||
USER nextjs
|
USER nextjs
|
||||||
ENV HOSTNAME="0.0.0.0"
|
ENV HOSTNAME="0.0.0.0"
|
||||||
|
@@ -8,7 +8,8 @@
|
|||||||
!apps/login/next.config.mjs
|
!apps/login/next.config.mjs
|
||||||
!apps/login/next-env-vars.d.ts
|
!apps/login/next-env-vars.d.ts
|
||||||
!apps/login/next-env.d.ts
|
!apps/login/next-env.d.ts
|
||||||
!apps/login/tailwind.config.js
|
!apps/login/tailwind.config.mjs
|
||||||
|
!apps/login/postcss.config.cjs
|
||||||
!apps/login/tsconfig.json
|
!apps/login/tsconfig.json
|
||||||
!apps/login/package.json
|
!apps/login/package.json
|
||||||
!apps/login/turbo.json
|
!apps/login/turbo.json
|
||||||
@@ -23,6 +24,7 @@
|
|||||||
!packages/zitadel-proto/turbo.json
|
!packages/zitadel-proto/turbo.json
|
||||||
|
|
||||||
!packages/zitadel-client/package.json
|
!packages/zitadel-client/package.json
|
||||||
|
!packages/zitadel-client/**/package.json
|
||||||
!packages/zitadel-client/src
|
!packages/zitadel-client/src
|
||||||
!packages/zitadel-client/tsconfig.json
|
!packages/zitadel-client/tsconfig.json
|
||||||
!packages/zitadel-client/tsup.config.ts
|
!packages/zitadel-client/tsup.config.ts
|
||||||
@@ -30,8 +32,7 @@
|
|||||||
|
|
||||||
!proto
|
!proto
|
||||||
|
|
||||||
*.md
|
**/*.md
|
||||||
*.png
|
**/node_modules
|
||||||
node_modules
|
**/*.test.ts
|
||||||
*.test.ts
|
**/*.test.tsx
|
||||||
*.test.tsx
|
|
Reference in New Issue
Block a user