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

Feature/add google colors #87

Merged
merged 22 commits into from
Aug 11, 2023

Merge branch 'main' into feature/add-google-colors

fe38df6
Select commit
Loading
Failed to load commit list.
Merged

Feature/add google colors #87

Merge branch 'main' into feature/add-google-colors
fe38df6
Select commit
Loading
Failed to load commit list.
Google Cloud Build / rmgpgab-devrel-demos-us-central1-GoogleCloudPlatform-devrel-xrq (cloud-quiz-next) succeeded Aug 11, 2023 in 5m 14s

Summary

Build Information

Trigger rmgpgab-devrel-demos-us-central1-GoogleCloudPlatform-devrel-xrq
Build 075c6652-1f20-4431-a8d6-6422369595a7
Start 2023-08-11T13:14:42-07:00
Duration 5m12.512s
Status SUCCESS

Steps

Step Status Duration
Build SUCCESS 4m5.952s
Push SUCCESS 6.026s
Deploy SUCCESS 52.981s

Details

starting build "075c6652-1f20-4431-a8d6-6422369595a7"

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/GoogleCloudPlatform/devrel-demos
 * branch            fe38df65cf0a5cf5804ce82c723d075b598deb8e -> FETCH_HEAD
HEAD is now at fe38df6 Merge branch 'main' into feature/add-google-colors
BUILD
Starting Step #0 - "Build"
Step #0 - "Build": Already have image (with digest): gcr.io/cloud-builders/docker
Step #0 - "Build": Sending build context to Docker daemon  1.189MB

