Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 1 addition & 4 deletions .github/workflows/dapp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
MJ_APIKEY_PRIVATE: ${{ secrets.MAILJET_APIKEY_PRIVATE }}
MJ_SENDER: ${{ secrets.MAILJET_SENDER }}
MAILGUN_APIKEY: ${{ secrets.MAILGUN_APIKEY }}
WEB3MAIL_WHITELISTED_APPS: ${{ secrets.WEB3MAIL_WHITELISTED_APPS }}
WEB3MAIL_WHITELISTED_APPS: ${{ vars.WEB3MAIL_WHITELISTED_APPS }}
steps:
- uses: actions/checkout@v4

Expand All @@ -60,8 +60,5 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Test unit
run: npm run test

- name: Test with coverage
run: npm run ctest
4 changes: 2 additions & 2 deletions .github/workflows/dapp-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
docker-registry: docker.io
sconify-version: '5.9.0-v15'
binary: /usr/local/bin/node
command: node /app/src/app.js
command: node
host-path: |
/etc/hosts
/etc/resolv.conf
binary-fs: true
fs-dir: /app
heap: 1G
heap: 7G
dlopen: 1
mprotect: 1
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dapp-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
docker-registry: docker.io
sconify-version: '5.9.0-v15'
binary: /usr/local/bin/node
command: node /app/src/app.js
command: node
host-path: |
/etc/hosts
/etc/resolv.conf
binary-fs: true
fs-dir: /app
heap: 1G
heap: 7G
dlopen: 1
mprotect: 1
secrets:
Expand Down
4 changes: 2 additions & 2 deletions dapp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:20-alpine3.22
FROM node:20.19-alpine3.22
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY ./src .
ENTRYPOINT [ "node", "/app/app.js"]
ENTRYPOINT [ "node", "--disable-wasm-trap-handler", "/app/app.js" ]
4 changes: 2 additions & 2 deletions deployment-dapp/src/singleFunction/deployApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
const type = APP_TYPE;

const mrenclave = {
framework: 'SCONE' as any, // workaround framework not auto capitalized

Check warning on line 28 in deployment-dapp/src/singleFunction/deployApp.ts

View workflow job for this annotation

GitHub Actions / check-code

Unexpected any. Specify a different type
version: 'v5.9',
entrypoint: 'node /app/app.js',
heapSize: 1073741824,
entrypoint: 'node --disable-wasm-trap-handler /app/app.js',
heapSize: 7516192768,
fingerprint,
};
const app = {
Expand Down
Loading