Commit Graph

80 Commits

Author SHA1 Message Date
Alec LaLonde
a8876654d7 Production build 2023-06-07 18:59:33 -06:00
Alec LaLonde
caab9cc4fa More RAM for frontend container 2023-06-07 18:38:22 -06:00
Alec LaLonde
a8ef954aae fix yaml syntax error 2023-06-07 18:22:59 -06:00
Alec LaLonde
31b6f6bbed fix yaml xyntax error 2023-06-07 18:20:57 -06:00
Alec LaLonde
b7f89ef72c Removed NODE_ENV and HOSTNAME variables as they are redundant 2023-06-07 17:44:11 -06:00
Alec LaLonde
ab83819a56 Move all NEXT_PUBLIC_ env vars to be configured at build time 2023-06-07 17:44:11 -06:00
Alec LaLonde
3349f851b0 Include Env var values in Dockerfile 2023-06-05 11:41:39 -06:00
δυς
2921a47ef0 Review: meTokens ₍wᵢₜₕ gᵣₐₙᵤₗₐᵣ 𝄴ₒₘₘᵢₜₛ₎ (#1552)
* linting 🃡

* removing MetaMask specificity 🃢

* moving `StrictMode` to Next.js 🃣

* compressing & commafying 🃤

* upgrading eslint 👘

* removing preface from guild name 🃥

* removing unnecessary ESLint `no-console` directives 🌂

* fixing a typo in a comment 🃦

* updating GraphQL codegen for paid subgraph 🦏

* replacing Discord invite link 📌

* passing through The Graph API token to Docker ♾

* setting Docker ARG to set ENV 📟

* missed a file rename in frontend Docker config 🦀

* adding ts-node to fix Docker build issue ⸙

* trying to narrow down the 500 error's source in the test instance 

* exposing The Graph API token on Cloud Run 🦃

* more logging to try & find server error 🐠

* more logging 🧱

* trying to run Node.js in development mode on Cloud Run 🎁

* reconfiguring frontend Dockerfile to also run the dev environment 🌿

* dev mode seems to function 🧨

* 768MiB wasn't enough memory 🍁

* 1GiB wasn't enough memory 🔱

* 1.5GiB was interpreted as 1GiB 🥃

* 1536MiB wasn't enough memory 👾

* 2GiB wasn't enough memory 🧲

* 3GiB wasn't enough memory 🆎

* 4GiB might have been enough, but it still doesn't load 🧻

* 5GiB requires two CPUs 📝

* giving up on dev server; unexplained HTTP 429s 🎨

* disabling Honeybadger in test instances 📮

* trying an `ErrorBoundary` to gather more info 🕷

* setting GraphQL endpoint 🇲🇰

* exposing environment variables ⛈

* trying to expose `` 📻

* the Next compiled version still references `node_modules` 🦢

* removing Alchemy API key from sources 

* trying a different Docker build action 💉

* removing logging 🍿

* switching to Docker Buildx 👠

* missed an escaped newline 🗿

* trying a newer gcloud setup action 🦝

* hopefully fixing authentication 📴

* bunch of changes to the meTokens profile section 🦜

* need credentials file 🐆

* hunting for layout load error & pushing debug statements to testing 🥁

* updating eslint 💓

* trying to debug the missing Breadchain Coop 🧀

* apparently chose the wrong changeset 🐚

* removing logging 🥀
2023-05-15 09:12:03 -06:00
dysbulic
6be4ac970e from > to >> for $GITHUB_ENV 🎹 2023-03-14 13:41:33 -04:00
dysbulic
957ee99d4b switching to `` 📐 2023-03-13 10:19:16 -06:00
dysbulic
7a6d0ddc65 renaming migrateSC to syncSC 🥾 2023-03-13 10:19:16 -06:00
Sero
b30267941b Resolve ENS
* moving pr over to fresh branch

* fixes

* update migrate

* pulling in files for rename of `migrate` to `sync` for SourceCred 🔖

* fix

* prevent lack of data

* formatAddress

* tile

* fixes

* switch rpc

* refactor and remove maps, clean up set

---------

Co-authored-by: dysbulic <dys@dhappy.org>
2023-03-02 15:36:34 -05:00
δυς
b67025fd60 Adding of an Image to Quests & Other Fixes (#1461)
* squashing @thebeyondr's adding an image to quests 🧣

* cleaning, conglomerating, & standardizing 

* properly spreading arguments & restructuring forms 🥴

* setting required pSEED to 0 in testing & switching the IPFS gateway ⛑

* printing `NODE_ENV` to double check testing setting 🔩

* `connecting` needs to be initially false to avoid a hydration error 🛶

* testing if setting `$NODE_ENV` is sufficient for configuration 🦋

* seeing if "development" works as a `NODE_ENV` for Next.js 

* adding graphql retry on empty response 🥁

* consuming `NODE_ENV` in Dockerfile 🥺

* going to `APP_ENV` b/c `NODE_ENV` is unsettable 🎺

* removing printing `NEXT_PUBLIC_APP_ENV` 🦷

* making entire quest tile a link

* aligned rank tag in quest details page

* fix: 🐛 Add a `minWidth` to `PlayerTile`

* feat:  Add more accurate image preview for quests

* feat:  Add image to `QuestDetail`

* refactor: 💬 Update `Raid/Phase III` description

* UI & semantics tweaks from @luxumbra 🧞‍♀️

* centering short quest titles 🇪🇺

* borked the quest title centering 👹

Co-authored-by: Scott Stevenson <scott@1box.onmicrosoft.com>
Co-authored-by: thebeyondr <beyondr42@gmail.com>
2022-12-06 17:02:08 -05:00
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
Alec LaLonde
ae0102b3ad Added NODE_ENV to frontend build for a cleaner config 2022-10-21 13:21:38 -06:00
polimyl
7bb056a854 Fix deployment downtime (hotfix) (#1389)
* remove undeploy step

* fix job dependencies
2022-10-09 19:13:56 +01:00
polimyl
aef58edb7b remove undeploy step (#1388) 2022-10-09 15:18:47 +01:00
Alec LaLonde
90f48fdb25 Bumped a whole bunch of deps 2022-07-11 21:06:45 -06:00
Alec LaLonde
4076e4c3c4 Added missing GA4_ID output 2022-07-06 13:11:24 -06:00
Alec LaLonde
97ded37d19 GA should only work on prod 2022-07-06 10:08:36 -06:00
Alec LaLonde
80d46b410d Added GA ID, fixed FRONTEND_URL 2022-07-06 10:05:15 -06:00
Alec LaLonde
5244cee20e Explicitly set FRONTEND_URL 2022-07-06 09:02:57 -06:00
Alec LaLonde
1254778540 Set discord bot token in backend env 2022-07-05 21:01:30 -06:00
Alec LaLonde
063c680d10 Added a couple more env variables to build 2022-07-04 20:03:03 -06:00
dan13ram
c90a745ecc feat: set bobheadxi/deployments@v1 2022-05-03 09:31:01 -06:00
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
Alec LaLonde
c51be56c72 Fix database seeding of GCP PR backend instances 2022-05-03 09:17:24 -06:00
Alec LaLonde
105e104188 Added min-instances setting 2022-04-20 10:20:05 -06:00
Alec LaLonde
f886ff1884 Trigger on pushes to develop and master only 2022-04-20 10:20:05 -06:00
Alec LaLonde
d34b7f5bd0 Pick appropriate hasura host based on branch 2022-04-20 10:20:05 -06:00
Alec LaLonde
0cf20c960a Fixed GRAPHQL_URL env variable 2022-04-20 10:20:05 -06:00
Alec LaLonde
f8c30413bb Removed nightly merge action, it was broken anyway 2022-04-20 10:20:05 -06:00
Alec LaLonde
b10a26d0f6 Added github action to auto-deploy GCP frontend from a branch 2022-04-20 10:20:05 -06:00
W.J. “dysbulic” H
75ae3d4ba9 ☎ git checkout dependency-upgrade .github/ 2022-03-17 23:09:32 +05:30
dan13ram
f3eb2213e3 feat: added opensea api key to gcp-deploy 2022-02-17 11:49:52 +05:30
W.J. “dysbulic” H
f46b30d75c fixing deployment environment to avoid cross-PR deactivations 🎰 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
f225de93c8 debugging authentication process 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
39879042d8 logs seems to have the desired effect; screwed up the contents 🎒 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
5d7c6478ff testing if log parameter affects the GitHub deployment 🍅 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
8d15afe3aa printing github object caused the run to fail 🧐 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
4d7e5bfd1c adding caniuse to remove outdated db warning & trying to fix deployment report link 🧘 2022-02-16 20:17:48 +05:30
δυς
0af87e965d Clean Up & Simplify the Type System (#1116) 2022-02-08 13:13:28 -05:00
δυς
81883f940e Miscellaneous changes pulled from #1078 (#1115)
​#1078 is at about 4,000 lines changed and includes both code implementing features and unrelated functional and stylistic changes. This set of changes is about ⅓ of the total and should be largely independent.

These changes include:

* have Dependabot ignore `patch` version changes
* switch the cache invalidation Hasura action to asynchronous
* add a uniqueness constraint on the combination of player and skill ids
* print a comprehensible error message in the db seeding script on network errors
* add a mutex on the account creation process & allow it to happen only once *(subsequent runs were failing b/c of the uniqueness constraint on the ETH address & returning `null` (closes #1098))
* adds some more profile editing related types
* renames `HighLow7dType` to `HighLowType`
* refactors the `ColorBar` component to include links to a color explanation
* replaces `fake-tag`'s `gql` string identifier with the dependency-free `/* GraphQL */`
* rename `lib/hooks/useUserXp.ts` to `useUserXP.ts`
* fixed some typings to remove `any`s
* bumped some library versions & fixed the version numbers of some others
2022-02-08 06:01:06 -05:00
δυς
4b41d5c187 Break GitHub Deployment Action Into Jobs (#1103) 2022-02-06 07:52:26 -05:00
dan13ram
32a6405de4 fix: prefetching personalityInfo on profile page 2022-01-27 20:42:50 +05:30
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
polimyl
e0b89c3b68 limit max preview instances to 1 because hasura hates not being alone 2021-10-27 19:35:33 -06:00
polimyl
7969084ebf add github api token and sourcecred branch env vars to previews 2021-10-27 19:35:33 -06:00
polimyl
12333af101 temporarily move package.json so npm doesnt install packages from it 2021-10-27 19:35:33 -06:00
polimyl
01c3986e07 install missing packages in seeding step 2021-10-27 19:35:33 -06:00