Skip to content

Commit 3791c69

Browse files
authored
Initial commit
0 parents  commit 3791c69

File tree

102 files changed

+1751
-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.

102 files changed

+1751
-0
lines changed

.gitattributes

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Markdown
2+
*.md linguist-detectable=true
3+
*.md linguist-documentation=false
4+
5+
# JSON
6+
*.json linguist-detectable=true
7+
8+
# YAML
9+
*.yml linguist-detectable=true

.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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Maintenance Event
3+
about: Schedule a work window
4+
title: "[Scheduled Maintenance] Site down for Maintenance"
5+
labels: maintenance
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
start: 2021-08-24T13:00:00.220Z
12+
end: 2021-08-24T14:00:00.220Z
13+
expectedDown: google, hacker-news
14+
-->
15+
16+
**Additional context**
17+
Who/what/when/where/why is this maintenance happening

.github/workflows/graphs.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Graphs CI
18+
on:
19+
schedule:
20+
- cron: "0 0 * * *"
21+
repository_dispatch:
22+
types: [graphs]
23+
workflow_dispatch:
24+
jobs:
25+
release:
26+
name: Generate graphs
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
with:
32+
ref: ${{ github.head_ref }}
33+
token: ${{ secrets.GH_PAT || github.token }}
34+
- name: Generate graphs
35+
uses: upptime/uptime-monitor@v1.36.4
36+
with:
37+
command: "graphs"
38+
env:
39+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/response-time.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Response Time CI
18+
on:
19+
schedule:
20+
- cron: "0 23 * * *"
21+
repository_dispatch:
22+
types: [response_time]
23+
workflow_dispatch:
24+
jobs:
25+
release:
26+
name: Check status
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
with:
32+
ref: ${{ github.head_ref }}
33+
token: ${{ secrets.GH_PAT || github.token }}
34+
- name: Update response time
35+
uses: upptime/uptime-monitor@v1.36.4
36+
with:
37+
command: "response-time"
38+
env:
39+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
40+
SECRETS_CONTEXT: ${{ toJson(secrets) }}

.github/workflows/setup.yml

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Setup CI
18+
on:
19+
push:
20+
paths:
21+
- ".upptimerc.yml"
22+
repository_dispatch:
23+
types: [setup]
24+
workflow_dispatch:
25+
jobs:
26+
release:
27+
name: Setup Upptime
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
with:
33+
ref: ${{ github.head_ref }}
34+
token: ${{ secrets.GH_PAT || github.token }}
35+
- name: Update template
36+
uses: upptime/uptime-monitor@v1.36.4
37+
with:
38+
command: "update-template"
39+
env:
40+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
41+
- name: Update response time
42+
uses: upptime/uptime-monitor@v1.36.4
43+
with:
44+
command: "response-time"
45+
env:
46+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
47+
SECRETS_CONTEXT: ${{ toJson(secrets) }}
48+
- name: Update summary in README
49+
uses: upptime/uptime-monitor@v1.36.4
50+
with:
51+
command: "readme"
52+
env:
53+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
54+
- name: Generate graphs
55+
uses: benc-uk/workflow-dispatch@v1
56+
with:
57+
workflow: Graphs CI
58+
token: ${{ secrets.GH_PAT || github.token }}
59+
- name: Generate site
60+
uses: upptime/uptime-monitor@v1.36.4
61+
with:
62+
command: "site"
63+
env:
64+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
65+
- uses: peaceiris/actions-gh-pages@v3.7.3
66+
name: GitHub Pages Deploy
67+
with:
68+
github_token: ${{ secrets.GH_PAT || github.token }}
69+
publish_dir: "site/status-page/__sapper__/export/"
70+
force_orphan: "false"
71+
user_name: "Upptime Bot"
72+
user_email: "73812536+upptime-bot@users.noreply.github.com"

.github/workflows/site.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Static Site CI
18+
on:
19+
schedule:
20+
- cron: "0 1 * * *"
21+
repository_dispatch:
22+
types: [static_site]
23+
workflow_dispatch:
24+
jobs:
25+
release:
26+
name: Build and deploy site
27+
runs-on: ubuntu-latest
28+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
with:
33+
ref: ${{ github.head_ref }}
34+
token: ${{ secrets.GH_PAT || github.token }}
35+
- name: Generate site
36+
uses: upptime/uptime-monitor@v1.36.4
37+
with:
38+
command: "site"
39+
env:
40+
GH_PAT: ${{ secrets.GH_PAT || github.token }}
41+
- uses: peaceiris/actions-gh-pages@v3.7.3
42+
name: GitHub Pages Deploy
43+
with:
44+
github_token: ${{ secrets.GH_PAT || github.token }}
45+
publish_dir: "site/status-page/__sapper__/export/"
46+
force_orphan: "false"
47+
user_name: "Upptime Bot"
48+
user_email: "73812536+upptime-bot@users.noreply.github.com"

.github/workflows/summary.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Summary CI
18+
on:
19+
schedule:
20+
- cron: "0 0 * * *"
21+
repository_dispatch:
22+
types: [summary]
23+
workflow_dispatch:
24+
jobs:
25+
release:
26+
name: Generate README
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
with:
32+
ref: ${{ github.head_ref }}
33+
token: ${{ secrets.GH_PAT || github.token }}
34+
- name: Update summary in README
35+
uses: upptime/uptime-monitor@v1.36.4
36+
with:
37+
command: "readme"
38+
env:
39+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/update-template.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Update Template CI
18+
on:
19+
schedule:
20+
- cron: "0 0 * * *"
21+
repository_dispatch:
22+
types: [update_template]
23+
workflow_dispatch:
24+
jobs:
25+
release:
26+
name: Build
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
with:
32+
ref: ${{ github.head_ref }}
33+
token: ${{ secrets.GH_PAT || github.token }}
34+
- name: Update template
35+
uses: upptime/uptime-monitor@master
36+
with:
37+
command: "update-template"
38+
env:
39+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

.github/workflows/updates.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#
2+
# ===============================
3+
# Do not edit this file directly!
4+
# ===============================
5+
#
6+
# Your changes will be overwritten when the Upptime template updates (by default, weekly)
7+
# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly.
8+
#
9+
# 🔼 Upptime @v1.36.4
10+
# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary
11+
12+
# * Source: https://github.com/upptime/upptime
13+
# * Docs and more: https://upptime.js.org
14+
# * More by Anand Chowdhary: https://anandchowdhary.com
15+
16+
17+
name: Updates CI
18+
on:
19+
schedule:
20+
- cron: "0 3 * * *"
21+
repository_dispatch:
22+
types: [updates]
23+
workflow_dispatch:
24+
jobs:
25+
release:
26+
name: Deploy updates
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
with:
32+
ref: ${{ github.head_ref }}
33+
token: ${{ secrets.GH_PAT || github.token }}
34+
- name: Update code
35+
uses: upptime/updates@master
36+
env:
37+
GH_PAT: ${{ secrets.GH_PAT || github.token }}

0 commit comments

Comments
 (0)