Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Terraform & GitHub Actions (#351)
* More backend module setup * Move RDS * Serverless DB config * Scaling config * Setup lambda * Lambda setup * More setup * Build setup * Move S3 * Lambda terraform * Lambda stuff * Variables for lambda deploy * Unquote vars * Add iam * TF cleanup, path fixes * TF vars * Fix lambda build * Fix build script * More lambda setup * version missmatch: apollo-server-fastify doesn't support fastify v4 * Move to express from fastify * Express serverless initial setup * fixed destroy script * Express fixes * Set up listener * Fix express deploy * Lambda URL setup * Fix endpoint record for serverless * Start API gateway setup * API Gateway setup * Add comments * Regional module setup * Separate VPC for lambda * Add separate cert module * API Gateway contents setup * Fix API Gateway * Working link from API gateway to domain * Improve serverless API deploy * Initial CORS setup for API gateway * Fix dependencies, still issues on POST * CORS stuff * Docs * Fix weird dependencies * Resource changes & logging for API gateway * Fix cyclic dependency * Fix API gateway logging * JWTStrategy fix for serverless * Logging for testing * Switch to serverless RDS v1 * Add optional serverless v2 * Fix v2 * Fix v2 * JWT testing setup * Current state * Make lambda private * Move options cors to proxy * Remove cors * Serverless update * Fix zip path * Add hash output * Fix update script * More update script fixes * Fix lambda redeploy * Cleanup * Cleanup * Add webpack for lambda, not done yet * Basic webpack config * Webpack cleanup * Change lambda memory * Lambda optimization * Set up per-mode configuration of infrastructure * Fix db config * Prepare setup * Major script cleanup * Fix type * Remove todo * Fix update, fix caching * Add invalidation to cloudfront distribution * Add dev update github action * Fix script path * Add commands * switch invalidation to null resource * step 1 is now also applied for dev * added workflow images * added better images * Fix cache invalidation * Fix cache invalidation * Fix SPA frontend redeploy * Fix template * Config * Fix destroy script * Fix path in action * Add login * RM login * Add inits * rm id * Remove init * Fix zsh * use bash * Add ts-node dep, use sudo for bash * Sudo node-prune * ts-node * Add typescript * More sudo * Test init * Validate * Login * Use setup v2 * use setup * test init * test config * Try explicit shell * Manual login * LS test * cat file * Test file path * Log test * logging * Move export * add token * test log * Add more test content * more test * Folder test * Add ls * multi ls * fix * Add sudo * config file location echo * config file location echo * Add tf cli config file * Remove quotes * Try with no sudo * Cleanup * remove wrapper * Add existence check in script * Package * fix force * shorten desc * Fix online status check * Add https check * add error codes * Fix config * Per-mode backup manager name * Destroy script * more logs * condition fix * Fix ordering * Fix destroy script for action * Add init * fix output path * Fix paths * Fix final snapshot skip * Fix order of build in destroy script * Switch redirect-record config * Make build sudo in destroy * Better error message * Fix depends-on * Fix log exporter naming * Modularize frontend subnet, chmod node_modules * change package.json * Change webpack config * move lambda entrypoint * Fix lambda path * change webpack config * Try other config * Test don't use webpack * main path * Revert "main path" This reverts commit 2f13df2. * Revert "Test don't use webpack" This reverts commit 10edbb6. * Revert "Try other config" This reverts commit faf67aa. * Revert "change webpack config" This reverts commit 6fbddaf. * Revert "Fix lambda path" This reverts commit da22c0f. * Revert "move lambda entrypoint" This reverts commit dd0e6ff. * Revert "Change webpack config" This reverts commit 155a8f1. * Revert "change package.json" This reverts commit d995a28. * Revert "Modularize frontend subnet, chmod node_modules" This reverts commit 415bcc4. * cleanup * Remove webpack * Add more confirmation for force deployment * Confirm not required * Fix path in live mode * Fix typo in path * Change live path for testing * Fix security groups * add echo * Fix text entry * fix input more * Update node * Correct subnets for API EBS * Enable destruction of live system * Change test config * Fix destroy action input * Remove online check for customer-facing systems * live/test check on initial deploy as well * Release scripts setup * Update deployment actions * Test update * Fix path * Fix shell * Update setup terraform * remove sudo in actions * sudo * Test update * Try modifying cert * Docs, fix cert * Add log * remove automation on branch * Fix jq path * use actual cert * feat: Change from vuex to pinia (#353) * Placeholder workflow * Placeholder workflow contents * Add files via upload (#352) * Add workflow * reÃplaced vuex with pinia * fixed quote issue * Removed vue app email Co-authored-by: David Wyss <[email protected]> * PR fixes * Update frontend/src/stores/index.ts Co-authored-by: davwys <[email protected]> * Update backend/src/flox/modules/auth/auth.guard.ts Co-authored-by: Marinolino <[email protected]> * Update frontend/src/data/readme.md Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-update/aws-update.sh Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-update/aws-update.sh Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-initial-setup/2_main-setup/api-ebs/variables.tf Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-initial-setup/2_main-setup/api-ebs/variables.tf Co-authored-by: Marinolino <[email protected]> * Update scripts/support/destroy-system.sh Co-authored-by: Marinolino <[email protected]> * Update scripts/support/destroy-system.sh Co-authored-by: Marinolino <[email protected]> * Update scripts/support/destroy-system.sh Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-initial-setup/2_main-setup/api-serverless/variables.tf Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-initial-setup/2_main-setup/api-serverless/variables.tf Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-initial-setup/initial-aws-setup.sh Co-authored-by: Marinolino <[email protected]> * Update scripts/aws-initial-setup/initial-aws-setup.sh Co-authored-by: Marinolino <[email protected]> * PR changes * Fix tests for user module * Centralize test utils * Remove required keys, add TODO * feat: GitHub Actions for Staging Workflow (#354) * staging workflows * Update .github/workflows/remove-stage.yml Co-authored-by: David Wyss <[email protected]> * PR fixes * PR final fixes * Update .github/workflows/initial-setup.yml Co-authored-by: David Wyss <[email protected]> * Fix type * Fix order * Remove fastify * Fix import * shorten bucket-prefix * changed stage branch name generation to fewer chars * Fix regex * Fix script modes * Fix destroy scripts * comment * remove destroy config Co-authored-by: Johann Schwabe <[email protected]> Co-authored-by: Marinolino <[email protected]> Co-authored-by: Marinolino <[email protected]>
- Loading branch information