Skip to content

SovereignCloudStack/status-page-githubprojects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCS Status Page - GitHub Projects Backend

This repository contains an implementation of the SCS Status Page API backed by GitHub Projects. This means that all state relevant to the status page is stored in a GitHub Project and fetched via the GitHub GraphQL API.

Mapping of attributes

SCS Status Page API GitHub
Component Labels (LA_***) with "component:" prefix
Incident Project Items (PVTI_***) of type "ISSUE"
Incident.phase Project Item Field "Status" (Single select, predefined)
Incident.impactType Project Item Field "Impact Type" (Single select)
Incident.beganAt Project Item Field "Began At" (Text, RFC3339)
Incident.endedAt Project Item Field "Ended At" (Text, RFC3339)

On startup, the server verifies that fields are configured accordingly in GitHub. If this is not the case, it will not start.

Set GITHUB_TOKEN as environment variable with all required permissions (if using PAT's, use classic tokens, as fine grained tokens are not yet supported with GraphQL), see --help for all other parameters.

Example invocation for debugging:

GITHUB_TOKEN=... go run *.go --github.project.number=1 --github.project.owner=$USER

About

status page with github projects as backend

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages