Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging Release #514

Merged
merged 74 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
fc926ec
fix: remove file ext when importing document
gpuente Aug 16, 2024
41b4b8c
fix: use routerBasename to get service worker script path
gpuente Aug 16, 2024
7294b6e
Merge pull request #498 from powerhouse-inc/remove-file-ext-when-impo…
gpuente Aug 26, 2024
b44917c
chore(release): set `package.json` to 1.0.0-dev.73 [skip ci]
semantic-release-bot Aug 26, 2024
cc9af0a
fix: broken cypress tests
gpuente Aug 26, 2024
8ad9489
Merge pull request #497 from powerhouse-inc/fix-service-worker-import…
gpuente Aug 26, 2024
c145848
chore(release): set `package.json` to 1.0.0-dev.74 [skip ci]
semantic-release-bot Aug 26, 2024
a6682b6
feat: run e2e tests when a PR is open
gpuente Aug 26, 2024
900b11c
fix: moved service-worker script to assets folder
gpuente Aug 28, 2024
fa97092
feat: added service-worker.ts
gpuente Aug 28, 2024
4f0429a
Merge pull request #505 from powerhouse-inc/move-service-worker-scrip…
gpuente Aug 29, 2024
2e19164
Merge pull request #502 from powerhouse-inc/479-setup-connect-tests-o…
gpuente Aug 29, 2024
4595391
chore(release): set `package.json` to 1.0.0-dev.75 [skip ci]
semantic-release-bot Aug 29, 2024
9b0c99a
feat: fix service worker build
acaldas Aug 31, 2024
02dc6a9
chore(release): set `package.json` to 1.0.0-dev.76 [skip ci]
semantic-release-bot Aug 31, 2024
38e0e92
fix: fix service worker build
acaldas Aug 31, 2024
b92cd03
chore(release): set `package.json` to 1.0.0-dev.77 [skip ci]
semantic-release-bot Aug 31, 2024
d4567a4
feat: added env vars for connect
froid1911 Aug 23, 2024
1e63c59
fix: service worker app version
froid1911 Aug 23, 2024
a9bd185
chore: generated vite envs definitions
froid1911 Aug 23, 2024
29ba7fe
feat: set package version as sentry release
acaldas Sep 3, 2024
e32c077
chore(release): set `package.json` to 1.0.0-dev.78 [skip ci]
semantic-release-bot Sep 3, 2024
940a0f1
feat: pass build args as strings
acaldas Sep 3, 2024
96a28d8
chore(release): set `package.json` to 1.0.0-dev.79 [skip ci]
semantic-release-bot Sep 3, 2024
58516f3
feat: remove escape chars from dockerfile entrypoint
acaldas Sep 3, 2024
7eb5baa
chore(release): set `package.json` to 1.0.0-dev.80 [skip ci]
semantic-release-bot Sep 3, 2024
39b0091
feat: use script instead of inline nginx config
acaldas Sep 3, 2024
b7d8efe
chore(release): set `package.json` to 1.0.0-dev.81 [skip ci]
semantic-release-bot Sep 3, 2024
ab70580
feat: check if nginx.conf is valid
acaldas Sep 3, 2024
1af8e10
chore(release): set `package.json` to 1.0.0-dev.82 [skip ci]
semantic-release-bot Sep 3, 2024
2652d51
feat: use script as entrypoint
acaldas Sep 3, 2024
2abc1dc
chore(release): set `package.json` to 1.0.0-dev.83 [skip ci]
semantic-release-bot Sep 3, 2024
ffe04e7
feat: fixed entrypoint script
acaldas Sep 3, 2024
cbfcfc8
chore(release): set `package.json` to 1.0.0-dev.84 [skip ci]
semantic-release-bot Sep 3, 2024
82c2c95
feat: entrypoint script cleanup
acaldas Sep 3, 2024
17ca205
chore(release): set `package.json` to 1.0.0-dev.85 [skip ci]
semantic-release-bot Sep 3, 2024
3951036
feat: fixed env vars
acaldas Sep 3, 2024
416d282
chore(release): set `package.json` to 1.0.0-dev.86 [skip ci]
semantic-release-bot Sep 3, 2024
e9275a9
fix: test env access in config
acaldas Sep 3, 2024
b938f94
chore(release): set `package.json` to 1.0.0-dev.87 [skip ci]
semantic-release-bot Sep 3, 2024
84d4af7
feat: moved connect config to the src folder so it has access to the …
acaldas Sep 3, 2024
165005c
chore(release): set `package.json` to 1.0.0-dev.88 [skip ci]
semantic-release-bot Sep 3, 2024
beb5d71
fix: fixed outdated config import
acaldas Sep 3, 2024
f76fcc1
chore(release): set `package.json` to 1.0.0-dev.89 [skip ci]
semantic-release-bot Sep 3, 2024
dbca2b4
feat: scope the service worker to the basepath
acaldas Sep 4, 2024
fd124b2
chore(release): set `package.json` to 1.0.0-dev.90 [skip ci]
semantic-release-bot Sep 4, 2024
50515ae
feat: build service worker as part of the bundle
acaldas Sep 4, 2024
194c5e8
chore(release): set `package.json` to 1.0.0-dev.91 [skip ci]
semantic-release-bot Sep 4, 2024
fb12b37
fix: fixed bundle location
acaldas Sep 4, 2024
c926b72
chore(release): set `package.json` to 1.0.0-dev.92 [skip ci]
semantic-release-bot Sep 4, 2024
1483e82
feat: remove default drives info from connect + add default drives to…
gpuente Sep 3, 2024
3a84e33
Merge pull request #509 from powerhouse-inc/264-remove-default-drives…
gpuente Sep 4, 2024
3ff4c61
chore(release): set `package.json` to 1.0.0-dev.93 [skip ci]
semantic-release-bot Sep 4, 2024
cfee034
fix: merge conflicts
gpuente Sep 4, 2024
ea5f9eb
chore(release): set `package.json` to 1.0.0-dev.93 [skip ci]
semantic-release-bot Sep 4, 2024
af45238
feat: preserve all remote drives if no default drives config is passed
gpuente Sep 4, 2024
8df3b25
Merge pull request #515 from powerhouse-inc/preserve-all-remote-drive…
gpuente Sep 4, 2024
a7a42c0
chore(release): set `package.json` to 1.0.0-dev.94 [skip ci]
semantic-release-bot Sep 4, 2024
85e4f7f
fix: prevent sentry code injection
acaldas Sep 4, 2024
fbf4064
chore(release): set `package.json` to 1.0.0-dev.95 [skip ci]
semantic-release-bot Sep 4, 2024
1e104e7
fix: added PH_CONNECT_ROUTER_BASENAME env variable to e2e github action
gpuente Sep 4, 2024
b308b03
feat: added PH_CONNECT_DEFAULT_DRIVES_URL env to e2e github action
gpuente Sep 4, 2024
ef00ce3
fix: activate service worker in prod
acaldas Sep 4, 2024
b3c6c9d
chore(release): set `package.json` to 1.0.0-dev.96 [skip ci]
semantic-release-bot Sep 4, 2024
415e3a4
feat: fixed version fetch and added env var for version check interval
acaldas Sep 4, 2024
485fbea
chore(release): set `package.json` to 1.0.0-dev.97 [skip ci]
semantic-release-bot Sep 4, 2024
9c2bf2c
feat: fixed lint warning
acaldas Sep 4, 2024
fe50271
chore(release): set `package.json` to 1.0.0-dev.98 [skip ci]
semantic-release-bot Sep 4, 2024
66ef016
Merge pull request #513 from powerhouse-inc/fix-e2e-tests
gpuente Sep 4, 2024
c84db48
feat: handle syncUnitStatus not found error
gpuente Sep 4, 2024
ed533d6
chore(release): set `package.json` to 1.0.0-dev.99 [skip ci]
semantic-release-bot Sep 4, 2024
a30fbd0
Merge pull request #516 from powerhouse-inc/handle-not-found-sync-uni…
gpuente Sep 4, 2024
8d488e0
chore(release): set `package.json` to 1.0.0-dev.100 [skip ci]
semantic-release-bot Sep 4, 2024
cad5a8f
fix: fix merge conflicts
gpuente Sep 4, 2024
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
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.env
node_modules/
dist/
100 changes: 37 additions & 63 deletions .env
Original file line number Diff line number Diff line change
@@ -1,63 +1,37 @@
VITE_DISABLED_EDITORS=powerhouse/document-drive
VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/makerdao/switchboard/d/monetalis
VITE_BASE_HREF=/
ASSET_URL=/