Step #0 - "Build": Step 1/25 : FROM node:18-alpine AS base
Step #0 - "Build": 18-alpine: Pulling from library/node
Step #0 - "Build": 7264a8db6415: Pulling fs layer
Step #0 - "Build": 751194035c36: Pulling fs layer
Step #0 - "Build": eff5dce73b38: Pulling fs layer
Step #0 - "Build": c8ce5be43019: Pulling fs layer
Step #0 - "Build": c8ce5be43019: Waiting
Step #0 - "Build": eff5dce73b38: Verifying Checksum
Step #0 - "Build": eff5dce73b38: Download complete
Step #0 - "Build": 7264a8db6415: Verifying Checksum
Step #0 - "Build": 7264a8db6415: Download complete
Step #0 - "Build": c8ce5be43019: Verifying Checksum
Step #0 - "Build": c8ce5be43019: Download complete
Step #0 - "Build": 7264a8db6415: Pull complete
Step #0 - "Build": 751194035c36: Verifying Checksum
Step #0 - "Build": 751194035c36: Download complete
Step #0 - "Build": 751194035c36: Pull complete
Step #0 - "Build": eff5dce73b38: Pull complete
Step #0 - "Build": c8ce5be43019: Pull complete
Step #0 - "Build": Digest: sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f
Step #0 - "Build": Status: Downloaded newer image for node:18-alpine
Step #0 - "Build":  ---> 50c7e33a9de1
Step #0 - "Build": Step 2/25 : FROM base AS deps
Step #0 - "Build":  ---> 50c7e33a9de1
Step #0 - "Build": Step 3/25 : RUN apk add --no-cache libc6-compat
Step #0 - "Build":  ---> Running in 0e6349b5308a
Step #0 - "Build": fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
Step #0 - "Build": fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
Step #0 - "Build": (1/1) Installing libc6-compat (1.2.4-r1)
Step #0 - "Build": OK: 10 MiB in 18 packages
Step #0 - "Build": Removing intermediate container 0e6349b5308a
Step #0 - "Build":  ---> 53c4c454048b
Step #0 - "Build": Step 4/25 : WORKDIR /app
Step #0 - "Build":  ---> Running in 6645e8ea4b29
Step #0 - "Build": Removing intermediate container 6645e8ea4b29
Step #0 - "Build":  ---> bcfba2f42774
Step #0 - "Build": Step 5/25 : COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
Step #0 - "Build":  ---> 81bf1fdf1582
Step #0 - "Build": Step 6/25 : RUN   if [ -f yarn.lock ]; then yarn --frozen-lockfile;   elif [ -f package-lock.json ]; then npm ci;   elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile;   else echo "Lockfile not found." && exit 1;   fi
Step #0 - "Build":  ---> Running in 76bbb6e707b1
Step #0 - "Build": 
Step #0 - "Build": added 1090 packages, and audited 1091 packages in 1m
Step #0 - "Build": 
Step #0 - "Build": 150 packages are looking for funding
Step #0 - "Build":   run `npm fund` for details
Step #0 - "Build": 
Step #0 - "Build": 5 high severity vulnerabilities
Step #0 - "Build": 
Step #0 - "Build": To address all issues (including breaking changes), run:
Step #0 - "Build":   npm audit fix --force
Step #0 - "Build": 
Step #0 - "Build": Run `npm audit` for details.
Step #0 - "Build": �[91mnpm notice 
Step #0 - "Build": npm notice New minor version of npm available! 9.6.7 -> 9.8.1
Step #0 - "Build": npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
Step #0 - "Build": npm notice Run `npm install -g npm@9.8.1` to update!
Step #0 - "Build": npm �[0m�[91mnotice 
Step #0 - "Build": �[0mRemoving intermediate container 76bbb6e707b1
Step #0 - "Build":  ---> fba4e71a09f9
Step #0 - "Build": Step 7/25 : FROM base AS builder
Step #0 - "Build":  ---> 50c7e33a9de1
Step #0 - "Build": Step 8/25 : WORKDIR /app
Step #0 - "Build":  ---> Running in 25bc95f7c0e3
Step #0 - "Build": Removing intermediate container 25bc95f7c0e3
Step #0 - "Build":  ---> ad43a9a00da7
Step #0 - "Build": Step 9/25 : COPY --from=deps /app/node_modules ./node_modules
Step #0 - "Build":  ---> ad9fe5d1fd94
Step #0 - "Build": Step 10/25 : COPY . .
Step #0 - "Build":  ---> da959599e7fe
Step #0 - "Build": Step 11/25 : ENV NEXT_TELEMETRY_DISABLED 1
Step #0 - "Build":  ---> Running in 5ac9b0a1e04a
Step #0 - "Build": Removing intermediate container 5ac9b0a1e04a
Step #0 - "Build":  ---> e9f60a9e1598
Step #0 - "Build": Step 12/25 : RUN yarn build
Step #0 - "Build":  ---> Running in ccbc40c0b222
Step #0 - "Build": yarn run v1.22.19
Step #0 - "Build": $ next build
Step #0 - "Build": - info Creating an optimized production build...
Step #0 - "Build": - info Compiled successfully
Step #0 - "Build": - info Linting and checking validity of types...
Step #0 - "Build": 
Step #0 - "Build": ./app/(authenticated-pages)/game/[gameId]/(player)/page.tsx
Step #0 - "Build": 34:6  Warning: React Hook useEffect has missing dependencies: 'authUser', 'game.players', and 'gameId'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
Step #0 - "Build": 
Step #0 - "Build": ./app/(authenticated-pages)/game/[gameId]/big-screen/page.tsx
Step #0 - "Build": 34:6  Warning: React Hook useEffect has missing dependencies: 'authUser', 'game.players', and 'gameId'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
Step #0 - "Build": 
Step #0 - "Build": ./app/components/border-countdown-timer.tsx
Step #0 - "Build": 51:6  Warning: React Hook useEffect has missing dependencies: 'game' and 'gameRef.id'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
Step #0 - "Build": 
Step #0 - "Build": info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Step #0 - "Build": - info Collecting page data...
Step #0 - "Build": - info Generating static pages (0/13)
Step #0 - "Build": - info Generating static pages (3/13)
Step #0 - "Build": - info Generating static pages (6/13)
Step #0 - "Build": - info Generating static pages (9/13)
Step #0 - "Build": - info Generating static pages (13/13)
Step #0 - "Build": - info Finalizing page optimization...
Step #0 - "Build": 
Step #0 - "Build": Route (app)                                Size     First Load JS
Step #0 - "Build": ┌ ○ /                                      749 B           196 kB
Step #0 - "Build": ├ ○ /about                                 137 B          78.4 kB
Step #0 - "Build": ├ λ /api/create-game                       0 B                0 B
Step #0 - "Build": ├ λ /api/delete-game                       0 B                0 B
Step #0 - "Build": ├ λ /api/exit-game                         0 B                0 B
Step #0 - "Build": ├ λ /api/join-game                         0 B                0 B
Step #0 - "Build": ├ λ /api/nudge-game                        0 B                0 B
Step #0 - "Build": ├ λ /api/start-game                        0 B                0 B
Step #0 - "Build": ├ λ /api/update-answer                     0 B                0 B
Step #0 - "Build": ├ ○ /create-game                           1.73 kB         186 kB
Step #0 - "Build": ├ ○ /game-list                             847 B           196 kB
Step #0 - "Build": ├ λ /game/[gameId]                         818 B           194 kB
Step #0 - "Build": └ λ /game/[gameId]/big-screen              1.04 kB         194 kB
Step #0 - "Build": + First Load JS shared by all              78.2 kB
Step #0 - "Build":   ├ chunks/596-b3db6cc417f325bd.js         25.7 kB
Step #0 - "Build":   ├ chunks/fd9d1056-5909d3ea1a0fa745.js    50.5 kB
Step #0 - "Build":   ├ chunks/main-app-962e8316c057a8f8.js    214 B
Step #0 - "Build":   └ chunks/webpack-638678ed5bb798db.js     1.82 kB
Step #0 - "Build": 
Step #0 - "Build": Route (pages)                              Size     First Load JS
Step #0 - "Build": ─ ○ /404                                   182 B          75.8 kB
Step #0 - "Build": + First Load JS shared by all              75.6 kB
Step #0 - "Build":   ├ chunks/framework-8883d1e9be70c3da.js   45 kB
Step #0 - "Build":   ├ chunks/main-6170d05613754988.js        28.6 kB
Step #0 - "Build":   ├ chunks/pages/_app-52924524f99094ab.js  195 B
Step #0 - "Build":   └ chunks/webpack-638678ed5bb798db.js     1.82 kB
Step #0 - "Build": 
Step #0 - "Build": λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
Step #0 - "Build": ○  (Static)  automatically rendered as static HTML (uses no initial props)
Step #0 - "Build": 
Step #0 - "Build": Done in 88.55s.
Step #0 - "Build": Removing intermediate container ccbc40c0b222
Step #0 - "Build":  ---> 0794afed5f46
Step #0 - "Build": Step 13/25 : FROM base AS runner
Step #0 - "Build":  ---> 50c7e33a9de1
Step #0 - "Build": Step 14/25 : WORKDIR /app
Step #0 - "Build":  ---> Running in a93ba4c0e6cc
Step #0 - "Build": Removing intermediate container a93ba4c0e6cc
Step #0 - "Build":  ---> 2e59a2d609f6
Step #0 - "Build": Step 15/25 : ENV NODE_ENV production
Step #0 - "Build":  ---> Running in ad4a52b24703
Step #0 - "Build": Removing intermediate container ad4a52b24703
Step #0 - "Build":  ---> 54343f8ad5fc
Step #0 - "Build": Step 16/25 : ENV NEXT_TELEMETRY_DISABLED 1
Step #0 - "Build":  ---> Running in 5e1ffb35c8cf
Step #0 - "Build": Removing intermediate container 5e1ffb35c8cf
Step #0 - "Build":  ---> cd2e12d37ebb
Step #0 - "Build": Step 17/25 : RUN addgroup --system --gid 1001 nodejs
Step #0 - "Build":  ---> Running in c8a8f47a0c6b
Step #0 - "Build": Removing intermediate container c8a8f47a0c6b
Step #0 - "Build":  ---> 4fb63bd39c5b
Step #0 - "Build": Step 18/25 : RUN adduser --system --uid 1001 nextjs
Step #0 - "Build":  ---> Running in c011ed2a8305
Step #0 - "Build": Removing intermediate container c011ed2a8305
Step #0 - "Build":  ---> bf07681e730a
Step #0 - "Build": Step 19/25 : COPY --from=builder /app/public ./public
Step #0 - "Build":  ---> c18da027afd5
Step #0 - "Build": Step 20/25 : COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
Step #0 - "Build":  ---> 7b6d47cc8cf3
Step #0 - "Build": Step 21/25 : COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
Step #0 - "Build":  ---> 64c047e523d6
Step #0 - "Build": Step 22/25 : USER nextjs
Step #0 - "Build":  ---> Running in f585487ec38d
Step #0 - "Build": Removing intermediate container f585487ec38d
Step #0 - "Build":  ---> c95a3053401c
Step #0 - "Build": Step 23/25 : EXPOSE 3000
Step #0 - "Build":  ---> Running in bbe6658500c3
Step #0 - "Build": Removing intermediate container bbe6658500c3
Step #0 - "Build":  ---> 0b620791bc70
Step #0 - "Build": Step 24/25 : ENV PORT 3000
Step #0 - "Build":  ---> Running in 17a4cd4b2d66
Step #0 - "Build": Removing intermediate container 17a4cd4b2d66
Step #0 - "Build":  ---> cd4afe091f66
Step #0 - "Build": Step 25/25 : CMD ["node", "server.js"]
Step #0 - "Build":  ---> Running in 475b4b4934bd
Step #0 - "Build": Removing intermediate container 475b4b4934bd
Step #0 - "Build":  ---> 34395a6849a1
Step #0 - "Build": Successfully built 34395a6849a1
Step #0 - "Build": Successfully tagged us-central1-docker.pkg.dev/cloud-quiz-next/cloud-run-source-deploy/devrel-demos/devrel-demos:fe38df65cf0a5cf5804ce82c723d075b598deb8e
Finished Step #0 - "Build"
Starting Step #1 - "Push"
Step #1 - "Push": Already have image (with digest): gcr.io/cloud-builders/docker
Step #1 - "Push": The push refers to repository [us-central1-docker.pkg.dev/cloud-quiz-next/cloud-run-source-deploy/devrel-demos/devrel-demos]
Step #1 - "Push": 4f256aac0be7: Preparing
Step #1 - "Push": e718cf588e95: Preparing
Step #1 - "Push": bead60144385: Preparing
Step #1 - "Push": e79a32b3c30e: Preparing
Step #1 - "Push": a92d97289059: Preparing
Step #1 - "Push": 23c5af4a5c94: Preparing
Step #1 - "Push": 498c77a984f9: Preparing
Step #1 - "Push": 69b50a78845f: Preparing
Step #1 - "Push": ea2a97a3209c: Preparing
Step #1 - "Push": 4693057ce236: Preparing
Step #1 - "Push": 23c5af4a5c94: Waiting
Step #1 - "Push": 498c77a984f9: Waiting
Step #1 - "Push": 69b50a78845f: Waiting
Step #1 - "Push": ea2a97a3209c: Waiting
Step #1 - "Push": 4693057ce236: Waiting
Step #1 - "Push": a92d97289059: Pushed
Step #1 - "Push": 4f256aac0be7: Pushed
Step #1 - "Push": 498c77a984f9: Layer already exists
Step #1 - "Push": bead60144385: Pushed
Step #1 - "Push": e79a32b3c30e: Pushed
Step #1 - "Push": 4693057ce236: Layer already exists
Step #1 - "Push": 69b50a78845f: Layer already exists
Step #1 - "Push": ea2a97a3209c: Layer already exists
Step #1 - "Push": 23c5af4a5c94: Pushed
Step #1 - "Push": e718cf588e95: Pushed
Step #1 - "Push": fe38df65cf0a5cf5804ce82c723d075b598deb8e: digest: sha256:6929010fd506ce7ccfbeff349dd34e6a2577f6e90418523c3e91f9a1a6ee73f7 size: 2410
Finished Step #1 - "Push"
Starting Step #2 - "Deploy"
Step #2 - "Deploy": Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk:slim
Step #2 - "Deploy": slim: Pulling from google.com/cloudsdktool/cloud-sdk
Step #2 - "Deploy": 1d5252f66ea9: Already exists
Step #2 - "Deploy": dfb3b965fe1e: Pulling fs layer
Step #2 - "Deploy": fae0bc394f3f: Pulling fs layer
Step #2 - "Deploy": 0f5de670089a: Pulling fs layer
Step #2 - "Deploy": ed2942a1a2c0: Pulling fs layer
Step #2 - "Deploy": ecaf7e95979e: Pulling fs layer
Step #2 - "Deploy": ed2942a1a2c0: Waiting
Step #2 - "Deploy": ecaf7e95979e: Waiting
Step #2 - "Deploy": 0f5de670089a: Verifying Checksum
Step #2 - "Deploy": 0f5de670089a: Download complete
Step #2 - "Deploy": dfb3b965fe1e: Download complete
Step #2 - "Deploy": fae0bc394f3f: Verifying Checksum
Step #2 - "Deploy": fae0bc394f3f: Download complete
Step #2 - "Deploy": ecaf7e95979e: Verifying Checksum
Step #2 - "Deploy": ecaf7e95979e: Download complete
Step #2 - "Deploy": dfb3b965fe1e: Pull complete
Step #2 - "Deploy": fae0bc394f3f: Pull complete
Step #2 - "Deploy": 0f5de670089a: Pull complete
Step #2 - "Deploy": ed2942a1a2c0: Verifying Checksum
Step #2 - "Deploy": ed2942a1a2c0: Download complete
Step #2 - "Deploy": ed2942a1a2c0: Pull complete
Step #2 - "Deploy": ecaf7e95979e: Pull complete
Step #2 - "Deploy": Digest: sha256:8ec89c2fb2c1efe35992a5dd164a91340cb0b8808fd860a781bdb78c3ceb7f74
Step #2 - "Deploy": Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:slim
Step #2 - "Deploy": gcr.io/google.com/cloudsdktool/cloud-sdk:slim
Step #2 - "Deploy": Deploying...
Step #2 - "Deploy": Creating Revision............done
Step #2 - "Deploy": Routing traffic...............................................................................................................................................done
Step #2 - "Deploy": Done.
Step #2 - "Deploy": Service [devrel-demos] revision [devrel-demos-00071-fed] has been deployed and is serving 100 percent of traffic.
Step #2 - "Deploy": Service URL: https://devrel-demos-spnuiuavcq-uc.a.run.app
Finished Step #2 - "Deploy"
PUSH
Pushing us-central1-docker.pkg.dev/cloud-quiz-next/cloud-run-source-deploy/devrel-demos/devrel-demos:fe38df65cf0a5cf5804ce82c723d075b598deb8e
The push refers to repository [us-central1-docker.pkg.dev/cloud-quiz-next/cloud-run-source-deploy/devrel-demos/devrel-demos]
4f256aac0be7: Preparing
e718cf588e95: Preparing
bead60144385: Preparing
e79a32b3c30e: Preparing
a92d97289059: Preparing
23c5af4a5c94: Preparing
498c77a984f9: Preparing
69b50a78845f: Preparing
ea2a97a3209c: Preparing
4693057ce236: Preparing
69b50a78845f: Waiting
ea2a97a3209c: Waiting
4693057ce236: Waiting
23c5af4a5c94: Waiting
498c77a984f9: Waiting
e79a32b3c30e: Layer already exists
4f256aac0be7: Layer already exists
a92d97289059: Layer already exists
e718cf588e95: Layer already exists
498c77a984f9: Layer already exists
ea2a97a3209c: Layer already exists
4693057ce236: Layer already exists
bead60144385: Layer already exists
23c5af4a5c94: Layer already exists
69b50a78845f: Layer already exists
fe38df65cf0a5cf5804ce82c723d075b598deb8e: digest: sha256:6929010fd506ce7ccfbeff349dd34e6a2577f6e90418523c3e91f9a1a6ee73f7 size: 2410
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/075c6652-1f20-4431-a8d6-6422369595a7?project=406096902405