Commit Graph

232 Commits

Author SHA1 Message Date
Karol Wypchło 330f220e1a
Update packages/health-check/src/utils.js 2022-01-14 10:51:09 +01:00
Karol Wypchlo 5065e66b46
support auth only portal mode in health-check module 2022-01-13 21:59:58 +01:00
dependabot[bot] 9d2a2733ed
Bump follow-redirects from 1.14.5 to 1.14.7 in /packages/health-check
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 10:58:14 +00:00
dependabot[bot] b68b30f4fe
Bump graceful-fs from 4.2.8 to 4.2.9 in /packages/health-check
Bumps [graceful-fs](https://github.com/isaacs/node-graceful-fs) from 4.2.8 to 4.2.9.
- [Release notes](https://github.com/isaacs/node-graceful-fs/releases)
- [Commits](https://github.com/isaacs/node-graceful-fs/compare/v4.2.8...v4.2.9)

---
updated-dependencies:
- dependency-name: graceful-fs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 12:06:14 +00:00
Karol Wypchło 9550d77060
Merge pull request #1504 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/yargs-17.3.1
Bump yargs from 17.3.0 to 17.3.1 in /packages/health-check
2021-12-28 14:18:08 +01:00
dependabot[bot] 0b153c94b3
Bump http-status-codes from 2.1.4 to 2.2.0 in /packages/health-check
Bumps [http-status-codes](https://github.com/prettymuchbryce/http-status-codes) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/prettymuchbryce/http-status-codes/releases)
- [Commits](https://github.com/prettymuchbryce/http-status-codes/commits)

---
updated-dependencies:
- dependency-name: http-status-codes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 12:05:38 +00:00
dependabot[bot] 033468f570
Bump yargs from 17.3.0 to 17.3.1 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 17.3.0 to 17.3.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.3.0...v17.3.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 12:05:33 +00:00
dependabot[bot] c3b26377fb
Bump express from 4.17.1 to 4.17.2 in /packages/health-check
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.17.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 12:09:23 +00:00
dependabot[bot] 2a7b6ec344
Bump prettier from 2.4.1 to 2.5.1 in /packages/health-check
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 14:41:55 +00:00
Karol Wypchło bd20ed6eaa
Merge pull request #1413 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/yargs-17.3.0
Bump yargs from 17.2.1 to 17.3.0 in /packages/health-check
2021-12-13 15:39:27 +01:00
dependabot[bot] 29ca85d799
Bump node in /packages/health-check
Bumps node from 16.13.0-alpine to 16.13.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 14:36:36 +00:00
dependabot[bot] 576d813996
Bump yargs from 17.2.1 to 17.3.0 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 17.2.1 to 17.3.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.2.1...v17.3.0)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 12:07:23 +00:00
Karol Wypchlo de16b33ed8
update skynet-js 2021-11-08 15:20:26 +01:00
dependabot[bot] 22a550951a
Bump node in /packages/health-check
Bumps node from 16.12.0-alpine to 16.13.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 12:10:15 +00:00
Karol Wypchlo a5674c8d1f
adjust tests 2021-10-28 15:12:14 +02:00
Karol Wypchlo 121dbee1c2
change datakey to dataKey 2021-10-27 14:59:08 +02:00
Karol Wypchlo 2fc92fb3e2
update skynet-js and fix critical checks 2021-10-27 14:50:54 +02:00
Matthew Sevey f6febd04b3
Fix error message 2021-10-26 12:18:56 -04:00
Matthew Sevey 5dc357b3d1
Fix BigInt use 2021-10-26 12:17:44 -04:00
Karol Wypchlo d4482e6025
fix 2021-10-26 17:03:59 +02:00
Karol Wypchlo 0a4e3b3f45
fix 2021-10-26 17:01:51 +02:00
Karol Wypchlo 4fbbc144c8
remove website skylink check for now 2021-10-26 17:01:10 +02:00
Karol Wypchlo f9567a4aa1
fix website check 2021-10-26 16:56:48 +02:00
Karol Wypchlo 7004ea0dfe
fix condition 2021-10-26 16:39:19 +02:00
Karol Wypchlo 019b5b7631
add skyd config checks to health checks 2021-10-26 16:32:59 +02:00
dependabot[bot] f8736088a3
Bump node in /packages/health-check
Bumps node from 16.11.1-alpine to 16.12.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 12:08:35 +00:00
Karol Wypchlo ffb1e499b9
use skynet to load our homepage 2021-10-18 16:24:23 +01:00
dependabot[bot] 2ff7a05c09
Bump node in /packages/health-check
Bumps node from 16.10.0-alpine to 16.11.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 12:09:47 +00:00
Karol Wypchło 02654d1bfb
Merge pull request #1238 from SkynetLabs/dependabot/docker/packages/health-check/node-16.10.0-alpine
Bump node from 16.9.1-alpine to 16.10.0-alpine in /packages/health-check
2021-09-27 17:48:25 +02:00
dependabot[bot] e94a6e3564
Bump node from 16.9.1-alpine to 16.10.0-alpine in /packages/health-check
Bumps node from 16.9.1-alpine to 16.10.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 15:31:09 +00:00
dependabot[bot] 1c8cdaf8bf
Bump ansi-regex from 5.0.0 to 5.0.1 in /packages/health-check
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 15:30:23 +00:00
dependabot[bot] 80b9ec2b5a
Bump yargs from 17.1.1 to 17.2.1 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 17.1.1 to 17.2.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.1.1...v17.2.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 12:05:09 +00:00
dependabot[bot] 84b1766932
Bump prettier from 2.4.0 to 2.4.1 in /packages/health-check
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 14:15:58 +00:00
dependabot[bot] 5d57a25b63
Bump node from 16.9.0-alpine to 16.9.1-alpine in /packages/health-check
Bumps node from 16.9.0-alpine to 16.9.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 13:24:05 +00:00
Karol Wypchlo 32ffb4b8cd
/bin/zsh => 2021-09-15 13:29:12 +02:00
Karol Wypchlo 6e555a5efb
add deprecated note 2021-09-15 13:06:16 +02:00
Karol Wypchlo 863359f227
use full path 2021-09-15 13:03:23 +02:00
Karol Wypchlo 410ecff4f2
fix path 2021-09-15 12:58:05 +02:00
Karol Wypchlo b768ca9973
fix transitioning to cli command 2021-09-15 12:50:22 +02:00
Karol Wypchlo bfc2cbd3f3
make disabled health-check require reason 2021-09-10 16:19:24 +02:00
Karol Wypchło d36409e3b9
Merge pull request #1166 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/prettier-2.4.0
Bump prettier from 2.3.2 to 2.4.0 in /packages/health-check
2021-09-10 11:31:19 +02:00
dependabot[bot] 7df6124dc5
Bump node from 16.8.0-alpine to 16.9.0-alpine in /packages/health-check
Bumps node from 16.8.0-alpine to 16.9.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 09:26:51 +00:00
dependabot[bot] 899b5d2dd0
Bump prettier from 2.3.2 to 2.4.0 in /packages/health-check
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 09:26:42 +00:00
dependabot[bot] fa5567f325
Bump axios from 0.21.1 to 0.21.4 in /packages/health-check
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 15:06:10 +00:00
Karol Wypchlo 3946ad4a77
use 308 as new skyd redirect code 2021-09-07 12:56:25 +02:00
dependabot[bot] 1b14bbf06b
Bump node from 16.5.0-alpine to 16.8.0-alpine in /packages/health-check
Bumps node from 16.5.0-alpine to 16.8.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 11:05:20 +00:00
Karol Wypchlo ecb73e7498
drop caddy as proxy 2021-08-27 14:15:22 +02:00
Karol Wypchlo 72f2b56f17
include skapps checks 2021-08-23 16:21:09 +02:00
dependabot[bot] 7d09c9c40f
Bump yargs from 17.1.0 to 17.1.1 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 17.1.0 to 17.1.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.1.0...v17.1.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:08:06 +00:00
dependabot[bot] d141d1afbe
Bump graceful-fs from 4.2.6 to 4.2.8 in /packages/health-check
Bumps [graceful-fs](https://github.com/isaacs/node-graceful-fs) from 4.2.6 to 4.2.8.
- [Release notes](https://github.com/isaacs/node-graceful-fs/releases)
- [Commits](https://github.com/isaacs/node-graceful-fs/compare/v4.2.6...v4.2.8)

---
updated-dependencies:
- dependency-name: graceful-fs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 10:04:58 +00:00
dependabot[bot] d7c2e27e1c
Bump yargs from 17.0.1 to 17.1.0 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 17.0.1 to 17.1.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.0.1...v17.1.0)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 09:30:31 +00:00
Ivaylo Novakov 3bf35d9d22
Merge pull request #1005 from SkynetLabs/fix-os-getenv
os.getenv doesn't take default value in lua
2021-07-26 19:57:07 +02:00
Karol Wypchlo 9abdc7e6e3 --frozen-locafile 2021-07-26 19:06:15 +02:00
Karol Wypchlo 8afa43a0a2 add index.js to node executable 2021-07-26 14:12:33 +02:00
Karol Wypchlo 5d7f02a1c8 flatten COPY files 2021-07-26 14:00:20 +02:00
Karol Wypchlo a3e12327c0 update node and main branch 2021-07-26 13:46:02 +02:00
Karol Wypchlo 0278d4740d use true instead of 1 2021-07-26 12:31:12 +02:00
Karol Wypchlo 3fab75e9be assert correct expectations 2021-07-19 22:34:08 +02:00
Karol Wypchlo e79eaafd72 update node and rebuild website 2021-07-06 12:26:27 +02:00
Karol Wypchlo 93466723e8 rebuild package locks 2021-07-06 11:55:16 +02:00
Karol Wypchło cdb5157958
add health check for registry write and read (#906) 2021-06-28 11:38:22 +02:00
Karol Wypchło 60f87f4064
typo 2021-06-24 13:38:14 +02:00
Karol Wypchlo 4d29b2082d amend comments 2021-06-24 11:33:55 +02:00
Karol Wypchlo 88238be825 remove extended header size from node 2021-06-23 21:35:15 +02:00
Karol Wypchlo e69829be3e fix /etc/resolv.conf 2021-06-23 21:29:26 +02:00
Karol Wypchlo e56a986766 fix /etc/resolv.conf 2021-06-23 21:28:47 +02:00
Karol Wypchlo 167e4c3ad0 try 2021-06-23 17:59:22 +02:00
Karol Wypchlo 663d8bbcf1 try 2021-06-23 17:53:59 +02:00
Karol Wypchlo 36b93a85dd try this 2021-06-23 17:45:51 +02:00
Karol Wypchlo 7f7b03757d try increased timeouts 2021-06-23 14:53:33 +02:00
Karol Wypchlo 3e34378f39 try without no-resolv 2021-06-23 14:24:58 +02:00
Karol Wypchlo b382b1a53a test using dnsmasq as sole resolver 2021-06-23 14:23:28 +02:00
Karol Wypchlo 6657a27e58 test using dnsmasq as sole resolver 2021-06-23 14:19:27 +02:00
Karol Wypchlo 1042fe3a17 remove dnsmasq debug info 2021-06-22 14:22:17 +02:00
Karol Wypchlo 59a22db5f0 add ip check to all checks 2021-06-22 14:03:07 +02:00
Karol Wypchlo 1f8a553fb0 use cli 2021-06-22 13:17:52 +02:00
Karol Wypchlo c12d18bcf6 log-debug 2021-06-20 18:55:31 +02:00
Karol Wypchlo d78001a992 no-resolv 2021-06-20 18:11:14 +02:00
Karol Wypchlo 37aba89478 debug dnsmasq 2021-06-20 17:56:05 +02:00
Karol Wypchlo ad6cc2bf46 fix critical health check 2021-06-18 12:58:36 +02:00
Karol Wypchlo dd02215292 fix critical health check 2021-06-18 12:57:44 +02:00
Karol Wypchlo 4689a7d92e rename check 2021-06-16 17:02:52 +02:00
Karol Wypchlo 6594dbf5a6 add a check for SKYNET_SERVER_API 2021-06-16 16:50:05 +02:00
Karol Wypchlo 27c38082ec print failures 2021-06-16 12:14:41 +02:00
Karol Wypchlo c241178a4c use entry.checks 2021-06-16 12:09:56 +02:00
Karol Wypchlo 00a3321009 log checks on failure 2021-06-16 12:07:51 +02:00
Karol Wypchlo 17dca691a4 health-check: change exit code on failure 2021-06-16 11:38:59 +02:00
Karol Wypchlo 4438d13ab4 env variables are strings, fix conditions 2021-05-31 10:00:54 +02:00
Karol Wypchlo ce8fcf4656 use dnsmasq for aliasing siasky.net and all the subdomains 2021-05-25 16:12:04 +02:00
Karol Wypchlo 0a5b6bbe70 add more comments 2021-05-24 17:30:29 +02:00
Karol Wypchlo 6649726598 move crontab fill on top 2021-05-24 17:13:29 +02:00
Karol Wypchlo 838d82c3b5 redirect to /login 2021-05-24 17:12:16 +02:00
Karol Wypchlo 175ee075c7 fix comments and add new account test 2021-05-24 17:07:37 +02:00
Karol Wypchlo a2f7b7581a fix argument list 2021-05-24 16:47:39 +02:00
Karol Wypchlo 02e0e45bc4 add new critical checks 2021-05-24 16:36:26 +02:00
Karol Wypchlo 0dce2218d2 upgrade node 2021-05-13 12:30:35 +02:00
Karol Wypchlo 05525e65d6 add skynet-js as dependency to health-check 2021-05-12 17:56:50 +02:00
Karol Wypchlo efae46f339 amend health-checks to include get call for metadata 2021-05-12 17:49:25 +02:00
Karol Wypchło 08652a4698
Merge pull request #707 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/form-data-4.0.0
Bump form-data from 3.0.1 to 4.0.0 in /packages/health-check
2021-05-10 19:13:00 +02:00
dependabot[bot] 8f55c9a239
Bump yargs from 16.2.0 to 17.0.1 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 16.2.0 to 17.0.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.2.0...v17.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 11:43:32 +00:00