Evgeny
1e29f7c811
ci: adjust output, retry tests on failure, include hashes in release notes ( #1520 )
...
* scripts/reproduce-builds: rename with prefix and adjust output
* ci: rerun tests and include hashes in release
* ci: fix variables and really skip 8.10.7
* ci: fix prepare step
* ci: setup swap for 8.10.7
* ci: fix upload and formatting
* ci: properly format hashes
* ci: simplify
---------
Co-authored-by: shum <shum@liber.li >
2025-04-21 17:05:31 +01:00
sh
c3f57beafd
scripts: fix script for reproducible builds ( #1492 )
...
* scripts: fix script for reproducible builds
* scripts: add automatic hash comparasion + compute file with checksums
* scripts: silence cleanup
* ci/scripts: enable parallel build (#1493 )
2025-03-23 18:17:27 +00:00
sh
2e67ed9c4c
ci/scripts: refactor reproducible builds ( #1490 )
...
* ci: build cache, remove 20.04, minor refactor
* scripts: update build reproducibility script
* script: add postgresql reproducibility
* script: no cache when building image
* scripts: force symlinks
* scripts: also download prebuilt postgresql binary
* scripts: add missing app var
2025-03-22 13:27:11 +00:00
sh
6e505f5c0b
scripts: add script to reproduce binaries locally ( #1477 )
2025-03-08 20:51:20 +00:00
sh
dad7e1b60c
simplex-servers-update: download scripts from tag ( #1457 )
...
* simplex-servers-update: download scripts from tag
* set remote version when re-executing the update script
* safeguard variables
* additional checks
2025-02-20 09:26:03 +00:00
sh
560b257af7
scripts: simplex-servers-update menu to update only server binaries etc. ( #1445 )
...
* scripts/simplex-servers-update: refactor
* simplex-servers-update: don't check empty variable
* simplex-servers-update: minor decoration change
* simplex-servers-update: add new line when reexecuting script
* simplex-servers-update: refactor menus
* simplex-servers-update: fix re-executing
* simplex-servers-update: fix menus
* simplex-servers-update: do not rerended menu every time
* simplex-servers-update: update menus logic
* simplex-servers-update: ask permission to update only if versions differ
* simplex-servers-update: skip empty variable
* simplex-servers-update: include while loop
* simplex-servers-update: update re-executing skip logic
* simplex-servers-update: ignore empty
* simplex-servers-update: s/while/if
* simplex-servers-update: ignore empty variable
* simplex-servers-update: update skipping scripts
* simplex-servers-update: minor fixes
* simplex-servers-update: add spaces
* simplex-servers-update: safeguard files and add cleanup logic
* simplex-servers-update: update menus
* simplex-servers-update: fix binary check
* simplex-servers-update: adjust erasing lines
* simplex-servers-update: simplify bin update logic
* simplex-servers-update: fix binary path
* simplex-servers-update: format errors
* scripts/main/simplex-servers-update: initial refactor2
* simplex-servers-update: incr update
* simplex-servers-update: initial dynamic menu
* simplex-servers-update: misc fixes
* simplex-servers-update: fix VER
* simplex-servers-update: add VER check
* simplex-servers-update: abort early if there's no options available
* simplex-servers-update: add new helper function and update_misc
* simplex-servers-update: pass selection
* simplex-servers-update: non-interactive usage
* simplex-servers-update: add help menu
* simplex-servers-update: misc fixes and new binary update logic
* simplex-servers-update: local path check
* simplex-servers-update: fix change check
* simplex-servers-update: OLF -> OLD
* simplex-servers-update: always return code from functions
* simplex-servers-update: new menu flow
* simplex-servers-update: fixes
* simplex-servers-update: download function + fixes
* simplex-servers-update: s/bins/binaries
* simplex-servers-update: download message
* simplex-servers-update: cleanup
2025-02-15 10:31:19 +00:00
sh
efe71cd598
docker: refactor ( #1438 )
...
* docker: refactor
* github/docker: bump actions and adjust smp ports
2025-01-30 09:22:13 +00:00
sh
817f5e1737
scripts/systemd: update services ( #1440 )
2025-01-24 13:35:33 +00:00
sh
0e921d3258
scripts: preparations for new deployments ( #1357 )
...
* scripts/install: allow specifying version
* scripts/update: allow specifying version
* scripts/services: allow 443 for smp, allow infinite startup
2024-10-04 09:57:07 +01:00
sh
7000431249
scripts/servers: update stopscript ( #1286 )
...
* scripts/servers: update stopscript
* Major refactoring
* archive -> backups
* simplify logic
* sort files by timestamp
2024-09-09 10:19:17 +01:00
sh
5be81c562f
scripts: update install/update ( #1271 )
2024-08-20 15:57:29 +01:00
sh
369efc24c2
scripts: update install/update scripts ( #1192 )
2024-06-08 08:12:16 +01:00
sh
9994375c16
docker: workaround for xftp quota format ( #862 )
2023-10-22 09:26:36 +01:00
sh
76e3863cbb
install: simplify systemd service and add new helper stopscript ( #771 )
...
* install: simplify systemd service and add new helper stopscript
* README: update hash
2023-06-05 13:01:16 +04:00
sh
1c2fbdb2c5
install: some more fixes ( #770 )
2023-06-05 11:12:09 +04:00
sh
1822296481
install.sh: fixes ( #765 )
...
* install.sh: fixes
* change back to stable
2023-06-05 10:27:02 +04:00
tcely
20f7b538e5
Docker entrypoint fixes ( #753 )
...
* docker entrypoint: DRY store log backup
Don't Repeat Yourself
Set a variable for the full path to the source file.
Create the backup path by appending an extension from `date` output.
Also fixed quoting and switched to an `if` block.
Clean up block level variables.
* docker entrypoint: use ISO 8601 format
The previous format discards information about the local time zone.
* docker entrypoint: always use UTC
Now the format always ends in +00:00, and we can ignore that part again.
* docker entrypoint: provide the date format again
* docker entrypoint: remove time zone from the date format
* docker entrypoint: use an unambiguous date format
Present a leading zero before the month:
YYYY-0MM-DD
Both YYYY-MM-DD and YYYY-DD-MM are used by people and can be confusing in the beginning of the month.
* docker entrypoint: use appropriate quoting
Without avoiding field splitting a password containing a space changes the number of arguments being set.
* docker entrypoint: use explicit braces for custom variables
Make the intentions clear and don't assume the user knows the special cases for when variables won't be extended.
Example:
word=animal
words=mistake
echo "$words vs $word vs ${word}s"
* docker entrypoint-xftp-server: braces and quoting
* docker entrypoint-xftp-server: backup block
* docker entrypoints: explain date format in a comment
* switched from long to short option to date for POSIX
* docker entrypoint-smp-server: explain date format
* docker entrypoint-xftp-server: explain date format
* docker entrypoints: further explain format
I fixed the case to match the date format letters.
Also, use words to explain since I don't want everyone to need to read about date formats to understand.
* docker entrypoints: only quote letters
I was either going to quote the dashes too or stop quoting the colons.
Having less quotes was more readable.
* Revert "docker entrypoint: use an unambiguous date format"
This reverts commit ba2a93bad9 .
* docker entrypoints: remove %F
* docker entrypoint-smp-server: remove %F
Used part of the explicit ISO 8601 format,
provided by the coreutils date invocation guide.
* docker entrypoint-xftp-server: remove %F
Used part of the explicit ISO 8601 format,
provided by the coreutils date invocation guide.
2023-05-29 14:12:23 +03:00
sh
0f7ede5eed
docker+scripts: XFTP servers installation, update docs, install scripts ( #750 )
...
* docker: major overhaul with xftp support
* github: update docker actions
* install: add installation scripts
* readme: update readme to reflect latest changes
2023-05-12 10:45:04 +01:00
sh
605970f6b6
docker: refactoring ( #735 )
...
* build: switch ubuntu image to lunar
* dcoker: support multi-platform builds
* docker: strip binary
* docker: multicore execution
* readme: change docker hub to smp-server
2023-04-24 11:10:05 +01:00
sh
dc40c3461a
docker: fix docker logs and add build arg ( #733 )
2023-04-23 15:29:19 +01:00
sh
d5bf99c32c
docker: update ( #578 )
...
* readme: update for recent docker changes
* docker: update entrypoint logic
* readme: clarify
2022-12-26 22:27:56 +00:00
sh
57fc190a91
readme: fix install steps ( #570 )
...
* readme: fix install steps
* correction
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-26 14:29:59 +00:00
sh
84ce7a90d0
readme: add tor configuration ( #524 )
...
* readme: add tor configuration
* update docs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-18 13:36:02 +01:00
sh
5d06dde757
docker: add selfhosted version ( #481 )
...
* docker: add selfhosted version
* switch to ghcup
* readme
* master -> stable
* delete git checkout
* rename docker files
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-22 11:26:20 +01:00
sh
d8f07e8dde
add hosted docker container ( #479 )
...
* add docker container
* Apply suggestions from code review
* Update README.md
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-20 11:21:10 +01:00
JRoberts
3a4f8cb6eb
corrections to ntf server linode script ( #469 )
2022-07-11 16:39:27 +04:00
Evgeny Poberezkin
a7c3133c35
Merge branch 'master' into f/notifications
2022-06-21 19:12:51 +01:00
JRoberts
30b36cd756
ntf: notification server linode script ( #413 )
2022-06-21 13:59:50 +04:00
Evgeny Poberezkin
756bd1eca7
remove timeout from stopping server ( #412 )
...
* remove timeout from stopping server
* s/0/infinity/
2022-06-20 14:36:59 +01:00
Evgeny Poberezkin
0a71822dd0
v2.3.0: save and restore messages when the server is restarted ( #395 )
...
* save and restore messages when server is restarted
* read file line by line
* add import
* optmize restoring messages by reading the whole file
* update version to 2.3.0
* update scripts
* add script
* update readme
2022-06-12 15:59:14 +01:00
Efim Poberezkin
7a611bed5a
configure systemd service restart and increase file descriptors limit for Linode script ( #320 )
2022-02-26 18:42:16 +04:00
Efim Poberezkin
e15a25d92e
update Linode stackscript, amendments
2022-01-21 14:21:07 +04:00
Efim Poberezkin
1cd68f4159
update Linode stackscript ( #309 )
2022-01-21 12:36:42 +04:00
Efim Poberezkin
40efdf97de
bootstrap script to download latest SMP server release for DigitalOcean droplet ( #295 )
2022-01-17 12:32:10 +04:00
Efim Poberezkin
2f342d3914
clarify wording in Linode script comment on server address
2022-01-11 21:58:40 +04:00
Efim Poberezkin
5306489d72
initialize server with IP and FQDN; specify FQDN as address if provided ( #279 )
2022-01-11 20:24:39 +04:00
Efim Poberezkin
14afa24a0a
disable websockets by default ( #277 )
2022-01-11 11:21:02 +04:00
Efim Poberezkin
0bfac998a5
update Linode and DigitalOcean server recipes ( #274 )
2022-01-11 10:41:02 +04:00
Efim Poberezkin
db5ae65f3c
Merge branch 'stable'
2022-01-10 22:17:33 +04:00
Efim Poberezkin
92b3137b79
non interactive apt commands in server recipes ( #272 )
2022-01-10 22:08:38 +04:00
Efim Poberezkin
33bb38299b
refactor server Main.hs ( #248 )
2022-01-02 21:49:40 +04:00
Efim Poberezkin
388e4d2bcc
update server recipes - Linode & DigitalOcean ( #239 )
2021-12-24 15:34:09 +04:00
Evgeny Poberezkin
6b5427b826
update DigitalOcean image manifest and init script to install the latest server release, add docs ( #195 )
2021-09-12 14:21:09 +01:00
Evgeny Poberezkin
33de5f6fec
include migrations in the package, update docs, versions ( #194 )
...
* include migrations in the package, update versions
* update DigitalOcean version
2021-09-11 18:36:12 +01:00
Efim Poberezkin
862f25500d
v4 ( #192 )
2021-09-09 01:30:39 +10:00
Nikita Poberezkin
46c3589604
add DigitalOcean SMP server Droplet recipe, extend readme ( #150 )
2021-06-01 23:10:58 +03:00
Nikita Poberezkin
7bbc4e4109
add linode deployment recipe, modify smp-server-linode script ( #151 )
2021-05-28 21:00:24 +03:00
Nikita Poberezkin
248aa234d1
turn off smp server websockets support in linode script ( #149 )
2021-05-27 11:48:30 +03:00
Nikita Poberezkin
26a0665d81
SMP server linode StackScript ( #147 )
2021-05-24 22:28:10 +03:00