Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/display issues #39

Merged
merged 6 commits into from
Jan 18, 2024

Revert damage icon

479bd4b
Select commit
Loading
Failed to load commit list.
Merged

Bugfix/display issues #39

Revert damage icon
479bd4b
Select commit
Loading
Failed to load commit list.
Google Cloud Build / push-to-feature-branch (ffn-utils) succeeded May 31, 2024 in 8m 14s

Summary

Build Information

Trigger push-to-feature-branch
Build 37587706-e86d-4b40-b888-6da623bbf270
Start 2024-05-31T12:29:23-07:00
Duration 8m13.313s
Status SUCCESS

Steps

Step Status Duration
env SUCCESS 973ms
docker_build SUCCESS 7m4.975s
cloudrun_deploy SUCCESS 1m3.762s

Details

starting build "37587706-e86d-4b40-b888-6da623bbf270"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/r00tat/ffn-hydrantenmap
 * branch            479bd4b76e29c71e9a93d2a6a3be08134549cf0e -> FETCH_HEAD
HEAD is now at 479bd4b Revert damage icon
BUILD
Starting Step #0 - "env"
Step #0 - "env": Already have image (with digest): gcr.io/cloud-builders/gcloud
Finished Step #0 - "env"
Starting Step #1 - "docker_build"
Step #1 - "docker_build": Already have image (with digest): gcr.io/cloud-builders/docker
Step #1 - "docker_build": Sending build context to Docker daemon  2.064MB

