Apps/Build 2e0f72e9

Build Log

failed
commit dd4959f5maintriggered by webhook
[harbor] Starting build for https://git.adams-ai.com/john/dugout.git@main
[harbor] Cloned main
[harbor] Running docker build
#0 building with "default" instance using docker driver

#1 DONE 0.1s

#1 [internal] load build definition from Dockerfile
#2 [internal] load metadata for docker.io/library/node:20-alpine
#1 transferring dockerfile: 1.64kB done
#2 DONE 0.4s
#3 transferring context: 232B done

#3 DONE 0.1s
#4 [internal] load build context
#4 DONE 0.0s

#3 [internal] load .dockerignore
#5 [builder 1/7] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293
#5 resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 0.0s done

#5 DONE 0.0s
#7 CACHED
#4 [internal] load build context

#6 [builder 2/7] WORKDIR /app


#6 CACHED
#4 transferring context: 1.41MB 0.1s done
#7 [runner 3/9] RUN apk add --no-cache curl
#10 [builder 5/7] COPY . .
#8 CACHED

#8 [builder 3/7] COPY package*.json ./


#9 CACHED
#4 DONE 0.1s
#9 [builder 4/7] RUN npm ci --include=dev
#10 DONE 0.5s

#11 [builder 6/7] RUN npm run build
#11 2.301 > dugout@0.1.0 build
#11 2.301 
#11 2.301 > next build
#11 2.301 
#11 3.709 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#11 3.710 This information is used to shape Next.js' roadmap and prioritize features.
#11 3.711 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#11 3.711 
#11 3.711 https://nextjs.org/telemetry
#11 3.953    ▲ Next.js 15.5.15
#11 3.954 
#11 4.374    Creating an optimized production build ...
#11 59.85 │   }
#11 59.85 ┆        ^-- @import rules must precede all rules aside from @charset and @layer statements
#11 59.85 
#11 59.85 Found 1 warning while optimizing generated CSS:
#11 59.85 │ }
#11 59.85 ┆
#11 59.85 │ @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap");
#11 59.85 │ html,
#11 59.85 
#11 59.85 │ body {
#11 66.41  ✓ Compiled successfully in 54s
#11 66.43    Linting and checking validity of types ...
#11 95.64    Collecting page data ...
#11 107.7    Generating static pages (0/10) ...
#11 110.5    Generating static pages (2/10) 
#11 110.5    Generating static pages (4/10) 
#11 110.5    Generating static pages (7/10) 
#11 110.5  ✓ Generating static pages (10/10)
#11 113.6    Finalizing page optimization ...
#11 113.6    Collecting build traces ...
#11 160.0 
#11 160.1 Route (app)                                                  Size  First Load JS
#11 160.1 ├ ƒ /api/auth/change-password                               301 B         102 kB
#11 160.1 ├ ƒ /api/auth/confirm-email                                 301 B         102 kB
#11 160.1 ├ ƒ /api/auth/login                                         301 B         102 kB
#11 160.1 ├ ƒ /api/auth/logout                                        301 B         102 kB
#11 160.1 ├ ƒ /api/auth/magic-consume                                 301 B         102 kB
#11 160.1 ├ ƒ /api/auth/magic-issue                                   301 B         102 kB
#11 160.1 ├ ƒ /api/auth/me                                            301 B         102 kB
#11 160.1 ├ ƒ /api/auth/password-reset/confirm                        301 B         102 kB
#11 160.1 ├ ƒ /api/auth/password-reset/request                        301 B         102 kB
#11 160.1 ├ ƒ /api/auth/resend-confirmation                           301 B         102 kB
#11 160.1 ├ ƒ /api/auth/signup                                        301 B         102 kB
#11 160.1 ┌ ○ /                                                       182 B         106 kB
#11 160.1 ├ ƒ /api/admin/run-digests                                  301 B         102 kB
#11 160.1 ├ ƒ /api/account/notifications                              301 B         102 kB
#11 160.1 ├ ƒ /api/billing/checkout                                   301 B         102 kB
#11 160.1 ├ ƒ /api/account/delete                                     301 B         102 kB
#11 160.1 ├ ƒ /api/boards                                             301 B         102 kB
#11 160.1 ├ ƒ /api/auth/2fa/disable                                   301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/expenses                               301 B         102 kB
#11 160.1 ├ ƒ /api/billing/portal                                     301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/intake-forms                           301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/budget                                 301 B         102 kB
#11 160.1 ├ ○ /_not-found                                             996 B         103 kB
#11 160.1 ├ ƒ /api/boards/[id]/fields/[fieldId]                       301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/share-links                            301 B         102 kB
#11 160.1 ├ ƒ /api/auth/2fa/setup                                     301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/fields                                 301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/tasks                                  301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/statuses/[statusId]                    301 B         102 kB
#11 160.1 ├ ƒ /api/change-requests/[id]                               301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/intake-forms/[formId]                  301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/statuses                               301 B         102 kB
#11 160.1 ├ ƒ /api/change-requests/[id]/attachments/[attachmentId]    301 B         102 kB
#11 160.1 ├ ƒ /api/change-requests/[id]/attachments                   301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/share-links/[linkId]                   301 B         102 kB
#11 160.1 ├ ƒ /api/change-requests/[id]/notes/[noteId]                301 B         102 kB
#11 160.1 ├ ƒ /api/changes/callback                                   301 B         102 kB
#11 160.1 ├ ƒ /api/health                                             301 B         102 kB
#11 160.1 ├ ƒ /api/change-requests/[id]/notes                         301 B         102 kB
#11 160.1 ├ ƒ /api/expenses/[id]                                      301 B         102 kB
#11 160.1 ├ ƒ /api/admin/invite-codes                                 301 B         102 kB
#11 160.1 ├ ƒ /api/invitations/[token]                                301 B         102 kB
#11 160.1 ├ ƒ /api/boards/[id]/invoices                               301 B         102 kB
#11 160.1 ├ ƒ /api/invoices/[id]/pdf                                  301 B         102 kB
#11 160.1 ├ ƒ /api/orgs/[id]/invitations                              301 B         102 kB
#11 160.1 ├ ƒ /api/orgs/switch                                        301 B         102 kB
#11 160.1 ├ ƒ /api/invoices/[id]                                      301 B         102 kB
#11 160.1 ├ ƒ /api/invoices/[id]/stripe-push                          301 B         102 kB
#11 160.1 ├ ƒ /api/invitations/[token]/accept                         301 B         102 kB
#11 160.1 ├ ƒ /api/orgs                                               301 B         102 kB
#11 160.1 ├ ƒ /api/portal/[token]/tasks/[taskId]/comments             301 B         102 kB
#11 160.1 ├ ƒ /api/portal/[token]/intake/[formId]                     301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/approval                                301 B         102 kB
#11 160.1 ├ ƒ /api/portal/[token]/tasks/[taskId]/approval             301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/attachments                             301 B         102 kB
#11 160.1 ├ ƒ /api/portal/[token]/sessions                            301 B         102 kB
#11 160.1 ├ ƒ /api/change-requests/[id]/move                          301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/dependencies                            301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/comments                                301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]                                         301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/complete                                301 B         102 kB
#11 160.1 ├ ƒ /api/orgs/[id]/invitations/[invId]                      301 B         102 kB
#11 160.1 ├ ƒ /api/attachments/[id]                                   301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/time-entries                            301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/dependencies/[blockerId]                301 B         102 kB
#11 160.1 ├ ƒ /api/webhooks/stripe                                    301 B         102 kB
#11 160.1 ├ ƒ /api/tasks/[id]/fields                                  301 B         102 kB
#11 160.1 ├ ƒ /boards                                               2.08 kB         108 kB
#11 160.1 ├ ƒ /api/change-requests                                    301 B         102 kB
#11 160.1 ├ ƒ /boards/[id]                                          38.3 kB         144 kB
#11 160.1 ├ ƒ /api/tasks/[id]/comments/[commentId]                    301 B         102 kB
#11 160.1 ├ ƒ /api/time-entries/[id]                                  301 B         102 kB
#11 160.1 ├ ƒ /api/templates                                          301 B         102 kB
#11 160.1 ├ ○ /change-password                                      1.65 kB         104 kB
#11 160.1 ├ ƒ /boards/[id]/expenses                                 5.18 kB         111 kB
#11 160.1 ├ ƒ /api/templates/[id]/apply                               301 B         102 kB
#11 160.1 ├ ƒ /boards/[id]/activity                                  1.6 kB         107 kB
#11 160.1 ├ ƒ /invitations/[token]                                  1.86 kB         107 kB
#11 160.1 ├ ƒ /change-requests                                      7.18 kB         113 kB
#11 160.1 ├ ƒ /api/sops                                               301 B         102 kB
#11 160.1 ├ ○ /legal/privacy                                          182 B         106 kB
#11 160.1 ├ ƒ /boards/[id]/settings                                  4.5 kB         110 kB
#11 160.1 ├ ○ /forgot-password                                      1.67 kB         107 kB
#11 160.1 ├ ○ /legal/terms                                            182 B         106 kB
#11 160.1 ├ ○ /login                                                 2.5 kB         108 kB
#11 160.1 ├ ƒ /onboarding/workspace                                 1.07 kB         103 kB
#11 160.1 ├ ƒ /invoices/[id]                                        2.39 kB         108 kB
#11 160.1 ├ ƒ /api/tasks/[id]/subtasks                                301 B         102 kB
#11 160.1 ├ ƒ /portal/[token]                                         182 B         106 kB
#11 160.1 ├ ƒ /portal/[token]/intake/[formId]                       1.68 kB         107 kB
#11 160.1 ├ ƒ /settings                                             1.87 kB         107 kB
#11 160.1 ├ ƒ /portal/[token]/task/[taskId]                         2.58 kB         108 kB
#11 160.1 ├ ƒ /members                                               3.1 kB         109 kB
#11 160.1 ├ ƒ /settings/notifications                               2.58 kB         108 kB
#11 160.1 ├ ƒ /confirm-email/[token]                                  182 B         106 kB
#11 160.1 ├ ƒ /reset-password/[token]                               2.02 kB         108 kB
#11 160.1 └ ƒ /templates                                             2.4 kB         108 kB
#11 160.1 ├ ƒ /sops                                                  1.6 kB         107 kB
#11 160.1 ├ ○ /signup                                               2.92 kB         108 kB
#11 160.1 ├ ƒ /settings/billing                                     1.93 kB         107 kB
#11 160.1 ├ ƒ /r/[token]                                              182 B         106 kB
#11 160.1 + First Load JS shared by all                              102 kB
#11 160.1 ├ ƒ /invoices                                              1.6 kB         107 kB
#11 160.1 ├ ƒ /pricing                                              2.39 kB         108 kB
#11 160.1   ├ chunks/4bd1b696-f785427dddbba9fb.js                   54.2 kB
#11 160.1 
#11 160.1 ├ ƒ /settings/2fa-setup                                   11.9 kB         117 kB
#11 160.1 ƒ  (Dynamic)  server-rendered on demand
#11 DONE 160.3s
#11 160.1   ├ chunks/1255-5fe68596fe147850.js                         46 kB
#11 160.1 ƒ Middleware                                              34.3 kB
#11 160.1 ○  (Static)   prerendered as static content
#11 160.1   └ other shared chunks (total)                           1.93 kB
#11 160.1 ├ ƒ /dashboard                                            2.58 kB         108 kB
#11 160.1 
#11 160.1 
#11 160.1 
#12 [builder 7/7] RUN node_modules/.bin/esbuild worker.ts   --bundle   --platform=node   --target=node20   --format=cjs   --outfile=worker.cjs   --external:pg-native

