Skip to content

Commit

Permalink
chore(test): fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
syrosh committed Jun 7, 2024
1 parent 2fe8180 commit 4a4a04a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
##### Dev Server ##########################

# optional
DEV_VITE_SERVER_CRT_PATH=

# optional
DEV_VITE_SERVER_KEY_PATH=

##### Application #########################

# required
VITE_APP_URL=https://localhost

# required
VITE_ROCKETCHAT_URL=https://localhost

# required
VITE_CODIMD_URL=https://localhost

# optional
VITE_LOG_LEVEL=debug

# optional
VITE_REPOSITORY_URL=https://localhost

# optional
VITE_PUBLIC_ISSUE_TRACKER=https://localhost

# optional
VITE_INTERNAL_ISSUE_TRACKER=https://localhost

# optional
VITE_SECRET_GITLAB_TOKEN=notactuallyused

##### OIDC Authentication #################

# required
VITE_GITLAB_CLIENT_ID=notactuallyused

# required
VITE_GITLAB_AUTHORITY=http://localhost
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default defineConfig(({ mode }) => {
host: new URL(env.VITE_APP_URL).hostname,
port: PORT,
https:
mode === 'production'
mode === 'production' || mode === 'test'
? undefined
: {
cert: readFileSync(
Expand Down

0 comments on commit 4a4a04a

Please sign in to comment.