f5fb729ce7
port bot to rust, upgrade response, and cut away some of the tf cruft
2022-02-06 19:16:08 -05:00
9f870139ff
prevent dependabot from needing google credentials in CI
2022-02-01 00:00:06 -05:00
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
94ab6d9907
chore: bump terraform version to 1.0.1 + packages
2021-06-30 07:57:20 -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
46769cce55
ci: re-fix discord data quoting
2021-01-12 23:33:10 -05: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
bb82ce519b
ci: fix curl data quoting
2021-01-12 23:18:12 -05:00
59bb223049
ci: update codeql
2021-01-12 23:12:05 -05:00
041fc19e95
ci: discord failed() -> failure()
2021-01-12 23:09:10 -05:00
14c9993bf6
ci: discord when -> if
2021-01-12 23:01:04 -05:00
6a5df41a31
ci: add #deployments
2021-01-12 22:51:30 -05: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
24996d801e
ci: make metadata run parallel to the sync process
2020-12-18 19:57:01 -05:00
9cdefefbcc
ci: prospective; figure out why environment URL isn't being set
2020-12-17 17:17:38 -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
e1120fd88a
ci: add GH actions environments
2020-12-17 16:39:51 -05:00
dependabot[bot]
2660d1dad9
Bump hashicorp/setup-terraform from v1 to v1.3.2 ( #69 )
...
Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform ) from v1 to v1.3.2.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases )
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/setup-terraform/compare/v1...3d8debd658c92063839bc97da5c2427100420dec )
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>
2020-12-13 21:40:39 -05: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
961989197c
add bot deploy
2020-12-11 00:16:03 -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
22b15ec16a
oMerge branch 'main' of github.com:roleypoly/roleypoly into main
2020-12-07 22:35:11 -05:00
07e008fb49
add better digest fetcher
2020-12-07 22:33:18 -05:00
181df2df40
use alternate path for getting digest
2020-12-07 00:20:34 -05:00
1bcb571205
fix tag output keys
2020-12-06 23:42:43 -05:00
ecda7e21d2
fix tag output mapping
2020-12-06 23:01:51 -05:00
6ed7bda678
fix tags.tfvars pathname
2020-12-06 22:57:43 -05:00
0e69066aad
set correct key for worker artifact path
2020-12-06 22:45:58 -05:00
d8bda6fb43
try pulling secrets from gcloud for tf
2020-12-06 22:36:11 -05:00
441b24045d
set working-directory for tf runs
2020-12-06 21:52:15 -05:00
d5094f94f9
attempted TF_DATA fix
2020-12-06 21:39:38 -05:00
84291524dc
attempt to fix deploy
2020-12-06 21:30:45 -05:00
754d2fc21e
add --quiet to GAR delete cmd
2020-12-06 21:06:54 -05:00
e954031d3e
disable fail-fast in GAR job
2020-12-06 21:05:26 -05:00
1b9eabaee5
GAR job might need stderr
2020-12-06 21:04:51 -05:00