Skip to content

Commit

Permalink
Merge pull request #34 from matrix-org/bbz/excalidraw
Browse files Browse the repository at this point in the history
Build the excalidraw backend
  • Loading branch information
benbz authored Feb 29, 2024
2 parents 2ecbcfc + 7680961 commit 1edfbea
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/docker-publish-individual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
folder:
required: true
type: string
repository:
required: false
type: string
default: ""
ref:
required: false
type: string
default: ""
secrets:
github-token:
required: true
Expand All @@ -27,6 +35,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Checkout other repository
uses: actions/checkout@v3
with:
repository: ${{ inputs.repository }}
ref: ${{ inputs.ref }}
path: ${{ inputs.folder }}
if: ${{ inputs.repository != '' }}

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,12 @@ jobs:
folder: web
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}

build-push-excalidraw:
uses: ./.github/workflows/docker-publish-individual.yml
with:
folder: excalidraw-backend
repository: jitsi/excalidraw-backend
ref: "x21"
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion jibri/rootfs/usr/bin/install-chrome.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ else
fi

CHROMEDRIVER_ZIP="/tmp/chromedriver_linux64.zip"
curl -4Lso ${CHROMEDRIVER_ZIP} "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${CHROMEDRIVER_RELEASE}/linux64/chromedriver-linux64.zip"
curl -4Lso ${CHROMEDRIVER_ZIP} "https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_RELEASE}/linux64/chromedriver-linux64.zip"
unzip ${CHROMEDRIVER_ZIP} -d /tmp/
mv /tmp/chromedriver-linux64/chromedriver /usr/bin/
chmod +x /usr/bin/chromedriver
Expand Down

0 comments on commit 1edfbea

Please sign in to comment.