Step #1 - "docker_build": Step 1/24 : FROM node:20-alpine AS base
Step #1 - "docker_build": 20-alpine: Pulling from library/node
Step #1 - "docker_build": d25f557d7f31: Already exists
Step #1 - "docker_build": 6b4fa06223a5: Pulling fs layer
Step #1 - "docker_build": 9276168bdaa6: Pulling fs layer
Step #1 - "docker_build": 4f675eb108d0: Pulling fs layer
Step #1 - "docker_build": 9276168bdaa6: Verifying Checksum
Step #1 - "docker_build": 9276168bdaa6: Download complete
Step #1 - "docker_build": 4f675eb108d0: Download complete
Step #1 - "docker_build": 6b4fa06223a5: Download complete
Step #1 - "docker_build": 6b4fa06223a5: Pull complete
Step #1 - "docker_build": 9276168bdaa6: Pull complete
Step #1 - "docker_build": 4f675eb108d0: Pull complete
Step #1 - "docker_build": Digest: sha256:928b24aaadbd47c1a7722c563b471195ce54788bf8230ce807e1dd500aec0549
Step #1 - "docker_build": Status: Downloaded newer image for node:20-alpine
Step #1 - "docker_build":  ---> a5d8dcc63f4d
Step #1 - "docker_build": Step 2/24 : FROM base AS deps
Step #1 - "docker_build":  ---> a5d8dcc63f4d
Step #1 - "docker_build": Step 3/24 : RUN apk add --no-cache libc6-compat
Step #1 - "docker_build":  ---> Running in 59a17cd8d20c
Step #1 - "docker_build": fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
Step #1 - "docker_build": fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
Step #1 - "docker_build": (1/3) Installing musl-obstack (1.2.3-r2)
Step #1 - "docker_build": (2/3) Installing libucontext (1.2-r3)
Step #1 - "docker_build": (3/3) Installing gcompat (1.1.0-r4)
Step #1 - "docker_build": OK: 11 MiB in 19 packages
Step #1 - "docker_build": Removing intermediate container 59a17cd8d20c
Step #1 - "docker_build":  ---> 8c988c101de1
Step #1 - "docker_build": Step 4/24 : WORKDIR /app
Step #1 - "docker_build":  ---> Running in ec9f35cb79a4
Step #1 - "docker_build": Removing intermediate container ec9f35cb79a4
Step #1 - "docker_build":  ---> 1eecc345125c
Step #1 - "docker_build": Step 5/24 : COPY package.json package-lock.json ./
Step #1 - "docker_build":  ---> 4593da949820
Step #1 - "docker_build": Step 6/24 : RUN npm ci
Step #1 - "docker_build":  ---> Running in 2cc7e61e8fff
Step #1 - "docker_build": �[91mnpm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
Step #1 - "docker_build": �[0m�[91mnpm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
Step #1 - "docker_build": �[0m�[91mnpm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
Step #1 - "docker_build": �[0m
Step #1 - "docker_build": added 959 packages, and audited 960 packages in 40s
Step #1 - "docker_build": 
Step #1 - "docker_build": 168 packages are looking for funding
Step #1 - "docker_build":   run `npm fund` for details
Step #1 - "docker_build": 
Step #1 - "docker_build": 3 vulnerabilities (2 moderate, 1 high)
Step #1 - "docker_build": 
Step #1 - "docker_build": To address all issues, run:
Step #1 - "docker_build":   npm audit fix
Step #1 - "docker_build": 
Step #1 - "docker_build": Run `npm audit` for details.
Step #1 - "docker_build": �[91mnpm notice
Step #1 - "docker_build": npm notice New minor version of npm available! 10.7.0 -> 10.8.1
Step #1 - "docker_build": npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
Step #1 - "docker_build": npm notice To update run: npm install -g npm@10.8.1
Step #1 - "docker_build": npm notice
Step #1 - "docker_build": �[0mRemoving intermediate container 2cc7e61e8fff
Step #1 - "docker_build":  ---> faf2a14fd50a
Step #1 - "docker_build": Step 7/24 : FROM deps AS builder
Step #1 - "docker_build":  ---> faf2a14fd50a
Step #1 - "docker_build": Step 8/24 : WORKDIR /app
Step #1 - "docker_build":  ---> Running in 276a4e84b600
Step #1 - "docker_build": Removing intermediate container 276a4e84b600
Step #1 - "docker_build":  ---> 9dade9eae1c8
Step #1 - "docker_build": Step 9/24 : COPY . .
Step #1 - "docker_build":  ---> d6e4ddc15d9c
Step #1 - "docker_build": Step 10/24 : RUN npm run build && npm ci --production --ignore-scripts --prefer-offline
Step #1 - "docker_build":  ---> Running in 2fd4c7302028
Step #1 - "docker_build": 
Step #1 - "docker_build": > build
Step #1 - "docker_build": > next build
Step #1 - "docker_build": 
Step #1 - "docker_build": Attention: Next.js now collects completely anonymous telemetry regarding usage.
Step #1 - "docker_build": This information is used to shape Next.js' roadmap and prioritize features.
Step #1 - "docker_build": 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:
Step #1 - "docker_build": https://nextjs.org/telemetry
Step #1 - "docker_build": 
Step #1 - "docker_build":    Linting and checking validity of types ...
Step #1 - "docker_build":    ▲ Next.js 14.0.4
Step #1 - "docker_build":    - Environments: .env.local
Step #1 - "docker_build": 
Step #1 - "docker_build":    Creating an optimized production build ...
Step #1 - "docker_build": > [PWA] Compile server
Step #1 - "docker_build": > [PWA] Compile server
Step #1 - "docker_build": > [PWA] Compile client (static)
Step #1 - "docker_build": > [PWA] Custom worker found: /app/src/worker/index.ts
Step #1 - "docker_build": > [PWA] Build custom worker: /app/public/worker-XMli5bOOczBwxPlF52-HL.js
Step #1 - "docker_build": > [PWA] Auto register service worker with: /app/node_modules/next-pwa/register.js
Step #1 - "docker_build": > [PWA] Service worker: /app/public/firebase-messaging-sw.js
Step #1 - "docker_build": > [PWA]   url: /firebase-messaging-sw.js
Step #1 - "docker_build": > [PWA]   scope: /
Step #1 - "docker_build":  ✓ Compiled successfully
Step #1 - "docker_build":    Collecting page data ...
Step #1 - "docker_build":    Generating static pages (0/16) ...
Step #1 - "docker_build": 
   Generating static pages (4/16) 
Step #1 - "docker_build": 
   Generating static pages (8/16) 
Step #1 - "docker_build": 
   Generating static pages (12/16) 
Step #1 - "docker_build": 
 ✓ Generating static pages (16/16) 
