Skip to content

Open-source status page, incident response and uptime monitoring

🚑 fix fly build

Thibault Le Ouayed32f3e338ad
diff --git a/apps/server/Dockerfile b/apps/server/Dockerfile
index 4cb8a1dd5..873b66449 100644
--- a/apps/server/Dockerfile
+++ b/apps/server/Dockerfile
@@ -3,7 +3,7 @@
# See https://github.com/lenra-io/dofigen
# install
-FROM oven/bun@sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454 AS install
+FROM oven/bun@sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df AS install
WORKDIR /app/
RUN \
--mount=type=bind,target=package.json,source=package.json \
@@ -14,6 +14,7 @@ RUN \
--mount=type=bind,target=packages/error/package.json,source=packages/error/package.json \
--mount=type=bind,target=packages/notifications/discord/package.json,source=packages/notifications/discord/package.json \
--mount=type=bind,target=packages/notifications/email/package.json,source=packages/notifications/email/package.json \
+ --mount=type=bind,target=packages/notifications/opsgenie/package.json,source=packages/notifications/opsgenie/package.json \
--mount=type=bind,target=packages/notifications/pagerduty/package.json,source=packages/notifications/pagerduty/package.json \
--mount=type=bind,target=packages/notifications/slack/package.json,source=packages/notifications/slack/package.json \
--mount=type=bind,target=packages/notifications/twillio-sms/package.json,source=packages/notifications/twillio-sms/package.json \
@@ -27,7 +28,7 @@ RUN \
bun install --production --ignore-scripts --frozen-lockfile --verbose
# build
-FROM oven/bun@sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454 AS build
+FROM oven/bun@sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df AS build
ENV NODE_ENV="production"
WORKDIR /app/apps/server
COPY \
diff --git a/apps/server/dofigen.lock b/apps/server/dofigen.lock
index bec8afe89..429c87bde 100644
--- a/apps/server/dofigen.lock
+++ b/apps/server/dofigen.lock
@@ -7,10 +7,27 @@ effective: |
- /packages/api
- /packages/integrations/vercel
builders:
+ build:
+ fromImage:
+ path: oven/bun
+ digest: sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df
+ workdir: /app/apps/server
+ env:
+ NODE_ENV: production
+ copy:
+ - paths:
+ - .
+ target: /app/
+ - fromBuilder: install
+ paths:
+ - /app/node_modules
+ target: /app/node_modules
+ run:
+ - bun build --compile --sourcemap src/index.ts --outfile=app
install:
fromImage:
path: oven/bun
- digest: sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454
+ digest: sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df
workdir: /app/
run:
- bun install --production --ignore-scripts --frozen-lockfile --verbose
@@ -33,6 +50,8 @@ effective: |
source: packages/notifications/discord/package.json
- target: packages/notifications/email/package.json
source: packages/notifications/email/package.json
+ - target: packages/notifications/opsgenie/package.json
+ source: packages/notifications/opsgenie/package.json
- target: packages/notifications/pagerduty/package.json
source: packages/notifications/pagerduty/package.json
- target: packages/notifications/slack/package.json
@@ -51,23 +70,6 @@ effective: |
source: packages/tsconfig/package.json
- target: packages/assertions/package.json
source: packages/assertions/package.json
- build:
- fromImage:
- path: oven/bun
- digest: sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454
- workdir: /app/apps/server
- env:
- NODE_ENV: production
- copy:
- - paths:
- - .
- target: /app/
- - fromBuilder: install
- paths:
- - /app/node_modules
- target: /app/node_modules
- run:
- - bun build --compile --sourcemap src/index.ts --outfile=app
fromImage:
path: debian
digest: sha256:b0c91cc181796d34c53f7ea106fbcddaf87f3e601cc371af6a24a019a489c980
@@ -83,17 +85,17 @@ effective: |
- port: 3000
images:
registry.hub.docker.com:443:
+ oven:
+ bun:
+ latest:
+ digest: sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df
library:
debian:
bullseye-slim:
digest: sha256:b0c91cc181796d34c53f7ea106fbcddaf87f3e601cc371af6a24a019a489c980
- oven:
- bun:
- latest:
- digest: sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454
resources:
dofigen.yml:
- hash: 06641706a075437d0d038b10609949fde32ab3340f6eb081add0b1e0a1889d8b
+ hash: 4983836e4e9309e7c36e9d8b42696abad4223effb74f65efdc47e8f651e323a6
content: |
ignore:
- node_modules
@@ -116,6 +118,7 @@ resources:
- packages/error/package.json
- packages/notifications/discord/package.json
- packages/notifications/email/package.json
+ - packages/notifications/opsgenie/package.json
- packages/notifications/pagerduty/package.json
- packages/notifications/slack/package.json
- packages/notifications/twillio-sms/package.json
diff --git a/apps/server/dofigen.yml b/apps/server/dofigen.yml
index bc3d5f9b4..7074cfd51 100644
--- a/apps/server/dofigen.yml
+++ b/apps/server/dofigen.yml
@@ -19,6 +19,7 @@ builders:
- packages/error/package.json
- packages/notifications/discord/package.json
- packages/notifications/email/package.json
+ - packages/notifications/opsgenie/package.json
- packages/notifications/pagerduty/package.json
- packages/notifications/slack/package.json
- packages/notifications/twillio-sms/package.json