#12 0.462 
#12 0.462   worker.cjs  1.3mb ⚠️
#12 0.462 ⚡ Done in 162ms
#12 0.462 
#12 DONE 0.5s

#13 [runner 4/9] COPY --from=builder /app/.next/standalone ./
#13 DONE 0.9s

#14 [runner 5/9] COPY --from=builder /app/.next/static ./.next/static
#14 DONE 0.1s

#17 [runner 8/9] COPY --from=builder /app/worker.cjs ./worker.cjs
#15 [runner 6/9] COPY --from=builder /app/public ./public
#16 DONE 0.0s


#16 [runner 7/9] COPY --from=builder /app/migrations ./migrations
#15 DONE 0.1s

#17 DONE 0.0s
#18 [runner 9/9] RUN printf '#!/bin/sh\nset -e\necho "[startup] running migrations..."\nnode migrations/migrate.mjs\necho "[startup] starting worker..."\nnode worker.cjs &\necho "[startup] starting web server..."\nexec node server.js\n' > /app/start.sh && chmod +x /app/start.sh
#18 DONE 0.3s
#19 exporting to image

#19 exporting layers
#19 exporting layers 6.8s done
#19 exporting manifest sha256:4edb95f71762429f3ba260b0a7357b65bbdf0d5293ace7eb42cc429d571ae4a5 0.0s done
#19 exporting manifest list sha256:96dda876c7cfcdfed6a86c468c102c9f1213ab92603e63a2cfcb7cde58399e9a 0.0s done
#19 exporting config sha256:2626e353412aac4913add15ececc524755987f917f2ec5adbdeaabbcb069dad1 0.0s done
#19 exporting attestation manifest sha256:b49efd50dd843e5607b1ea9dda0f93ef4d0d51637d1836b10668b9aae0e54824 0.0s done
#19 naming to docker.io/harbor/dugout:dd4959f5
#19 unpacking to docker.io/harbor/dugout:dd4959f5
#19 naming to docker.io/harbor/dugout:dd4959f5 done
#19 unpacking to docker.io/harbor/dugout:dd4959f5 1.8s done
#19 DONE 8.9s
 2 warnings found (use docker --debug to expand):

 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_SECRET_KEY") (line 15)
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY") (line 14)
[harbor] Build complete: harbor/dugout:dd4959f5
[harbor] Build failed: new row for relation "deployments" violates check constraint "deployments_slot_check"
[harbor] Starting build for https://git.adams-ai.com/john/dugout.git@main
[harbor] Cloned main
[harbor] Running docker build
#0 building with "default" instance using docker driver