VITE_APP_REQUIRES_HARD_REFRESH=true

######## RENOWN CONFIG ########
# Renown instance to use for login
# VITE_RENOWN_URL=http://localhost:3000

# Network Id to use for signing the Renown credential (default: 1 for Ethereum mainnet)
# VITE_RENOWN_NETWORK_ID=1

# Set the base URL of the app (default: /)
VITE_ROUTER_BASENAME=/

######## CONNECT CONTENT CONFIG ########
# Set to false to hide searchbar in folder conent (default: true)
VITE_SEARCH_BAR_ENABLED=false

VITE_SENTRY_DSN=""
VITE_SENTRY_ENV=dev

######## CONNECT SETTINGS ########
# Set to true to hide document model selection from connect settings (default: false)
# VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true

######## PUBLIC DRIVES CONFIG ########
# Set to false to hide public drives section in the sidebar (default: true)
# VITE_PUBLIC_DRIVES_ENABLED=false

# Set to true to disable adding public drives (default: false)
#VITE_DISABLE_ADD_PUBLIC_DRIVES=false

# Set to true to disable deleting public drives (default: false)
#VITE_DISABLE_DELETE_PUBLIC_DRIVES=false




######## CLOUD DRIVES CONFIG ########
# Set to false to hide cloud drives section in the sidebar (default: true)
# VITE_CLOUD_DRIVES_ENABLED=false

