Grafana-GitHub bridge: add Dockerfile and convert to Node.js#3249
Open
x3c41a wants to merge 1 commit into
Open
Grafana-GitHub bridge: add Dockerfile and convert to Node.js#3249x3c41a wants to merge 1 commit into
x3c41a wants to merge 1 commit into
Conversation
Convert from Cloudflare Worker to a plain Node.js HTTP server so it can be deployed to any container infrastructure. No external dependencies — uses only Node.js stdlib (node:http). Adds Dockerfile, health endpoint, smoke tests, and deployment docs. Addresses paritytech/devops#5019 feedback on PR #3224.
b50d420 to
47411e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dockerfilefor container deployment/healthendpoint for liveness probestest.js)Addresses feedback in paritytech/devops#5019 (comment) on #3224.
Deployment
docker build -t grafana-github-bridge . docker run -p 3000:3000 \ -e GITHUB_TOKEN=ghp_xxx \ -e WEBHOOK_SECRET=optional-secret \ grafana-github-bridgeTest plan
node test.js)