#1 [internal] load build definition from Dockerfile
#2 DONE 0.2s
#1 transferring dockerfile: 1.64kB done
#2 [internal] load metadata for docker.io/library/node:20-alpine
#1 DONE 0.0s
#4 DONE 0.0s
#3 [internal] load .dockerignore

#3 transferring context: 232B done

#3 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293
#4 resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 0.0s done

#5 [internal] load build context
#5 DONE 0.1s
#7 [builder 2/7] WORKDIR /app
#6 [runner 8/9] COPY --from=builder /app/worker.cjs ./worker.cjs
#7 CACHED


#8 CACHED
#5 transferring context: 1.41MB 0.1s done
#6 CACHED
#8 [runner 7/9] COPY --from=builder /app/migrations ./migrations

#11 CACHED
#10 [runner 6/9] COPY --from=builder /app/public ./public

#11 [runner 3/9] RUN apk add --no-cache curl

#13 [builder 5/7] COPY . .
#12 [builder 4/7] RUN npm ci --include=dev


#12 CACHED
#9 CACHED
#10 CACHED


#14 [builder 6/7] RUN npm run build
#15 [runner 4/9] COPY --from=builder /app/.next/standalone ./


#17 CACHED
#15 CACHED

#18 CACHED
#18 [runner 9/9] RUN printf '#!/bin/sh\nset -e\necho "[startup] running migrations..."\nnode migrations/migrate.mjs\necho "[startup] starting worker..."\nnode worker.cjs &\necho "[startup] starting web server..."\nexec node server.js\n' > /app/start.sh && chmod +x /app/start.sh
#14 CACHED
#19 exporting to image
#17 [runner 5/9] COPY --from=builder /app/.next/static ./.next/static

