Commit Graph

2678 Commits

Author SHA1 Message Date
Karol Wypchło a4ae722f44
Merge pull request #391 from NebulousLabs/pj/fix-server-name
Fix servername regex
2020-09-11 11:22:53 +02:00
PJ 41514c3660
Fix servername regex 2020-09-11 11:21:39 +02:00
Peter-Jan Brone 96aff33135
Wildcard Subdomains (#329)
* Add server rule and loation block to handle the base32 encoded skylink through the wildcard subdomain

* Instead of redirecting, proxy pass

* Add trailing slash

* Fix regex to handle server names

* Update docker/nginx/conf.d/client.conf

Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>

* Implement PR remarks

* Implement PR remarks

Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2020-09-10 17:14:43 +02:00
Karol Wypchło c2138f1d15
always use request_id path (#390) 2020-09-10 16:29:19 +02:00
Karol Wypchło 68450b6995
Merge pull request #389 from NebulousLabs/restructure-health-checks
restructure health-check architecture
2020-09-10 15:17:10 +02:00
Karol Wypchlo 20362fe7c5 fix health checks 2020-09-10 15:16:31 +02:00
Karol Wypchlo 2e240e2819 simplify values assignment 2020-09-10 14:13:28 +02:00
Karol Wypchlo 394ae44aa9 rename getCurrent -> getMostRecent 2020-09-10 14:07:24 +02:00
Karol Wypchlo 70fd6b0f8f typo 2020-09-10 14:05:21 +02:00
Karol Wypchlo 6e0f387cf1 code review changes 2020-09-10 14:03:56 +02:00
Karol Wypchło ec4655f581
Apply suggestions from code review
Co-authored-by: Ivaylo Novakov <ro-tex@users.noreply.github.com>
2020-09-10 13:49:26 +02:00
Karol Wypchlo c08d53f6e0 drop critical: true from existing checks 2020-09-10 12:42:37 +02:00
Karol Wypchlo 307d736a69 restructure health-check architecture 2020-09-10 12:15:54 +02:00
Karol Wypchlo 64cd7b135c fix health-check dockerfile 2020-09-09 16:08:10 +02:00
dependabot[bot] 20b333ed54
Merge pull request #386 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/gatsby-plugin-sharp-2.6.33 2020-09-09 13:16:29 +00:00
Karol Wypchło da1cf14e5f
Merge pull request #388 from NebulousLabs/improve-health-checks
improve health checks
2020-09-09 15:09:09 +02:00
Karol Wypchlo 19b8caf81a fixed code review issues 2020-09-09 14:53:05 +02:00
Ivaylo Novakov a4dd527a30
Merge pull request #385 from NebulousLabs/ivo/gollum_time_zones
Make the time comparisons in the health checker timezone-aware.
2020-09-09 14:46:27 +02:00
Karol Wypchlo ca73a2f61f improve health checks 2020-09-09 14:25:00 +02:00
dependabot[bot] 0f48936dbb
Merge pull request #380 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/gatsby-image-2.4.17 2020-09-09 09:43:14 +00:00
dependabot[bot] 36deb916f9
Bump gatsby-image from 2.4.16 to 2.4.17 in /packages/webapp
Bumps [gatsby-image](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-image) from 2.4.16 to 2.4.17.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-image/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-image@2.4.17/packages/gatsby-image)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 09:38:17 +00:00
dependabot[bot] b1def03928
Bump gatsby-plugin-sharp from 2.6.31 to 2.6.33 in /packages/webapp
Bumps [gatsby-plugin-sharp](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sharp) from 2.6.31 to 2.6.33.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sharp/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sharp@2.6.33/packages/gatsby-plugin-sharp)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 09:37:56 +00:00
dependabot[bot] 4c3a0dada0
Merge pull request #377 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/gatsby-plugin-manifest-2.4.28 2020-09-09 09:28:30 +00:00
dependabot[bot] f3ec2aa8bb
Merge pull request #373 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/gatsby-source-filesystem-2.3.28 2020-09-09 09:28:22 +00:00
dependabot[bot] 4e56faa4af
Merge pull request #379 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/react-syntax-highlighter-13.5.3 2020-09-09 09:28:07 +00:00
dependabot[bot] 6d0adf9f7e
Merge pull request #378 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/husky-4.3.0 2020-09-09 09:27:55 +00:00
dependabot[bot] 42455cb2d3
Merge pull request #374 from NebulousLabs/dependabot/npm_and_yarn/packages/webapp/gatsby-2.24.54 2020-09-09 09:27:41 +00:00
Marcin S 306a43aeba
Merge pull request #381 from NebulousLabs/code-samples
Update code samples for API v2
2020-09-09 08:38:21 +00:00
Karol Wypchło 0593b41201
Nginx Log Format (#356)
* add filebeat

* nginx.conf access.log

* nginx.conf access.log

* fix filebeat

* add upstream data to access log

* Update nginx.conf

* Add content type header to access_log format

* Add quotes

* logs with wildcard to include gzipped ones

* Remove filebeat config

Co-authored-by: PJ <peterjan.brone@gmail.com>
2020-09-09 10:17:12 +02:00
Ivaylo Novakov 8235d75795
Only announce healthy status once a day. 2020-09-08 18:20:56 +02:00
Ivaylo Novakov ddf72ad850
Make the time comparisons in the health checker timezone-aware. 2020-09-08 18:07:33 +02:00
Marcin S 072b626475 Fix syntax error in panic calls 2020-09-08 16:53:05 +02:00
Karol Wypchło e301b035ad
assign static ips to containers (#383) 2020-09-08 16:30:54 +02:00
Ivaylo Novakov 19ffd73503
Merge pull request #382 from NebulousLabs/ivo/free_disk_check
Add free disk space check to health-checker.py.
2020-09-08 14:49:00 +02:00
Ivaylo Novakov 2d032dbf17
Docstrings. 2020-09-07 17:59:39 +02:00
Ivaylo Novakov 0838e4f5e5
Add free disk space check to health-checker.py.
Move load-average check to health-checker.py.
2020-09-07 17:56:47 +02:00
Marcin S ab66b6ff5b Update code samples for API v2 2020-09-07 17:32:25 +02:00
dependabot[bot] e82e382c05
Bump react-syntax-highlighter from 13.5.1 to 13.5.3 in /packages/webapp
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) from 13.5.1 to 13.5.3.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases)
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD)
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v13.5.1...v13.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:30:28 +00:00
dependabot[bot] 83a5b420f1
Bump husky from 4.2.5 to 4.3.0 in /packages/webapp
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:27:28 +00:00
dependabot[bot] 5cd7e7f121
Bump gatsby-plugin-manifest from 2.4.27 to 2.4.28 in /packages/webapp
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.4.27 to 2.4.28.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.4.28/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:24:11 +00:00
dependabot[bot] ad52875bd7
Bump gatsby from 2.24.53 to 2.24.54 in /packages/webapp
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.53 to 2.24.54.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.53...gatsby@2.24.54)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:13:46 +00:00
dependabot[bot] e16d143e53
Bump gatsby-source-filesystem from 2.3.27 to 2.3.28 in /packages/webapp
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.3.27 to 2.3.28.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.3.28/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 10:11:06 +00:00
Matthew Sevey 9874eb29d8 update use of fixtures 2020-09-04 15:57:08 -04:00
Ivaylo Novakov ff56990faa
Merge pull request #372 from NebulousLabs/ivo/gollum_health_checks
Add a health checker script to Gollum.
2020-09-04 17:30:07 +02:00
Ivaylo Novakov 3f4742a436
Only notify the team if critical checks have failed. 2020-09-04 17:17:26 +02:00
Ivaylo Novakov 5eece67b03
Move parameter parsing to the top of the script. 2020-09-04 17:13:36 +02:00
Ivaylo Novakov 1cc20903c6
Move max discord message len to a constant.
Report critical checks failed.
Formatting.
2020-09-04 17:07:47 +02:00
Ivaylo Novakov a0a9137ae7
Update setup-scripts/health-checker.py
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2020-09-04 16:44:19 +02:00
Ivaylo Novakov 62e27120cd
Use localhost. 2020-09-04 16:39:39 +02:00
Ivaylo Novakov 59a77bfaf6
Add a health checker script to Gollum. 2020-09-04 16:12:20 +02:00