Skip to content

Commit

Permalink
chore(installer): re-instate deploy to launcher.* for compatibility w…
Browse files Browse the repository at this point in the history
…ith current OF installs
  • Loading branch information
algreasley committed Dec 19, 2022
1 parent a385b5c commit 33f1050
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Branch build
on:
push:
branches:
- '**'
- "**"

defaults:
run:
Expand All @@ -13,6 +13,7 @@ env:
BUCKET_WEB: reactive-trader-web-builds
BUCKET_OPENFIN: reactive-trader-openfin-builds
BUCKET_FINSEMBLE: reactive-trader-finsemble-builds
BUCKET_LAUNCHER: reactive-trader-launcher-builds

jobs:
build:
Expand Down Expand Up @@ -89,6 +90,13 @@ jobs:
rsync -d -r dist \
gs://$BUCKET_OPENFIN/branch/${{ steps.vars.outputs.branch }}
- name: Deploy (Launcher)
run: |
gsutil -m \
-h "Cache-Control: no-cache" \
rsync -d -r dist \
gs://$BUCKET_LAUNCHER/branch/${{ steps.vars.outputs.branch }}
- name: Build (OpenFin - Workspace)
env:
DOMAIN: https://openfin.${{ steps.vars.outputs.ENVIRONMENT }}.reactivetrader.com
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
BUCKET_WEB: reactive-trader-web-builds
BUCKET_OPENFIN: reactive-trader-openfin-builds
BUCKET_FINSEMBLE: reactive-trader-finsemble-builds
BUCKET_LAUNCHER: reactive-trader-launcher-builds
ENVIRONMENT: prod

jobs:
Expand Down Expand Up @@ -81,6 +82,13 @@ jobs:
rsync -d -r dist \
gs://$BUCKET_OPENFIN/tag/${{ steps.vars.outputs.tag }}
- name: Deploy (Launcher)
run: |
gsutil -m \
-h "Cache-Control: no-cache" \
rsync -d -r dist \
gs://$BUCKET_LAUNCHER/tag/${{ steps.vars.outputs.tag }}
- name: Build (OpenFin - Workspace)
env:
DOMAIN: https://openfin.prod.reactivetrader.com
Expand Down
7 changes: 7 additions & 0 deletions src/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,13 @@ const copyPlugin = (isDev: boolean, buildTarget: BuildTarget): Plugin[] => {
dest: "config",
transform,
},
// for back compat to existing RT installations (that will expect an app.json)
{
src: "public-openfin/rt-fx.json",
dest: "config",
rename: "app.json",
transform,
},
{
src: "public-openfin/plugin/*",
dest: "plugin",
Expand Down

0 comments on commit 33f1050

Please sign in to comment.