# Set to true to disable adding cloud drives (default: false)
#VITE_DISABLE_ADD_CLOUD_DRIVES=false

# Set to true to disable deleting cloud drives (default: false)
#VITE_DISABLE_DELETE_CLOUD_DRIVES=false




######## LOCAL DRIVES CONFIG ########
# Set to false to hide local drives section in the sidebar (default: true)
# VITE_LOCAL_DRIVES_ENABLED=false

# Set to true to disable adding local drives (default: false)
#VITE_DISABLE_ADD_LOCAL_DRIVES=true

# Set to true to disable deleting local drives (default: false)
#VITE_DISABLE_DELETE_LOCAL_DRIVES=false
# build arguments
BASE_PATH="/" # vite base path
BASE_HREF="./" # electron-forge base href
PH_CONNECT_APP_REQUIRES_HARD_REFRESH="true"
SENTRY_AUTH_TOKEN=
SENTRY_ORG=
SENTRY_PROJECT=

# environment variables

## app configuration & feature flags
PH_CONNECT_ROUTER_BASENAME="/develop/powerhouse/connect"
PH_CONNECT_DEFAULT_DRIVES_URL="https://apps.powerhouse.io/develop/powerhouse/switchboard/d/core-dev"
PH_CONNECT_ENABLED_EDITORS="*"
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES="false"
PH_CONNECT_SEARCH_BAR_ENABLED="false"
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES="false"
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES="false"
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES="false"
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES="false"
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES="false"
PH_CONNECT_PUBLIC_DRIVES_ENABLED="true"
PH_CONNECT_CLOUD_DRIVES_ENABLED="true"
PH_CONNECT_LOCAL_DRIVES_ENABLED="true"
PH_CONNECT_ARBITRUM_ALLOW_LIST=""
PH_CONNECT_RWA_ALLOW_LIST=""
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS="true"

PH_CONNECT_RENOWN_URL="https://www.renown.id"
PH_CONNECT_RENOWN_NETWORK_ID="eip155"
PH_CONNECT_RENOWN_CHAIN_ID=1
PH_CONNECT_DISABLED_EDITORS=""

## error tracking
PH_CONNECT_SENTRY_DSN=""
PH_CONNECT_SENTRY_PROJECT=""
PH_CONNECT_SENTRY_ENV="prod"
3 changes: 0 additions & 3 deletions .env.prod

This file was deleted.

