Skip to content

Commit 1c3cbc5

Browse files
committed
Initial commit
0 parents  commit 1c3cbc5

File tree

118 files changed

+2230
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+2230
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: 'AnandChowdhary'
7+
8+
---
9+
10+
<!-- If you have a question, you should use Discussions instead: https://github.com/upptime/upptime/discussions -->
11+
12+
**Describe the bug**
13+
A clear and concise description of what the bug is.
14+
15+
**To Reproduce**
16+
Steps to reproduce the behavior:
17+
1. Go to '...'
18+
2. Click on '....'
19+
3. Scroll down to '....'
20+
4. See error
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Screenshots**
26+
If applicable, add screenshots to help explain your problem.
27+
28+
**Desktop (please complete the following information):**
29+
- OS: [e.g. iOS]
30+
- Browser [e.g. chrome, safari]
31+
- Version [e.g. 22]
32+
33+
**Smartphone (please complete the following information):**
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
38+
39+
**Additional context**
40+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Feature requests and ideas
4+
url: https://github.com/upptime/upptime/discussions/new?category=ideas
5+
about: Suggest an idea for this project
6+
- name: Questions
7+
url: https://github.com/upptime/upptime/discussions/new?category=q-a
8+
about: Please ask and answer questions here

.github/workflows/graphs.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Graphs CI
11+
on:
12+
schedule:
13+
- cron: "0 0 * * *"
14+
repository_dispatch:
15+
types: [graphs]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Generate graphs
20+
runs-on: ubuntu-18.04
21+
steps:
22+
- name: Checkout
23+
uses: actions/[email protected]
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Generate graphs
28+
uses: upptime/[email protected]
29+
with:
30+
command: "graphs"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT }}

.github/workflows/response-time.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Response Time CI
11+
on:
12+
schedule:
13+
- cron: "0 23 * * *"
14+
repository_dispatch:
15+
types: [response_time]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Check status
20+
runs-on: ubuntu-18.04
21+
steps:
22+
- name: Checkout
23+
uses: actions/[email protected]
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Update response time
28+
uses: upptime/[email protected]
29+
with:
30+
command: "response-time"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT }}
33+
SECRETS_CONTEXT: ${{ toJson(secrets) }}

.github/workflows/setup.yml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Setup CI
11+
on:
12+
push:
13+
paths:
14+
- ".upptimerc.yml"
15+
repository_dispatch:
16+
types: [setup]
17+
workflow_dispatch:
18+
jobs:
19+
release:
20+
name: Setup Upptime
21+
runs-on: ubuntu-18.04
22+
steps:
23+
- name: Checkout
24+
uses: actions/[email protected]
25+
with:
26+
ref: ${{ github.head_ref }}
27+
token: ${{ secrets.GH_PAT }}
28+
- name: Update template
29+
uses: upptime/[email protected]
30+
with:
31+
command: "update-template"
32+
env:
33+
GH_PAT: ${{ secrets.GH_PAT }}
34+
- name: Update response time
35+
uses: upptime/[email protected]
36+
with:
37+
command: "response-time"
38+
env:
39+
GH_PAT: ${{ secrets.GH_PAT }}
40+
SECRETS_CONTEXT: ${{ toJson(secrets) }}
41+
- name: Update summary in README
42+
uses: upptime/[email protected]
43+
with:
44+
command: "readme"
45+
env:
46+
GH_PAT: ${{ secrets.GH_PAT }}
47+
- name: Generate graphs
48+
uses: benc-uk/workflow-dispatch@v1
49+
with:
50+
workflow: Graphs CI
51+
token: ${{ secrets.GH_PAT }}
52+
- name: Generate site
53+
uses: upptime/[email protected]
54+
with:
55+
command: "site"
56+
env:
57+
GH_PAT: ${{ secrets.GH_PAT }}
58+
- uses: maxheld83/[email protected]
59+
name: GitHub Pages Deploy
60+
env:
61+
BUILD_DIR: "site/status-page/__sapper__/export/"
62+
GH_PAT: ${{ secrets.GH_PAT }}

