Commit Graph

550 Commits (276e089419592eabe1f188fdb53d161ab835cf70)

Author SHA1 Message Date
neil 30e89c3cdc
Merge pull request #6094 from sergiustheblack/feature/swanctl
StrongSwan deploy hook: swanctl support
2024-11-13 09:01:54 +01:00
Sergey Parfenov 9c25365b12 Add swanctl support 2024-11-13 04:07:28 +03:00
Ludovic Ortega 2229bcc98b
fix: echo flag 2024-11-12 22:15:44 +01:00
Ludovic Ortega 1bfd4672e1
fix: remove double square brackets 2024-11-12 22:10:34 +01:00
Ludovic Ortega 08807b498e
fix: bad copy/paste
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
2024-11-10 13:30:18 +01:00
Ludovic Ortega e8a453c567
fix: lint
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
2024-11-10 13:21:09 +01:00
Ludovic Ortega 21b966c8e6
fix: don't check for subversion that can lead to error
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
2024-11-10 02:56:40 +01:00
Ludovic Ortega 64a1e88982
feat: add support for docker apps
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
2024-11-10 02:41:38 +01:00
Ludovic Ortega 34c8b882c6
fix: helm chart seems available only on truenas scale
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
2024-11-10 00:34:26 +01:00
Ludovic Ortega fa420d70cc
fix: verify truenas os version 2024-11-10 00:13:53 +01:00
Ludovic Ortega 2c67934191
fix(truenas): builtin service deprecation 2024-11-09 23:29:52 +01:00
neil 7362e8de4d fix format 2024-10-13 17:41:22 +02:00
Shirasawa 76719d1bf5
fix: fix ali_dcdn function naming typo 2024-09-25 00:27:04 +08:00
PMExtra 89342bcb75 add ali_dcdn deploy hook 2024-09-23 15:11:52 +08:00
PMExtra 2ea37e6a0d refactor(ali): check the result of prepare_ali_credentials 2024-09-20 14:55:33 +08:00
PMExtra ea2330b49f refactor(ali): move the loading script into ali_cdn_deploy 2024-09-20 14:54:07 +08:00
PMExtra 610bb2b85c refactor(ali): set API endpoint for each action 2024-09-19 16:30:04 +08:00
PMExtra fca6e9b932 refactor: Alibaba Cloud API 2024-09-19 15:49:42 +08:00
neil 2d282597ca fix format 2024-09-15 14:30:12 +02:00
neil beb31ab2fa
Merge pull request #5246 from 3VAbdAVE/dev
Updating unifi deploy hook - remove keytool requirement
2024-09-15 13:43:18 +02:00
neil e6461380c6
Merge pull request #5205 from PMExtra/feature/ali_cdn
feat(deploy_ali_cdn): support Alibaba Cloud CDN deployment
2024-09-13 13:58:52 +02:00
3VAbdAVE d8637b2c0f fixes #3359
Ubiquiti removed keytool (and java) from recent releases of Unifi OS. This moves from keytool to openssl's native pkcs12.

Tested on Unifi Dream Machine which runs Unifi OS and a built-in Unifi controller.

Also added backup of existing files prior to change in case anything goes wrong, and update system configuration with compatible ciphers.
2024-08-15 11:25:23 -04:00
neil bb8386ab85
Merge pull request #5245 from nathanejohnson/master
RouterOS - make deploy more resilient
2024-08-15 19:57:44 +08:00
Nathan Johnson e711d168df RouterOS - make deploy more resilient
In the case where importing the cert and key removes the files from disk
the existing deploy will fail when it tries to remove those files.  This
still attempts to remove the files but catches the error and moves on instead
of bombing like before.

Similarly, if the deploy had failed before, subsequent deploys would fail
because the script already existed, so it would not be able to create
the script.  This first attempts to remove the script if it exists, and then
creates the script.
2024-08-09 16:38:09 -05:00
neil 11aef82993
Merge pull request #5139 from scruel/scruel-patch-1
feat: guide user to run script as root to create temp admin user
2024-07-19 11:16:44 +08:00
Scruel Tao 60569fdd83
fix(deploy): respect api path with synology Auth API
fix #5184
2024-07-14 15:04:43 +08:00
PMExtra 945b7de76f feat(deploy_ali_cdn): improve upper-case 2024-07-11 18:41:39 +08:00
PMExtra 3c35eadbc4 feat(deploy_ali_cdn): support Alibaba Cloud CDN deployment 2024-07-11 18:29:20 +08:00
Marek Wester e0c63d58b2 improve compatibility with FreeBSD
it is related to this bug report: opnsense/plugins#3525

FreeBSD's sed doesn't have the -z option, so empty certificates are delivered to vault when running the script on FreeBSD.
2024-06-15 23:19:04 +02:00
Scruel Tao 1dbc58d4e0
chore: optimize more msgs 2024-05-08 14:01:43 +08:00
Scruel Tao 47ccb28482
chore: typo 2024-05-08 04:46:51 +08:00
Scruel Tao 744dea00ca
feat: guide user to run script as root to create temp admin user
Message text and comment optimized
2024-05-08 02:56:21 +08:00
Scruel Tao cd01104de9
fix(deploy_dsm): ensure grep get the error code
Added grep -o option to ensure the script won't get other digits as the error code result
2024-04-25 13:39:05 +08:00
Scruel Tao 9ff89b570f
fix(deploy_dsm): missing gerp -P option on busybox
Fixes:  #5105
2024-04-25 04:02:49 +08:00
neil 9863e7ea6e
Merge pull request #5023 from scruel/patch-dsm-deploy
Patch Synology DSM deploy: support DSM 6.x & user-friendly refactor.
2024-04-21 09:45:41 +02:00
neil c51104f956 fix format 2024-03-31 20:33:57 +02:00
neil cc5c722e29
Merge pull request #5072 from aSauerwein/master
feature: add template option for panos deploy hook
2024-03-31 20:15:18 +02:00
asauerwein 4fcddd1893 add template option 2024-03-31 09:16:21 +02:00
neil 2728d2aa6e fix format 2024-03-18 21:09:49 +01:00
neil 0588fc6b7c
Merge pull request #4581 from wlallemand/haproxy-hot-update
haproxy deploy hook updates existing certificate over stats socket
2024-03-18 21:07:12 +01:00
Scruel Tao 6af5293315 doc: adjust 2024-02-28 02:00:07 +08:00
Scruel Tao ff090d2f74 fix lint 2024-02-26 23:45:19 +08:00
Scruel Tao 68e3a12a91 feat: improve robustness of the usage of DSM tool `synogroup` 2024-02-26 23:38:44 +08:00
Scruel Tao 50eda6b678 fix: lint 2024-02-26 21:07:15 +08:00
Scruel Tao 192ec598a3 feat: add `SYNO_LOCAL_HOSTNAME` to prevent remote deploy via temp admin method 2024-02-26 21:03:26 +08:00
Scruel Tao 5b449999a5 refactor: unify variable naming convention again (revert some changes) 2024-02-26 20:55:49 +08:00
Scruel Tao afed62f6de fix: should save `SYNO_UseTempAdmin` only after login success. 2024-02-26 07:05:00 +08:00
Scruel Tao 59d1e16f9c feat: bypass enforce temp admin 2FA 2024-02-26 06:23:47 +08:00
Scruel Tao dbe0d477d6 feat: more user-friendly logic & error messages. 2024-02-26 06:23:46 +08:00
Scruel Tao 7248560169 feat: support DSM 6.x 2024-02-26 06:23:45 +08:00