Step #1 - "docker_build":    Finalizing page optimization ...
Step #1 - "docker_build":    Collecting build traces ...
Step #1 - "docker_build": 
Step #1 - "docker_build": Route (pages)                              Size     First Load JS
Step #1 - "docker_build": ┌ ○ /                                      384 B           266 kB
Step #1 - "docker_build": ├   /_app                                  0 B             265 kB
Step #1 - "docker_build": ├ ○ /404                                   183 B           265 kB
Step #1 - "docker_build": ├ ○ /about                                 182 B           265 kB
Step #1 - "docker_build": ├ λ /api/admin-notifications               0 B             265 kB
Step #1 - "docker_build": ├ λ /api/chat                              0 B             265 kB
Step #1 - "docker_build": ├ λ /api/fzg                               0 B             265 kB
Step #1 - "docker_build": ├ λ /api/geojson                           0 B             265 kB
Step #1 - "docker_build": ├ λ /api/hazmat                            0 B             265 kB
Step #1 - "docker_build": ├ λ /api/hello                             0 B             265 kB
Step #1 - "docker_build": ├ λ /api/hydranten                         0 B             265 kB
Step #1 - "docker_build": ├ λ /api/icons/marker                      0 B             265 kB
Step #1 - "docker_build": ├ λ /api/responses                         0 B             265 kB
Step #1 - "docker_build": ├ λ /api/spreadsheet                       0 B             265 kB
Step #1 - "docker_build": ├ λ /api/users                             0 B             265 kB
Step #1 - "docker_build": ├ λ /api/users/[uid]                       0 B             265 kB
Step #1 - "docker_build": ├ λ /api/users/[uid]/messaging             0 B             265 kB
Step #1 - "docker_build": ├ ○ /chat                                  334 B           266 kB
Step #1 - "docker_build": ├ ○ /ebenen                                387 B           266 kB
Step #1 - "docker_build": ├ ○ /einsaetze                             369 B           266 kB
Step #1 - "docker_build": ├ ○ /einsatz/[firecallId]                  497 B           266 kB
Step #1 - "docker_build": ├ ○ /fahrzeuge                             388 B           266 kB
Step #1 - "docker_build": ├ ○ /geschaeftsbuch                        390 B           266 kB
Step #1 - "docker_build": ├ ○ /login                                 422 B           266 kB
Step #1 - "docker_build": ├ ○ /print                                 2.58 kB         268 kB
Step #1 - "docker_build": ├ ○ /schadstoff                            328 B           266 kB
Step #1 - "docker_build": ├ ○ /tagebuch                              386 B           266 kB
Step #1 - "docker_build": ├ ○ /tokens                                334 B           266 kB
Step #1 - "docker_build": └ ○ /users                                 129 kB          394 kB
Step #1 - "docker_build": + First Load JS shared by all              266 kB
Step #1 - "docker_build":   ├ chunks/framework-92a422f151f77ddb.js   45.2 kB
Step #1 - "docker_build":   ├ chunks/main-57b6df9032981ca3.js        33.9 kB
Step #1 - "docker_build":   ├ chunks/pages/_app-6d4835bb5b186198.js  183 kB
Step #1 - "docker_build":   ├ chunks/webpack-9db248a9b3573e33.js     3 kB
Step #1 - "docker_build":   └ css/393c1b4bcd9b202d.css               924 B
Step #1 - "docker_build": 
Step #1 - "docker_build": ƒ Middleware                               39.4 kB
Step #1 - "docker_build": 
Step #1 - "docker_build": ○  (Static)   prerendered as static content
Step #1 - "docker_build": λ  (Dynamic)  server-rendered on demand using Node.js
Step #1 - "docker_build": 
Step #1 - "docker_build": �[91mnpm warn config production Use `--omit=dev` instead.
Step #1 - "docker_build": �[0m�[91mnpm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
Step #1 - "docker_build": �[0m�[91mnpm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
Step #1 - "docker_build": �[0m�[91mnpm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
Step #1 - "docker_build": �[0m
Step #1 - "docker_build": added 785 packages, and audited 786 packages in 35s
Step #1 - "docker_build": 
Step #1 - "docker_build": 118 packages are looking for funding
Step #1 - "docker_build":   run `npm fund` for details
Step #1 - "docker_build": 
Step #1 - "docker_build": 3 vulnerabilities (2 moderate, 1 high)
Step #1 - "docker_build": 
Step #1 - "docker_build": To address all issues, run:
Step #1 - "docker_build":   npm audit fix
Step #1 - "docker_build": 
Step #1 - "docker_build": Run `npm audit` for details.
Step #1 - "docker_build": Removing intermediate container 2fd4c7302028
Step #1 - "docker_build":  ---> 7d8cb391dcd7
Step #1 - "docker_build": Step 11/24 : FROM base AS runner
Step #1 - "docker_build":  ---> a5d8dcc63f4d
Step #1 - "docker_build": Step 12/24 : WORKDIR /app
Step #1 - "docker_build":  ---> Running in 9cc2e27c9d13
Step #1 - "docker_build": Removing intermediate container 9cc2e27c9d13
Step #1 - "docker_build":  ---> 91ff47fc1cac
Step #1 - "docker_build": Step 13/24 : ENV NODE_ENV production
Step #1 - "docker_build":  ---> Running in 547b6393a870
Step #1 - "docker_build": Removing intermediate container 547b6393a870
Step #1 - "docker_build":  ---> b6167547c53e
Step #1 - "docker_build": Step 14/24 : RUN addgroup -g 1001 -S nodejs
Step #1 - "docker_build":  ---> Running in a0a14223d846
Step #1 - "docker_build": Removing intermediate container a0a14223d846
Step #1 - "docker_build":  ---> 533d256454cf
Step #1 - "docker_build": Step 15/24 : RUN adduser -S nextjs -u 1001
Step #1 - "docker_build":  ---> Running in 54a66703c13b
Step #1 - "docker_build": Removing intermediate container 54a66703c13b
Step #1 - "docker_build":  ---> c90fc1ed1ba1
Step #1 - "docker_build": Step 16/24 : COPY --from=builder /app/next.config.js ./
Step #1 - "docker_build":  ---> 12d45bf36d14
Step #1 - "docker_build": Step 17/24 : COPY --from=builder /app/public ./public
Step #1 - "docker_build":  ---> 1194fb7a2145
Step #1 - "docker_build": Step 18/24 : COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
Step #1 - "docker_build":  ---> 5fae180412e4
Step #1 - "docker_build": Step 19/24 : COPY --from=builder /app/node_modules ./node_modules
Step #1 - "docker_build":  ---> 64d4600a0784
Step #1 - "docker_build": Step 20/24 : COPY --from=builder /app/package.json ./package.json
Step #1 - "docker_build":  ---> 6e5d52f4b676
Step #1 - "docker_build": Step 21/24 : USER nextjs
Step #1 - "docker_build":  ---> Running in 5ac796dc43f8
Step #1 - "docker_build": Removing intermediate container 5ac796dc43f8
Step #1 - "docker_build":  ---> 58e9c9cf848b
Step #1 - "docker_build": Step 22/24 : EXPOSE 3000
Step #1 - "docker_build":  ---> Running in 6c287db6e89c
Step #1 - "docker_build": Removing intermediate container 6c287db6e89c
Step #1 - "docker_build":  ---> 39e9b3f09901
Step #1 - "docker_build": Step 23/24 : ENV PORT 3000
Step #1 - "docker_build":  ---> Running in fa3b8581971e
Step #1 - "docker_build": Removing intermediate container fa3b8581971e
Step #1 - "docker_build":  ---> ea8e83513a9c
Step #1 - "docker_build": Step 24/24 : CMD ["node_modules/.bin/next", "start"]
Step #1 - "docker_build":  ---> Running in c2b36c096236
Step #1 - "docker_build": Removing intermediate container c2b36c096236
Step #1 - "docker_build":  ---> 01f48aa73ca9
Step #1 - "docker_build": Successfully built 01f48aa73ca9
Step #1 - "docker_build": Successfully tagged europe-west3-docker.pkg.dev/ffn-utils/hydrantenkarte/hydrantenmap/dev:479bd4b76e29c71e9a93d2a6a3be08134549cf0e
Step #1 - "docker_build": The push refers to repository [europe-west3-docker.pkg.dev/ffn-utils/hydrantenkarte/hydrantenmap/dev]
Step #1 - "docker_build": 3f73703b7395: Preparing
Step #1 - "docker_build": 0ffbe253928a: Preparing
Step #1 - "docker_build": d9f802e8f8ad: Preparing
Step #1 - "docker_build": 66a7a9386fba: Preparing
Step #1 - "docker_build": 1ba52a905dd9: Preparing
Step #1 - "docker_build": 48730efa0b91: Preparing
Step #1 - "docker_build": 8f57b586b353: Preparing
Step #1 - "docker_build": 115ef37a6881: Preparing
Step #1 - "docker_build": 87649fd3c843: Preparing
Step #1 - "docker_build": d40718703821: Preparing
Step #1 - "docker_build": ccf3ce78fb3a: Preparing
Step #1 - "docker_build": 02f2bcb26af5: Preparing
Step #1 - "docker_build": 48730efa0b91: Waiting
Step #1 - "docker_build": 8f57b586b353: Waiting
Step #1 - "docker_build": 115ef37a6881: Waiting
Step #1 - "docker_build": 87649fd3c843: Waiting
Step #1 - "docker_build": d40718703821: Waiting
Step #1 - "docker_build": ccf3ce78fb3a: Waiting
Step #1 - "docker_build": 02f2bcb26af5: Waiting
Step #1 - "docker_build": 3f73703b7395: Pushed
Step #1 - "docker_build": 1ba52a905dd9: Pushed
Step #1 - "docker_build": 66a7a9386fba: Pushed
Step #1 - "docker_build": 48730efa0b91: Pushed
Step #1 - "docker_build": 8f57b586b353: Pushed
Step #1 - "docker_build": 115ef37a6881: Pushed
Step #1 - "docker_build": 87649fd3c843: Pushed
Step #1 - "docker_build": 02f2bcb26af5: Layer already exists
Step #1 - "docker_build": d40718703821: Pushed
Step #1 - "docker_build": d9f802e8f8ad: Pushed
Step #1 - "docker_build": ccf3ce78fb3a: Pushed
Step #1 - "docker_build": 0ffbe253928a: Pushed
Step #1 - "docker_build": 479bd4b76e29c71e9a93d2a6a3be08134549cf0e: digest: sha256:b21af6a6d5e398765f80b8178be291762a0d43343a1dffbb4ac744bf269287ef size: 2829
Step #1 - "docker_build": The push refers to repository [europe-west3-docker.pkg.dev/ffn-utils/hydrantenkarte/hydrantenmap/dev]
Step #1 - "docker_build": 3f73703b7395: Preparing
Step #1 - "docker_build": 0ffbe253928a: Preparing
Step #1 - "docker_build": d9f802e8f8ad: Preparing
Step #1 - "docker_build": 66a7a9386fba: Preparing
Step #1 - "docker_build": 1ba52a905dd9: Preparing
Step #1 - "docker_build": 48730efa0b91: Preparing
Step #1 - "docker_build": 8f57b586b353: Preparing
Step #1 - "docker_build": 115ef37a6881: Preparing
Step #1 - "docker_build": 87649fd3c843: Preparing
Step #1 - "docker_build": d40718703821: Preparing
Step #1 - "docker_build": ccf3ce78fb3a: Preparing
Step #1 - "docker_build": 02f2bcb26af5: Preparing
Step #1 - "docker_build": 48730efa0b91: Waiting
Step #1 - "docker_build": 8f57b586b353: Waiting
Step #1 - "docker_build": 115ef37a6881: Waiting
Step #1 - "docker_build": 87649fd3c843: Waiting
Step #1 - "docker_build": d40718703821: Waiting
Step #1 - "docker_build": ccf3ce78fb3a: Waiting
Step #1 - "docker_build": 02f2bcb26af5: Waiting
Step #1 - "docker_build": 0ffbe253928a: Layer already exists
Step #1 - "docker_build": 66a7a9386fba: Layer already exists
Step #1 - "docker_build": 3f73703b7395: Layer already exists
Step #1 - "docker_build": d9f802e8f8ad: Layer already exists
Step #1 - "docker_build": 1ba52a905dd9: Layer already exists
Step #1 - "docker_build": 48730efa0b91: Layer already exists
Step #1 - "docker_build": 115ef37a6881: Layer already exists
Step #1 - "docker_build": 87649fd3c843: Layer already exists
Step #1 - "docker_build": 8f57b586b353: Layer already exists
Step #1 - "docker_build": 02f2bcb26af5: Layer already exists
Step #1 - "docker_build": d40718703821: Layer already exists
Step #1 - "docker_build": ccf3ce78fb3a: Layer already exists
Step #1 - "docker_build": latest: digest: sha256:b21af6a6d5e398765f80b8178be291762a0d43343a1dffbb4ac744bf269287ef size: 2829
Finished Step #1 - "docker_build"
Starting Step #2 - "cloudrun_deploy"
Step #2 - "cloudrun_deploy": Already have image (with digest): gcr.io/cloud-builders/gcloud
Step #2 - "cloudrun_deploy": Deploying container to Cloud Run service [hydrantenmap-dev] in project [ffn-utils] region [europe-west4]
Step #2 - "cloudrun_deploy": Deploying...
Step #2 - "cloudrun_deploy": Setting IAM Policy........................done
Step #2 - "cloudrun_deploy": Creating Revision..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done
Step #2 - "cloudrun_deploy": Routing traffic.....done
Step #2 - "cloudrun_deploy": Done.
Step #2 - "cloudrun_deploy": Service [hydrantenmap-dev] revision [hydrantenmap-dev-00115-fzl] has been deployed and is serving 100 percent of traffic.
Step #2 - "cloudrun_deploy": Service URL: https://hydrantenmap-dev-xrhhpxsnva-ez.a.run.app
Finished Step #2 - "cloudrun_deploy"
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/37587706-e86d-4b40-b888-6da623bbf270?project=429163084278