Commit Graph

219 Commits

Author SHA1 Message Date
Karol Wypchlo a561796d52
fix health checks working with redirects 2022-03-08 23:13:00 +01:00
Karol Wypchlo 55f57c9fa2
Revert "use skynet to load our homepage"
This reverts commit ffb1e499b9.
2022-03-06 14:33:23 +01:00
dependabot[bot] def5c6a973
build(deps): bump url-parse in /packages/health-check
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:19:16 +00:00
dependabot[bot] 7da92354d6
build(deps): bump express in /packages/health-check
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [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.2...4.17.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 12:06:49 +00:00
dependabot[bot] f5a7ff1bd4
Bump url-parse from 1.5.3 to 1.5.7 in /packages/health-check
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 09:51:41 +00:00
Karol Wypchlo f7f03d183a
replace api env vars with domain vars 2022-02-16 14:59:15 +01:00
Karol Wypchło f2846146f7
Merge pull request #1688 from SkynetLabs/clean-up-dashboard-url-env-var
remove dashboard url env var usage
2022-02-15 10:53:30 +01:00
dependabot[bot] 9589ee57e0
Bump follow-redirects from 1.14.7 to 1.14.8 in /packages/health-check
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 14:32:53 +00:00
Karol Wypchło 5c47f9271f
Merge pull request #1706 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/write-file-atomic-4.0.1
Bump write-file-atomic from 4.0.0 to 4.0.1 in /packages/health-check
2022-02-14 15:32:28 +01:00
dependabot[bot] a19fefbdea
Bump node in /packages/health-check
Bumps node from 16.13.2-alpine to 16.14.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>
2022-02-14 12:15:00 +00:00
dependabot[bot] 7ebae0294a
Bump write-file-atomic from 4.0.0 to 4.0.1 in /packages/health-check
Bumps [write-file-atomic](https://github.com/npm/write-file-atomic) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/npm/write-file-atomic/releases)
- [Changelog](https://github.com/npm/write-file-atomic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/write-file-atomic/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: write-file-atomic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 12:08:59 +00:00
Karol Wypchło 1ddd5df8cc
Merge branch 'master' into clean-up-dashboard-url-env-var 2022-02-11 15:24:56 +01:00
Matthew Sevey 9aa21088c5
Merge pull request #1696 from SkynetLabs/expose-internal-authenticate-function
refactor assigning required env variables
2022-02-10 21:05:01 -05:00
Karol Wypchlo 79c82b9e0b
refactor assigning required env variables 2022-02-09 16:05:45 +01:00
Karol Wypchło 735fb4cd5d
Merge pull request #1671 from SkynetLabs/expose-internal-authenticate-function
expose internal authenticate function on health-check cli
2022-02-09 16:04:25 +01:00
Karol Wypchlo 563e351f8e
remove dashboard url env var usage 2022-02-09 14:13:53 +01:00
dependabot[bot] c8ee3c370f
Bump jest from 27.5.0 to 27.5.1 in /packages/health-check
Bumps [jest](https://github.com/facebook/jest) from 27.5.0 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.5.0...v27.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-09 12:23:46 +00:00
Karol Wypchlo 98b1950e30
expose internal authenticate function 2022-02-08 14:11:26 +01:00
Karol Wypchlo 1a70fc97f7
add more logging 2022-02-08 12:33:31 +01:00
Karol Wypchlo 967d9c24d1
improve code readability 2022-02-08 12:25:08 +01:00
Karol Wypchlo 0292f57f3e
make ip check in health checks more reliable 2022-02-07 17:39:23 +01:00
dependabot[bot] 5967012ff8
Bump deep-object-diff from 1.1.0 to 1.1.7 in /packages/health-check
Bumps [deep-object-diff](https://github.com/mattphillips/deep-object-diff) from 1.1.0 to 1.1.7.
- [Release notes](https://github.com/mattphillips/deep-object-diff/releases)
- [Commits](https://github.com/mattphillips/deep-object-diff/commits)

---
updated-dependencies:
- dependency-name: deep-object-diff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-27 00:27:49 +00:00
Karol Wypchlo 76f0a6d084
fix authentication on extended checks 2022-01-25 00:31:21 +01:00
Karol Wypchło b5d1bb2d63
Merge pull request #1579 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/write-file-atomic-4.0.0
Bump write-file-atomic from 3.0.3 to 4.0.0 in /packages/health-check
2022-01-24 23:09:35 +01:00
dependabot[bot] 7033ce7104
Bump write-file-atomic from 3.0.3 to 4.0.0 in /packages/health-check
Bumps [write-file-atomic](https://github.com/npm/write-file-atomic) from 3.0.3 to 4.0.0.
- [Release notes](https://github.com/npm/write-file-atomic/releases)
- [Changelog](https://github.com/npm/write-file-atomic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/write-file-atomic/compare/v3.0.3...v4.0.0)

---
updated-dependencies:
- dependency-name: write-file-atomic
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 12:04:26 +00:00
Karol Wypchlo 4e240f2ad8
add option to limit access to subscription users only 2022-01-21 17:43:30 +01:00
Karol Wypchlo ff32e66520
include auth cookie in registry health checks 2022-01-20 12:36:25 +01:00
PJ aa2618a8a6
Merge branch 'master' of https://github.com/SkynetLabs/skynet-webportal into pj/add-blocker-health-check 2022-01-17 14:37:53 +01:00
Christopher Schinnerl 12b6a5f407
Merge pull request #1546 from SkynetLabs/auth-only-portal-health-check-user
support auth only portal mode in health-check module
2022-01-17 13:30:03 +00:00
PJ 9eb1240bc1
Run prettier 2022-01-17 14:05:00 +01:00
PJ 61ca207974
Cleanup PR 2022-01-17 13:54:12 +01:00
PJ 4096a7ebf2
Delete ip property from check 2022-01-17 13:40:39 +01:00
PJ 45e0398afe
Add protocol 2022-01-17 13:25:54 +01:00
dependabot[bot] 9a3072e59d
Bump node in /packages/health-check
Bumps node from 16.13.1-alpine to 16.13.2-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 12:10:14 +00:00
PJ f0e2770f73
Add blocker to health checks 2022-01-17 12:18:03 +01:00
Karol Wypchlo fbe108a573
throw meaningful errors 2022-01-14 11:33:07 +01:00
Karol Wypchlo 185e9b8982
rethrow unhandled exception 2022-01-14 10:54:24 +01:00
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