Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jae1911 authored Oct 22, 2023
0 parents commit 78e422d
Show file tree
Hide file tree
Showing 86 changed files with 1,626 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Markdown
*.md linguist-detectable=true
*.md linguist-documentation=false

# JSON
*.json linguist-detectable=true

# YAML
*.yml linguist-detectable=true
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
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/maintainance-event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Maintenance Event
about: Schedule a work window
title: "[Scheduled Maintenance] Site down for Maintenance"
labels: maintenance
assignees: ''

---

<!--
start: 2021-08-24T13:00:00.220Z
end: 2021-08-24T14:00:00.220Z
expectedDown: google, hacker-news
-->

**Additional context**
Who/what/when/where/why is this maintenance happening
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-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate graphs
uses: upptime/[email protected]
with:
command: "graphs"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
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-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update response time
uses: upptime/[email protected]
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
65 changes: 65 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# 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-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update template
uses: upptime/[email protected]
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- name: Update response time
uses: upptime/[email protected]
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- name: Update summary in README
uses: upptime/[email protected]
with:
command: "readme"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- name: Generate graphs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Graphs CI
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate site
uses: upptime/[email protected]
with:
command: "site"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- uses: peaceiris/[email protected]
name: GitHub Pages Deploy
with:
github_token: ${{ secrets.GH_PAT || github.token }}
publish_dir: "site/status-page/__sapper__/export/"
force_orphan: "false"
user_name: "Upptime Bot"
user_email: "[email protected]"
41 changes: 41 additions & 0 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate site
uses: upptime/[email protected]
with:
command: "site"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- uses: peaceiris/[email protected]
name: GitHub Pages Deploy
with:
github_token: ${{ secrets.GH_PAT || github.token }}
publish_dir: "site/status-page/__sapper__/export/"
force_orphan: "false"
user_name: "Upptime Bot"
user_email: "[email protected]"
32 changes: 32 additions & 0 deletions .github/workflows/summary.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: Summary CI
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: [summary]
workflow_dispatch:
jobs:
release:
name: Generate README
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update summary in README
uses: upptime/[email protected]
with:
command: "readme"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
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-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update template
uses: upptime/uptime-monitor@master
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
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-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update code
uses: upptime/updates@master
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
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-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Check endpoint status
uses: upptime/[email protected]
with:
command: "update"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
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/**/*"]
}
Loading

0 comments on commit 78e422d

Please sign in to comment.