Commit Graph

228 Commits

Author SHA1 Message Date
Karol Wypchlo a8d046ad56
fix hadolint reported issues 2022-03-31 11:57:33 +02:00
dependabot[bot] 751ca6780f
build(deps-dev): bump prettier in /packages/health-check
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.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.6.0...2.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:07:38 +00:00
dependabot[bot] 6cfb79d6cc
build(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/health-check
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 10:20:38 +00:00
Karol Wypchło d5a62c77b5
Merge pull request #1884 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/prettier-2.6.0
build(deps-dev): bump prettier from 2.5.1 to 2.6.0 in /packages/health-check
2022-03-21 13:38:09 +01:00
Karol Wypchło d2e1e82ded
Merge pull request #1883 from SkynetLabs/dependabot/npm_and_yarn/packages/health-check/yargs-17.4.0
build(deps): bump yargs from 17.3.1 to 17.4.0 in /packages/health-check
2022-03-21 13:35:55 +01:00
dependabot[bot] 488c7207fa
build(deps): bump node in /packages/health-check
Bumps node from 16.14.0-alpine to 16.14.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-03-21 12:30:43 +00:00
dependabot[bot] ac86dbf357
build(deps-dev): bump prettier in /packages/health-check
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.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.5.1...2.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 12:28:34 +00:00
dependabot[bot] e6cfa4c14c
build(deps): bump yargs from 17.3.1 to 17.4.0 in /packages/health-check
Bumps [yargs](https://github.com/yargs/yargs) from 17.3.1 to 17.4.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.3.1...v17.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 12:28:24 +00:00
Karol Wypchlo ed3fba1db4
Revert "Merge pull request #1851 from SkynetLabs/adjust-health-checks-to-skylink-redirects"
This reverts commit 8db71f57ec, reversing
changes made to 7922f84a23.
2022-03-10 09:54:54 +01:00
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