Commit Graph

245 Commits

Author SHA1 Message Date
Matthew Lopez
811add80d3
Make all Node.js servers exit on SIGTERM
This prevents the extra 10-second delay when restating the servers.
2024-05-23 20:59:24 -04:00
dependabot[bot]
8a4c8dc88f
Bump repos/website from 79d22e2 to d5b0873 (#64)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `79d22e2` to `d5b0873`.
- [Commits](79d22e2ec8...d5b0873802)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 15:50:09 -04:00
Matthew Lopez
106482ad84
Stop mitmproxy as well while restoring 2024-05-19 21:13:04 -04:00
Matthew Lopez
35e64a1044
Create verbose mode for all scripts and reduce default output
Man, dealing with passing arguments through multiple programs correctly is annoying. Tip: don't use eval, use "$@" instead.
2024-05-19 17:26:37 -04:00
Matthew Lopez
26a6737cdd
Set default script directory to git_base_dir 2024-05-19 15:39:25 -04:00
Matthew Lopez
da0f0bbf0f
Allow MongoDB and Postgres to restart in CI due to flakiness 2024-05-15 17:00:33 -04:00
Matthew Lopez
c1bb5fb6cc
Switch the account server to the PNID settings fork
The CDN base URL needs to be set to HTTP because the account server gets the Mii images using it, and nginx does not have a valid SSL certificate.
2024-05-15 16:36:34 -04:00
Matthew Lopez
66962ac940
Switch CDN from cdn.pretendo.cc to pretendo-cdn.b-cdn.net
This helps the self-hosted setup match more closely with the Pretendo official servers and makes Wii U account swap homebrew work.
2024-05-15 15:44:25 -04:00
Matthew Lopez
88068ced97
Fix log statement 2024-05-15 14:18:09 -04:00
dependabot[bot]
da40c63293
Bump repos/Inkay from b239ae8 to b02db3f (#62)
Bumps [repos/Inkay](https://github.com/PretendoNetwork/Inkay) from `b239ae8` to `b02db3f`.
- [Release notes](https://github.com/PretendoNetwork/Inkay/releases)
- [Commits](b239ae82db...b02db3f20b)

---
updated-dependencies:
- dependency-name: repos/Inkay
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 16:18:41 -04:00
Matthew Lopez
161be6744d
Add WIP public corefile for DNS connection method 2024-05-11 21:49:53 -04:00
Matthew Lopez
bedec9d604
Improve handling of repeated commands
This prevents infinite loops during setup.
2024-05-11 17:32:38 -04:00
Matthew Lopez
7275d3ba26
Create a simple server update script 2024-05-11 17:08:48 -04:00
Matthew Lopez
27ce02a296
Update FriendsAccountSwitcher to make saving before loading optional 2024-05-11 16:51:26 -04:00
Matthew Lopez
2c786f33ab
Improve FriendsAccountSwitcher documentation after revert 2024-05-11 16:34:16 -04:00
Matthew Lopez
d8a7e25946
Revert "Add new 3DS friends account switcher instructions"
This reverts commit 1e45d6b418.
2024-05-11 16:22:30 -04:00
Matthew Lopez
353048d4b3
Create full environment reset script 2024-05-10 21:20:19 -04:00
Matthew Lopez
e434511155
Switch from environment/server.local.env to a global .env file 2024-05-10 20:54:52 -04:00
Matthew Lopez
b2d22f3836
Disable unused and broken nginx SSL support
It was causing timing issues in CI because of mitmproxy's certificate generation. Making this work for real will require compiling nginx from source anyway.
2024-05-11 00:53:13 +00:00
Matthew Lopez
c96c756a5f
Of course I messed up the ln command order 2024-05-10 20:11:11 -04:00
Matthew Lopez
579672b4eb
Delete unused account-certificates volume 2024-05-10 20:07:09 -04:00
Matthew Lopez
f7c906fa0b
Move from running yq in CI to using a compose.ci.yml 2024-05-10 20:05:42 -04:00
Matthew Lopez
c52a802b7d
Fix regression in checking whether local environment files exist 2024-05-10 17:42:16 -04:00
Matthew Lopez
bafb12e1d0
Fix error with calling setup-environment.sh in the setup script 2024-05-10 17:29:07 -04:00
Matthew Lopez
05a67989cd
Rewrite scripts and improve user-friendliness
- Update all of the scripts to use Bash instead of sh so I can use arrays and other bashisms
- Create a complete Bash option parsing framework to replace function-lib.sh
- Rewrite all of the scripts to use this framework
- General script user-friendliness improvements, including loading existing environment variables by default instead of always requiring them to be specified
2024-05-10 17:22:25 -04:00
dependabot[bot]
76c38ca5d7
Bump repos/website from ad0563b to 79d22e2 (#61)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `ad0563b` to `79d22e2`.
- [Commits](ad0563b244...79d22e2ec8)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 15:33:41 -04:00
dependabot[bot]
3c896d3cd7
Bump repos/account from d4df120 to af54670 (#60)
Bumps [repos/account](https://github.com/PretendoNetwork/account) from `d4df120` to `af54670`.
- [Commits](d4df120601...af54670fbc)

---
updated-dependencies:
- dependency-name: repos/account
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 16:06:21 -04:00
Matthew Lopez
e2a5761e53
Update BOSS submodule and configure connection to friends 2024-05-06 19:34:27 -04:00
Matthew Lopez
f55a2e0d33
Update website submodule and fix online files patch 2024-05-06 19:29:20 -04:00
Matthew Lopez
826c52d706
Create internal directory for scripts 2024-05-03 13:17:36 +00:00
Matthew Lopez
06c89a4920
Only update the Postgres password when restoring a backup 2024-05-03 08:28:57 -04:00
Matthew Lopez
4a4643b1d8
Make backups error if the backup directory already exists 2024-05-03 08:24:13 -04:00
Matthew Lopez
e7953be311
Create server backup and restore scripts 2024-05-03 00:29:39 -04:00
dependabot[bot]
c88f39abf3
Bump repos/website from 2b98579 to 7e1c746 (#57)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `2b98579` to `7e1c746`.
- [Commits](2b98579f19...7e1c746bd6)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:26:30 -04:00
Matthew Lopez
94218bf80b
Link to roadmap and plans issue 2024-04-28 14:30:54 -04:00
Matthew Lopez
19f7173ea6
Set up Redis Commander 2024-04-28 13:55:28 -04:00
Matthew Lopez
7b7cec4d8d
Configure required Juxt server environment 2024-04-28 13:38:45 -04:00
Matthew Lopez
d35fa242e2
Configure Juxtaposition with Redis 2024-04-28 13:27:04 -04:00
Matthew Lopez
aea83de628
Fix Juxtaposition patches 2024-04-28 12:59:33 -04:00
Matthew Lopez
0c5be36790
Update juxtaposition-ui submodule 2024-04-28 12:55:20 -04:00
Matthew Lopez
19ed9cbfa0
Fix account server patches 2024-04-28 12:54:06 -04:00
Matthew Lopez
48d677c4ad
Clean repos before setting up submodules 2024-04-28 12:51:40 -04:00
Matthew Lopez
8fd683f4ca
Update account submodule 2024-04-28 12:38:05 -04:00
dependabot[bot]
169c790963
Bump repos/Inkay from d62765b to b239ae8 (#41)
Bumps [repos/Inkay](https://github.com/PretendoNetwork/Inkay) from `d62765b` to `b239ae8`.
- [Release notes](https://github.com/PretendoNetwork/Inkay/releases)
- [Commits](d62765bab9...b239ae82db)

---
updated-dependencies:
- dependency-name: repos/Inkay
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-28 11:28:50 -04:00
dependabot[bot]
bd602647c2
Bump repos/website from 3e73961 to 2b98579 (#53)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `3e73961` to `2b98579`.
- [Commits](3e739618be...2b98579f19)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 16:07:35 -04:00
dependabot[bot]
f7ed3107ef
Bump repos/website from 00dc864 to 3e73961 (#52)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `00dc864` to `3e73961`.
- [Commits](00dc864b32...3e739618be)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 15:20:19 -04:00
dependabot[bot]
d18fa85469
Bump repos/website from 9bb9f6a to 00dc864 (#35)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `9bb9f6a` to `00dc864`.
- [Commits](9bb9f6a4f0...00dc864b32)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 21:02:08 -04:00
dependabot[bot]
debc5f15dc
Bump repos/website from 551a3b5 to 9bb9f6a (#34)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `551a3b5` to `9bb9f6a`.
- [Commits](551a3b564d...9bb9f6a4f0)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 16:50:22 -04:00
dependabot[bot]
2bc6433184
Bump repos/website from f394918 to 551a3b5 (#32)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `f394918` to `551a3b5`.
- [Commits](f3949182c4...551a3b564d)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:59:49 -04:00
dependabot[bot]
e1609d3c6f
Bump repos/website from 9fef8dd to f394918 (#30)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `9fef8dd` to `f394918`.
- [Commits](9fef8dd8e1...f3949182c4)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:29:45 -04:00