mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:49:35 +00:00
cleanup
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
.git
|
||||
.DS_Store
|
||||
node_modules
|
||||
.turbo
|
||||
*.log
|
||||
.next
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
.env
|
||||
.cache
|
||||
server/dist
|
||||
public/dist
|
||||
.vscode
|
||||
.idea
|
||||
.vercel
|
||||
.env*.local
|
||||
/test-results/
|
||||
/playwright-report/
|
||||
/blob-report/
|
||||
/playwright/.cache/
|
||||
/out
|
||||
/docker
|
||||
|
||||
Makefile
|
||||
docker-bake.hcl
|
||||
**/*.md
|
||||
**/*.gitignore
|
||||
.git
|
4
.github/workflows/issues.yml
vendored
4
.github/workflows/issues.yml
vendored
@@ -4,14 +4,12 @@ on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add issue and community pr to project
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'zitadel'
|
||||
steps:
|
||||
- name: add issue
|
||||
uses: actions/add-to-project@v1.0.2
|
||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -2,7 +2,6 @@ name: Quality
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
force:
|
||||
@@ -18,8 +17,7 @@ jobs:
|
||||
name: Ensure Quality
|
||||
if: github.event_name == 'workflow_dispatch' ||
|
||||
(github.event_name == 'push' && github.repository_owner != 'zitadel') ||
|
||||
(github.event_name == 'pull_request' && github.repository_owner != 'zitadel') ||
|
||||
(github.event_name == 'pull_request_target' && github.repository_owner != 'zitadel')
|
||||
(github.event_name == 'pull_request' && github.repository_owner != 'zitadel')
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
|
@@ -74,14 +74,5 @@ export default defineConfig({
|
||||
// name: 'Google Chrome',
|
||||
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
|
||||
// },
|
||||
],
|
||||
|
||||
/* Run local dev server before starting the tests */
|
||||
|
||||
/* webServer: {
|
||||
command: "pnpm start:built",
|
||||
url: process.env.LOGIN_BASE_URL || "http://127.0.0.1:3000",
|
||||
reuseExistingServer: !!process.env.LOGIN_BASE_URL,
|
||||
timeout: 5 * 60_000,
|
||||
},*/
|
||||
]
|
||||
});
|
||||
|
@@ -14,7 +14,7 @@ export const config = {
|
||||
};
|
||||
|
||||
export async function middleware(request: NextRequest) {
|
||||
// escape proxy if the environment is NOT setup for multitenancy
|
||||
// escape proxy if the environment is setup for multitenancy
|
||||
if (!process.env.ZITADEL_API_URL || !process.env.ZITADEL_SERVICE_USER_TOKEN) {
|
||||
return NextResponse.next();
|
||||
}
|
||||
|
@@ -1,3 +1,7 @@
|
||||
variable "LOGIN_DIR" {
|
||||
default = "./"
|
||||
}
|
||||
|
||||
variable "DOCKERFILES_DIR" {
|
||||
default = "dockerfiles/"
|
||||
}
|
||||
@@ -75,7 +79,7 @@ variable "LOGIN_CORE_MOCK_TAG" {
|
||||
}
|
||||
|
||||
target "login-core-mock" {
|
||||
context = "/apps/login-test-integration/core-mock"
|
||||
context = "${LOGIN_DIR}apps/login-test-integration/core-mock"
|
||||
contexts = {
|
||||
protos = "target:proto-files"
|
||||
}
|
||||
|
@@ -1,6 +1,5 @@
|
||||
FROM typescript-proto-client AS login-client
|
||||
COPY packages/zitadel-tsconfig packages/zitadel-tsconfig
|
||||
COPY packages/zitadel-proto packages/zitadel-proto
|
||||
COPY packages/zitadel-client/package.json ./packages/zitadel-client/
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
|
||||
pnpm install --frozen-lockfile --workspace-root --filter ./packages/zitadel-client
|
||||
|
11
dockerfiles/login-client.Dockerfile.dockerignore
Normal file
11
dockerfiles/login-client.Dockerfile.dockerignore
Normal file
@@ -0,0 +1,11 @@
|
||||
*
|
||||
|
||||
!packages/zitadel-client
|
||||
packages/zitadel-client/dist
|
||||
|
||||
!packages/zitadel-tsconfig
|
||||
|
||||
**/*.md
|
||||
**/*.png
|
||||
**/node_modules
|
||||
**/.turbo
|
13
dockerfiles/login-standalone.Dockerfile.dockerignore
Normal file
13
dockerfiles/login-standalone.Dockerfile.dockerignore
Normal file
@@ -0,0 +1,13 @@
|
||||
*
|
||||
|
||||
!apps/login
|
||||
apps/login/.next
|
||||
apps/login/dist
|
||||
|
||||
!scripts/healthcheck.js
|
||||
!packages/zitadel-tailwind-config
|
||||
|
||||
**/*.md
|
||||
**/*.png
|
||||
**/node_modules
|
||||
**/.turbo
|
@@ -1,4 +0,0 @@
|
||||
src/proto
|
||||
node_modules
|
||||
dist
|
||||
.turbo
|
@@ -1,5 +0,0 @@
|
||||
zitadel
|
||||
google
|
||||
protoc-gen-openapiv2
|
||||
validate
|
||||
node_modules
|
@@ -3,7 +3,7 @@
|
||||
"tasks": {
|
||||
"generate": {
|
||||
"outputs": ["zitadel/**"],
|
||||
"cache": true
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1 +0,0 @@
|
||||
run_or_skip.sh
|
Reference in New Issue
Block a user