#9 [builder 3/7] COPY package*.json ./

#16 [builder 7/7] RUN node_modules/.bin/esbuild worker.ts   --bundle   --platform=node   --target=node20   --format=cjs   --outfile=worker.cjs   --external:pg-native
#13 CACHED
#19 exporting manifest sha256:4edb95f71762429f3ba260b0a7357b65bbdf0d5293ace7eb42cc429d571ae4a5 done
#19 exporting layers done
#16 CACHED
#19 exporting config sha256:2626e353412aac4913add15ececc524755987f917f2ec5adbdeaabbcb069dad1 done
#19 exporting attestation manifest sha256:dfbd0af70a8fb6a5971d8227d013392f09d93aaafc686d31f5f2aa10cfbaa626 0.0s done
#19 exporting manifest list sha256:ab20d84a9c1b153ed25429bc56db01d71ae60de9349c142b23e046edb0bbf0c4
#19 exporting manifest list sha256:ab20d84a9c1b153ed25429bc56db01d71ae60de9349c142b23e046edb0bbf0c4 0.0s done
#19 naming to docker.io/harbor/dugout:dd4959f5 done
#19 DONE 0.2s
#19 unpacking to docker.io/harbor/dugout:dd4959f5 0.0s done

 2 warnings found (use docker --debug to expand):
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_SECRET_KEY") (line 15)
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY") (line 14)
[harbor] Build complete: harbor/dugout:dd4959f5
[harbor] Build failed: new row for relation "deployments" violates check constraint "deployments_slot_check"
[harbor] Starting build for https://git.adams-ai.com/john/dugout.git@main
[harbor] Cloned main
[harbor] Running docker build
#0 building with "default" instance using docker driver