32 changes: 16 additions & 16 deletions .github/workflows/build-and-deploy-arbitrum-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/arbitrum/connect
--build-arg VITE_BASE_HREF=/arbitrum/connect/
--build-arg VITE_ROUTER_BASENAME=/arbitrum/connect
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_ENABLED_EDITORS=ARBLTIPGrantee
--build-arg VITE_DISABLE_ADD_PUBLIC_DRIVES=true
--build-arg VITE_DISABLE_ADD_CLOUD_DRIVES=true
--build-arg VITE_DISABLE_ADD_LOCAL_DRIVES=true
--build-arg VITE_DISABLE_DELETE_PUBLIC_DRIVES=true
--build-arg VITE_DISABLE_DELETE_CLOUD_DRIVES=true
--build-arg VITE_DISABLE_DELETE_LOCAL_DRIVES=true
--build-arg VITE_LOCAL_DRIVES_ENABLED=false
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/arbitrum/switchboard/d/arbitrum
--build-arg VITE_RENOWN_CHAIN_ID=42161
--build-arg VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true
--build-arg PH_CONNECT_BASE_HREF=/arbitrum/connect/
--build-arg PH_CONNECT_ROUTER_BASENAME=/arbitrum/connect
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_ENABLED_EDITORS=ARBLTIPGrantee
--build-arg PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES=true
--build-arg PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES=true
--build-arg PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES=true
--build-arg PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES=true
--build-arg PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES=true
--build-arg PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES=true
--build-arg PH_CONNECT_LOCAL_DRIVES_ENABLED=false
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/arbitrum/switchboard/d/arbitrum
--build-arg PH_CONNECT_RENOWN_CHAIN_ID=42161
--build-arg PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true
process_type: web
34 changes: 17 additions & 17 deletions .github/workflows/build-and-deploy-arbitrum-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/staging/arbitrum/connect
--build-arg VITE_BASE_HREF=/staging/arbitrum/connect/
--build-arg VITE_ROUTER_BASENAME=/staging/arbitrum/connect
--build-arg VITE_ENABLED_EDITORS=ARBLTIPGrantee
--build-arg VITE_DISABLE_ADD_PUBLIC_DRIVES=true
--build-arg VITE_DISABLE_ADD_CLOUD_DRIVES=true
--build-arg VITE_DISABLE_ADD_LOCAL_DRIVES=true
--build-arg VITE_DISABLE_DELETE_PUBLIC_DRIVES=true
--build-arg VITE_DISABLE_DELETE_CLOUD_DRIVES=true
--build-arg VITE_DISABLE_DELETE_LOCAL_DRIVES=true
--build-arg VITE_LOCAL_DRIVES_ENABLED=false
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/arbitrum/switchboard/d/arbitrum
--build-arg VITE_RENOWN_CHAIN_ID=42161
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_ARBITRUM_ALLOW_LIST=${{secrets.VITE_ARBITRUM_ALLOW_LIST}}
--build-arg VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true
--build-arg PH_CONNECT_BASE_HREF=/staging/arbitrum/connect/
--build-arg PH_CONNECT_ROUTER_BASENAME=/staging/arbitrum/connect
--build-arg PH_CONNECT_ENABLED_EDITORS=ARBLTIPGrantee
--build-arg PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES=true
--build-arg PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES=true
--build-arg PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES=true
--build-arg PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES=true
--build-arg PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES=true
--build-arg PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES=true
--build-arg PH_CONNECT_LOCAL_DRIVES_ENABLED=false
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/arbitrum/switchboard/d/arbitrum
--build-arg PH_CONNECT_RENOWN_CHAIN_ID=42161
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_ARBITRUM_ALLOW_LIST=${{secrets.PH_CONNECT_ARBITRUM_ALLOW_LIST}}
--build-arg PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true
--build-arg SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
--build-arg SENTRY_ORG=${{ secrets.SENTRY_ORG }}
--build-arg SENTRY_PROJECT=${{ secrets.SENTRY_PROJECT }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-and-deploy-makerdao-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/makerdao/connect
--build-arg VITE_BASE_HREF=/makerdao/connect/
--build-arg VITE_ROUTER_BASENAME=/makerdao/connect
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/makerdao/switchboard/d/b443d823-3e4d-4e60-ae44-45edafd5f632
--build-arg VITE_RWA_ALLOW_LIST=${{secrets.VITE_RWA_ALLOW_LIST}}
--build-arg PH_CONNECT_BASE_HREF=/makerdao/connect/
--build-arg PH_CONNECT_ROUTER_BASENAME=/makerdao/connect
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/makerdao/switchboard/d/b443d823-3e4d-4e60-ae44-45edafd5f632
--build-arg PH_CONNECT_RWA_ALLOW_LIST=${{secrets.PH_CONNECT_RWA_ALLOW_LIST}}
process_type: web
14 changes: 7 additions & 7 deletions .github/workflows/build-and-deploy-makerdao-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/staging/makerdao/connect
--build-arg VITE_BASE_HREF=/staging/makerdao/connect/
--build-arg VITE_ROUTER_BASENAME=/staging/makerdao/connect
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/makerdao/switchboard/d/280dd289-ec51-40f0-adad-c154967fc2b2
--build-arg VITE_RWA_ALLOW_LIST=${{secrets.VITE_RWA_ALLOW_LIST}}
--build-arg PH_CONNECT_BASE_HREF=/staging/makerdao/connect/
--build-arg PH_CONNECT_ROUTER_BASENAME=/staging/makerdao/connect
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/makerdao/switchboard/d/280dd289-ec51-40f0-adad-c154967fc2b2
--build-arg PH_CONNECT_RWA_ALLOW_LIST=${{secrets.PH_CONNECT_RWA_ALLOW_LIST}}
process_type: web
8 changes: 2 additions & 6 deletions .github/workflows/build-and-deploy-powerhouse-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/develop/powerhouse/connect
--build-arg VITE_BASE_HREF=/develop/powerhouse/connect/
--build-arg VITE_ROUTER_BASENAME=/develop/powerhouse/connect
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/develop/powerhouse/switchboard/d/core-dev
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
--build-arg SENTRY_ORG=${{ secrets.SENTRY_ORG }}
--build-arg SENTRY_PROJECT=${{ secrets.SENTRY_PROJECT }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-and-deploy-powerhouse-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/powerhouse/connect
--build-arg VITE_BASE_HREF=/powerhouse/connect/
--build-arg VITE_ROUTER_BASENAME=/powerhouse/connect
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/powerhouse/switchboard/d/powerhouse
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg PH_CONNECT_BASE_HREF=/powerhouse/connect/
--build-arg PH_CONNECT_ROUTER_BASENAME=/powerhouse/connect
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/powerhouse/switchboard/d/powerhouse
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false
process_type: web
12 changes: 6 additions & 6 deletions .github/workflows/build-and-deploy-powerhouse-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
docker_options: >-
--build-arg BASE_PATH=/staging/powerhouse/connect
--build-arg VITE_BASE_HREF=/staging/powerhouse/connect/
--build-arg VITE_ROUTER_BASENAME=/staging/powerhouse/connect
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/powerhouse/switchboard/d/powerhouse
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg PH_CONNECT_BASE_HREF=/staging/powerhouse/connect/
--build-arg PH_CONNECT_ROUTER_BASENAME=/staging/powerhouse/connect
--build-arg PH_CONNECT_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg PH_CONNECT_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg PH_CONNECT_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/staging/powerhouse/switchboard/d/powerhouse
--build-arg PH_CONNECT_SEARCH_BAR_ENABLED=false
process_type: web
13 changes: 10 additions & 3 deletions .github/workflows/e2e-dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: End-to-end tests

on:
push:
branches: [develop]
pull_request:
branches:
- main
- develop
- staging
- production
- deployments/**
workflow_dispatch:
jobs:
cypress-run:
Expand All @@ -24,4 +29,6 @@ jobs:
wait-on: 'http://localhost:5173/'
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PH_CONNECT_ROUTER_BASENAME: /
PH_CONNECT_DEFAULT_DRIVES_URL:
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ vite.renderer.config.ts
.commitlintrc.
.github
.releaserc
scripts
scripts
src/vite-env.d.ts
Loading