Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Jun 23, 2021
0 parents commit 85082bc
Show file tree
Hide file tree
Showing 84 changed files with 1,281 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: 'AnandChowdhary'

---

<!-- If you have a question, you should use Discussions instead: https://github.com/upptime/upptime/discussions -->

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Feature requests and ideas
url: https://github.com/upptime/upptime/discussions/new?category=ideas
about: Suggest an idea for this project
- name: Questions
url: https://github.com/upptime/upptime/discussions/new?category=q-a
about: Please ask and answer questions here
32 changes: 32 additions & 0 deletions .github/workflows/graphs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Graphs CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [graphs]
workflow_dispatch:
jobs:
release:
name: Generate graphs
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Generate graphs
uses: upptime/[email protected]
with:
command: "graphs"
env:
GH_PAT: ${{ secrets.GH_PAT }}
33 changes: 33 additions & 0 deletions .github/workflows/response-time.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Response Time CI
on:
schedule:
- cron: "0 23 * * *"
repository_dispatch:
types: [response_time]
workflow_dispatch:
jobs:
release:
name: Check status
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Update response time
uses: upptime/[email protected]
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
64 changes: 64 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Setup CI
on:
push:
paths:
- ".upptimerc.yml"
repository_dispatch:
types: [setup]
workflow_dispatch:
jobs:
release:
name: Setup Upptime
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Update template
uses: upptime/[email protected]
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT }}
- name: Update response time
uses: upptime/[email protected]
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- name: Update summary in README
uses: upptime/[email protected]
with:
command: "readme"
env:
GH_PAT: ${{ secrets.GH_PAT }}
- name: Generate graphs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Graphs CI
token: ${{ secrets.GH_PAT }}
- name: Generate site
uses: upptime/[email protected]
with:
command: "site"
env:
GH_PAT: ${{ secrets.GH_PAT }}
- uses: peaceiris/[email protected]
name: GitHub Pages Deploy
with:
github_token: ${{ secrets.GH_PAT }}
publish_dir: "site/status-page/__sapper__/export/"
user_name: "Upptime Bot"
user_email: "[email protected]"
40 changes: 40 additions & 0 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Static Site CI
on:
schedule:
- cron: "0 1 * * *"
repository_dispatch:
types: [static_site]
workflow_dispatch:
jobs:
release:
name: Build and deploy site
runs-on: ubuntu-18.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Generate site
uses: upptime/[email protected]
with:
command: "site"
env:
GH_PAT: ${{ secrets.GH_PAT }}
- uses: peaceiris/[email protected]
name: GitHub Pages Deploy
with:
github_token: ${{ secrets.GH_PAT }}
publish_dir: "site/status-page/__sapper__/export/"
user_name: "Upptime Bot"
user_email: "[email protected]"
40 changes: 40 additions & 0 deletions .github/workflows/summary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Summary CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [summary]
workflow_dispatch:
jobs:
release:
name: Generate README
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Update summary in README
uses: upptime/[email protected]
with:
command: "readme"
env:
GH_PAT: ${{ secrets.GH_PAT }}
- name: Run readme-repos-list
uses: koj-co/readme-repos-list@master
with:
token: ${{ secrets.GH_PAT }}
query: "topic:upptime"
size: 20
max: 1000
one-per-owner: true
32 changes: 32 additions & 0 deletions .github/workflows/update-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Update Template CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [update_template]
workflow_dispatch:
jobs:
release:
name: Build
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Update template
uses: upptime/uptime-monitor@master
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT }}
30 changes: 30 additions & 0 deletions .github/workflows/updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Updates CI
on:
schedule:
- cron: "0 3 * * *"
repository_dispatch:
types: [updates]
workflow_dispatch:
jobs:
release:
name: Deploy updates
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Update code
uses: upptime/updates@master
env:
GH_PAT: ${{ secrets.GH_PAT }}
33 changes: 33 additions & 0 deletions .github/workflows/uptime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file was generated by upptime/[email protected]
#
# ===============================
# Do not edit this file directly!
# ===============================
#
# Your changes will be overwritten when the template updates (daily)
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs

name: Uptime CI
on:
schedule:
- cron: "*/5 * * * *"
repository_dispatch:
types: [uptime]
workflow_dispatch:
jobs:
release:
name: Check status
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}
- name: Check endpoint status
uses: upptime/[email protected]
with:
command: "update"
env:
GH_PAT: ${{ secrets.GH_PAT }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
3 changes: 3 additions & 0 deletions .templaterc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files": [".github/**/*"]
}
31 changes: 31 additions & 0 deletions .upptimerc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Change these first
owner: upptime # Your GitHub organization or username, where this repository lives
repo: upptime # The name of this repository

sites:
- name: Google
url: https://www.google.com
- name: Wikipedia
url: https://en.wikipedia.org
- name: Hacker News
url: https://news.ycombinator.com
- name: Test Broken Site
url: https://thissitedoesnotexist.koj.co

status-website:
# Add your custom domain name, or remove the `cname` line if you don't have a domain
# Uncomment the `baseUrl` line if you don't have a custom domain and add your repo name there
cname: demo.upptime.js.org
# baseUrl: /your-repo-name
logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg
name: Upptime
introTitle: "**Upptime** is the open-source uptime monitor and status page, powered entirely by GitHub."
introMessage: This is a sample status page which uses **real-time** data from our [GitHub repository](https://github.com/upptime/upptime). No server required — just GitHub Actions, Issues, and Pages. [**Get your own for free**](https://github.com/upptime/upptime)
navbar:
- title: Status
href: /
- title: GitHub
href: https://github.com/$OWNER/$REPO

# Upptime also supports notifications, assigning issues, and more
# See https://upptime.js.org/docs/configuration
Loading

0 comments on commit 85082bc

Please sign in to comment.