#2 [internal] load metadata for docker.io/library/node:20-alpine

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.64kB done
#2 DONE 0.1s
#1 DONE 0.0s

#3 DONE 0.0s
#5 transferring context: 1.41MB 0.1s done

#3 transferring context: 232B done
#3 [internal] load .dockerignore

#4 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293
#4 resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 0.0s done
#5 [internal] load build context


#8 [runner 7/9] COPY --from=builder /app/migrations ./migrations
#7 [builder 3/7] COPY package*.json ./
#6 [builder 2/7] WORKDIR /app
#8 CACHED
#5 DONE 0.1s
#10 [builder 6/7] RUN npm run build
#6 CACHED
#10 CACHED

#9 CACHED


#11 CACHED
#11 [runner 8/9] COPY --from=builder /app/worker.cjs ./worker.cjs
#12 [runner 6/9] COPY --from=builder /app/public ./public
#9 [runner 3/9] RUN apk add --no-cache curl
#13 CACHED

#12 CACHED
#14 CACHED
#13 [builder 4/7] RUN npm ci --include=dev


#14 [builder 7/7] RUN node_modules/.bin/esbuild worker.ts   --bundle   --platform=node   --target=node20   --format=cjs   --outfile=worker.cjs   --external:pg-native
#15 [builder 5/7] COPY . .

#7 CACHED
#15 CACHED
#16 CACHED

#18 [runner 9/9] RUN printf '#!/bin/sh\nset -e\necho "[startup] running migrations..."\nnode migrations/migrate.mjs\necho "[startup] starting worker..."\nnode worker.cjs &\necho "[startup] starting web server..."\nexec node server.js\n' > /app/start.sh && chmod +x /app/start.sh

#17 [runner 5/9] COPY --from=builder /app/.next/static ./.next/static
#18 CACHED

#16 [runner 4/9] COPY --from=builder /app/.next/standalone ./
#19 exporting config sha256:2626e353412aac4913add15ececc524755987f917f2ec5adbdeaabbcb069dad1 0.0s done

#19 exporting layers done
#17 CACHED
#19 exporting to image

#19 exporting manifest sha256:4edb95f71762429f3ba260b0a7357b65bbdf0d5293ace7eb42cc429d571ae4a5 done
#19 exporting attestation manifest sha256:07f407500a1c79c61c2e6a60c62113e1b996d6712ddb9a13e2246a0240762d46 0.0s done
#19 exporting manifest list sha256:39cb6f76e84bc87a5affc7d120d5d27afc54472171d72d60b1f6d72987631ea5 0.0s done
#19 naming to docker.io/harbor/dugout:dd4959f5 done
#19 unpacking to docker.io/harbor/dugout:dd4959f5 0.0s done
#19 DONE 0.2s

 2 warnings found (use docker --debug to expand):
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_SECRET_KEY") (line 15)
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY") (line 14)
[harbor] Build complete: harbor/dugout:dd4959f5
[harbor] Build failed: new row for relation "deployments" violates check constraint "deployments_slot_check"