.github/workflows/site.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Static Site CI
11+
on:
12+
schedule:
13+
- cron: "0 1 * * *"
14+
repository_dispatch:
15+
types: [static_site]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Build and deploy site
20+
runs-on: ubuntu-18.04
21+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
22+
steps:
23+
- name: Checkout
24+
uses: actions/[email protected]
25+
with:
26+
ref: ${{ github.head_ref }}
27+
token: ${{ secrets.GH_PAT }}
28+
- name: Generate site
29+
uses: upptime/[email protected]
30+
with:
31+
command: "site"
32+
env:
33+
GH_PAT: ${{ secrets.GH_PAT }}
34+
- uses: maxheld83/[email protected]
35+
name: GitHub Pages Deploy
36+
env:
37+
BUILD_DIR: "site/status-page/__sapper__/export/"
38+
GH_PAT: ${{ secrets.GH_PAT }}

.github/workflows/summary.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Summary CI
11+
on:
12+
schedule:
13+
- cron: "0 0 * * *"
14+
repository_dispatch:
15+
types: [summary]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Generate README
20+
runs-on: ubuntu-18.04
21+
steps:
22+
- name: Checkout
23+
uses: actions/[email protected]
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Update summary in README
28+
uses: upptime/[email protected]
29+
with:
30+
command: "readme"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT }}
33+
- name: Run readme-repos-list
34+
uses: koj-co/readme-repos-list@master
35+
with:
36+
token: ${{ secrets.GH_PAT }}
37+
query: "topic:upptime"
38+
size: 20
39+
max: 1000
40+
one-per-owner: true

.github/workflows/update-template.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Update Template CI
11+
on:
12+
schedule:
13+
- cron: "0 0 * * *"
14+
repository_dispatch:
15+
types: [update_template]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Build
20+
runs-on: ubuntu-18.04
21+
steps:
22+
- name: Checkout
23+
uses: actions/[email protected]
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Update template
28+
uses: upptime/uptime-monitor@master
29+
with:
30+
command: "update-template"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT }}

.github/workflows/updates.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Updates CI
11+
on:
12+
schedule:
13+
- cron: "0 3 * * *"
14+
repository_dispatch:
15+
types: [updates]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Deploy updates
20+
runs-on: ubuntu-18.04
21+
steps:
22+
- name: Checkout
23+
uses: actions/[email protected]
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Update code
28+
uses: upptime/updates@master
29+
env:
30+
GH_PAT: ${{ secrets.GH_PAT }}

.github/workflows/uptime.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This file was generated by upptime/[email protected]
2+
#
3+
# ===============================
4+
# Do not edit this file directly!
5+
# ===============================
6+
#
7+
# Your changes will be overwritten when the template updates (daily)
8+
# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs
9+
10+
name: Uptime CI
11+
on:
12+
schedule:
13+
- cron: "*/5 * * * *"
14+
repository_dispatch:
15+
types: [uptime]
16+
workflow_dispatch:
17+
jobs:
18+
release:
19+
name: Check status
20+
runs-on: ubuntu-18.04
21+
steps:
22+
- name: Checkout
23+
uses: actions/[email protected]
24+
with:
25+
ref: ${{ github.head_ref }}
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Check endpoint status
28+
uses: upptime/[email protected]
29+
with:
30+
command: "update"
31+
env:
32+
GH_PAT: ${{ secrets.GH_PAT }}
33+
SECRETS_CONTEXT: ${{ toJson(secrets) }}

.templaterc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"files": [".github/**/*"]
3+
}

.upptimerc.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Change these first
2+
owner: upptime # Your GitHub username
3+
repo: upptime # Your GitHub repository name
4+
5+
# Add your sites here
6+
sites:
7+
- name: Google
8+
url: https://www.google.com
9+
- name: Wikipedia
10+
url: https://en.wikipedia.org
11+
- name: Hacker News
12+
url: https://news.ycombinator.com
13+
- name: Broken Site
14+
url: https://thissitedoesnotexist.com
15+
- name: Test for HEAD
16+
method: HEAD
17+
url: https://www.google.com
18+
- name: Secret Site
19+
url: $SECRET_SITE
20+
21+
status-website:
22+
# Add your custom domain below, or remove the next line if you don't have a domain
23+
cname: demo.upptime.js.org
24+
# Uncomment the following line if you don't have a custom domain and add your repo name
25+
# baseUrl: /upptime
26+
logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg
27+
name: Upptime
28+
introTitle: "**Upptime** is the open-source uptime monitor and status page, powered entirely by GitHub."
29+
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)
30+
navbar:
31+
- title: Status
32+
href: /
33+
- title: GitHub
34+
href: https://github.com/$OWNER/$REPO
35+
36+
# Upptime also supports notifications, assigning issues, and more
37+
# See https://upptime.js.org/docs/configuration

0 commit comments

Comments
 (0)