Commit graph

66 commits

Author SHA1 Message Date
3291f9aacc
big overhaul (#474)
* miniflare init

* feat(api): add tests

* chore: more tests, almost 100%

* add sessions/state spec

* add majority of routes and datapaths, start on interactions

* nevermind, no interactions

* nevermind x2, tweetnacl is bad but SubtleCrypto has what we need apparently

* simplify interactions verify

* add brute force interactions tests

* every primary path API route is refactored!

* automatically import from legacy, or die trying.

* check that we only fetch legacy once, ever

* remove old-src, same some historic pieces

* remove interactions & worker-utils package, update misc/types

* update some packages we don't need specific pinning for anymore

* update web references to API routes since they all changed

* fix all linting issues, upgrade most packages

* fix tests, divorce enzyme where-ever possible

* update web, fix integration issues

* pre-build api

* fix tests

* move api pretest to api package.json instead of CI

* remove interactions from terraform, fix deploy side configs

* update to tf 1.1.4

* prevent double writes to worker in GCS, port to newer GCP auth workflow

* fix api.tf var refs, upgrade node action

* change to curl-based script upload for worker script due to terraform provider limitations

* oh no, cloudflare freaked out :(
2022-01-31 20:35:22 -05:00
4e2616c1a7 fix: upgrade all uses of node 14 to 16 2022-01-22 18:57:14 -05:00
066f68ffef
feat: Slash Commands (#337)
* feat: add discord interactions worker

* feat(interactions): update CI/CD and terraform to add interactions

* chore: fix lint issues

* chore: fix build & emulation

* fix(interactions): deployment + handler

* chore: remove worker-dist via gitignore

* feat: add /pickable-roles and /pick-role basis

* feat: add pick, remove, and update the general /roleypoly command

* fix: lint missing Member import
2021-08-01 20:26:47 -04:00
9799114b7c chore: fix tests, upgrade to node 16 2021-06-30 08:30:49 -04:00
dependabot[bot]
f632bfa6e5
chore(deps): bump actions/upload-artifact from 2.2.2 to 2.2.4 (#265)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katalina <kayteh@users.noreply.github.com>
2021-06-30 07:59:58 -04:00
dependabot[bot]
ec53c65378
chore(deps): bump actions/cache from 2.1.4 to 2.1.6 (#264)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.4 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 07:59:39 -04:00
Katie Macke
7ec603cf70
Rewrite the bot process in Node/Discord.js (#206)
* Rewrite the bot process in js using discord.js

* remove old go code
2021-03-31 15:35:07 -04:00
55bc84e045 ci: trigger CI on pull_request 2021-03-29 19:08:55 -04:00
f24d2fcc99
chore: update prettier tab width for consistency (#175) 2021-03-13 22:54:34 -05:00
069930a55e ci: remove ui_tag from deploy trigger 2021-03-12 18:10:03 -05:00
2ff6588030
Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161)
* chore: restructure project into yarn workspaces, remove next

* fix tests, remove webapp from terraform

* remove more ui deployment bits

* remove pages, fix FUNDING.yml

* remove isomorphism

* remove next providers

* fix linting issues

* feat: start basis of new web ui system on CRA

* chore: move types to @roleypoly/types package

* chore: move src/common/utils to @roleypoly/misc-utils

* chore: remove roleypoly/ path remappers

* chore: renmove vercel config

* chore: re-add worker-types to api package

* chore: fix type linting scope for api

* fix(web): craco should include all of packages dir

* fix(ci): change api webpack path for wrangler

* chore: remove GAR actions from CI

* chore: update codeql job

* chore: test better github dar matcher in lint-staged
2021-03-12 18:04:49 -05:00
dependabot[bot]
49e308507e
chore(deps): bump actions/cache from v2 to v2.1.4 (#134)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 21:13:26 -05:00
dependabot[bot]
cd927ada76
chore(deps): bump actions/setup-node from v2.1.4 to v2.1.5 (#146)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 20:35:48 +00:00
dependabot[bot]
e4f7b4dd97
chore(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (#107)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-13 04:32:03 +00:00
25615ac38d ci: flip worker check, if found skip=1, not 0 2020-12-22 00:31:49 -05:00
5e065912de ci: skip worker build if already built. 2020-12-22 00:13:31 -05:00
dependabot[bot]
8f5f8bc99b
Bump actions/setup-node from v2-beta to v2.1.4 (#81)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2-beta to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2-beta...c46424eee26de4078d34105d3de3cc4992202b1e)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 22:09:35 +00:00
dependabot[bot]
16b614c180
Bump actions/upload-artifact from v1 to v2.2.1 (#60)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v1 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...726a6dcd0199f578459862705eed35cda05af50b)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 00:18:24 -05:00
6ddb3e3192 fix digest.txt typo when getting digests from artifacts 2020-12-11 00:27:56 -05:00
4dbca37917 fix github.ref matcher 2 2020-12-07 23:51:37 -05:00
f97ced4433 fix github.ref matcher 2020-12-07 23:49:53 -05:00
6ba252d34c wire build to deploy, e2e CICD!@ 2020-12-07 23:48:54 -05:00
a0031d4c2b don't build when deploy workflow updates 2020-12-06 19:41:46 -05:00
820f2005c4 im actually super smart and i accidentally named the secret wrong 2020-12-06 19:17:35 -05:00
8a57e10e78 try diff gcs flow 2020-12-06 19:13:26 -05:00
5763b3f279 another try at wrangler stuff 2020-12-06 19:03:12 -05:00
734dbecf6b actually c heckout code you fox 2020-12-06 18:20:14 -05:00
ff973b9349 add wrangler to devDeps so CI can run it 2020-12-06 18:14:27 -05:00
ed1db4d899 remove matrix id in ci 2020-12-06 18:05:32 -05:00
95a5732457 more ci/cd work, build worker and publish 2020-12-06 17:59:24 -05:00
3ee0c64e7c fix GAR image path 2020-12-06 05:49:35 -05:00
7ad719895d add GAR docker push for google cloud stuff 2020-12-06 05:41:18 -05:00
c23b84c4fa re-enable bot 2020-12-03 12:37:06 -05:00
f2c4effd24 set labels on docker build 2020-12-03 12:36:21 -05:00
4d0fcc4ad6 attempt to use ghcr.io instead of old gh packages 2020-12-03 12:26:17 -05:00
0e2c981560 storybook and template fixes 2020-12-03 11:32:09 -05:00
7371b5e490 fix dockerfile path, .hack => ./hack 2020-12-03 10:26:18 -05:00
0340693234 breakout docker builds into matrix 2020-12-03 10:22:46 -05:00
aad0987dce port full auth flow to cf workers 2020-12-05 03:09:20 -05:00
ab9fe30b42 start redoing ci/cd and devops 2020-12-02 21:44:49 -05:00
dependabot[bot]
e875ca796d
chore(deps): bump actions/cache from v2.1.1 to v2.1.2 (#10)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.1...d1255ad9362389eac595a9ae406b8e8cb3331f16)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 08:07:44 -04:00
4a558bb532 ci: add bazel disk caches to workflows 2020-10-16 04:23:30 -04:00
89f237cf22
feat: Add majority of design system components, build system fixes (#11)
* feat(design-system): pre-port of roleypoly/ui

* feat(design-system): port molecules

* chore(design-system): prettier

* feat(design-system): add intro card and MDX components

* fix(common/utils): hack fixtures test data moved to design-system, update accordingly

* chore: document protoReflection.ts

* fix(design-system): some molecules missed the magic fuckery

* ci: keep going on bazel test failures

* fix(design-system): server masthead molecule missed the magic fuckery

* chore: fix ts paths

* chore: fix docker publisher

* chore: fix docker publisher names

* chore(discord-bot): fix publisher

* chore(discord-bot): fix publisher
2020-10-14 22:33:01 -04:00
efe1e5ea5e ci: move dev-container again, just dont run it with everything else 2020-10-11 15:36:42 -04:00
ac830fc946 chore: add jest tests, cleanup rpc 2020-10-11 15:10:20 -04:00
cb5ff9602a ci: add -c opt to CI builds 2020-10-11 13:16:43 -04:00
9e6a942018 chore: speed up builds by breaking out dev-container again 2020-10-11 06:26:26 -04:00
70fa51d4a1 chore: prettier 2020-10-10 04:36:22 -04:00
9e6f8fd423 ci: revert accidental bazel build change 2020-10-09 15:34:57 -04:00
d1bb55bb7c temp tf 2020-10-09 10:55:02 -04:00