diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..2a9eb71da --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Markdown +*.md linguist-detectable=true +*.md linguist-documentation=false + +# JSON +*.json linguist-detectable=true + +# YAML +*.yml linguist-detectable=true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..651c5a1c7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,40 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: 'bug' +assignees: 'AnandChowdhary' + +--- + + + +**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. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..a07d0253b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Feature requests and ideas + url: https://github.com/orgs/upptime/discussions/new?category=ideas + about: Suggest an idea for this project + - name: Questions + url: https://github.com/orgs/upptime/discussions/new?category=q-a + about: Please ask and answer questions here diff --git a/.github/ISSUE_TEMPLATE/maintainance-event.md b/.github/ISSUE_TEMPLATE/maintainance-event.md new file mode 100644 index 000000000..7abcd2532 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/maintainance-event.md @@ -0,0 +1,17 @@ +--- +name: Maintenance Event +about: Schedule a work window +title: "[Scheduled Maintenance] Site down for Maintenance" +labels: maintenance +assignees: '' + +--- + + + +**Additional context** +Who/what/when/where/why is this maintenance happening diff --git a/.github/workflows/graphs.yml b/.github/workflows/graphs.yml new file mode 100644 index 000000000..f4a5891f8 --- /dev/null +++ b/.github/workflows/graphs.yml @@ -0,0 +1,39 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Generate graphs + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "graphs" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/response-time.yml b/.github/workflows/response-time.yml new file mode 100644 index 000000000..4a703411a --- /dev/null +++ b/.github/workflows/response-time.yml @@ -0,0 +1,40 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update response time + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "response-time" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml new file mode 100644 index 000000000..cc52c0cff --- /dev/null +++ b/.github/workflows/setup.yml @@ -0,0 +1,72 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update template + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "update-template" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - name: Update response time + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "response-time" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + SECRETS_CONTEXT: ${{ toJson(secrets) }} + - name: Update summary in README + uses: upptime/uptime-monitor@v1.37.0 + 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/uptime-monitor@v1.37.0 + with: + command: "site" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - uses: peaceiris/actions-gh-pages@v4 + 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: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml new file mode 100644 index 000000000..af7e59826 --- /dev/null +++ b/.github/workflows/site.yml @@ -0,0 +1,48 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Generate site + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "site" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - uses: peaceiris/actions-gh-pages@v4 + 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: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/summary.yml b/.github/workflows/summary.yml new file mode 100644 index 000000000..dfce0152c --- /dev/null +++ b/.github/workflows/summary.yml @@ -0,0 +1,39 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update summary in README + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "readme" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/update-template.yml b/.github/workflows/update-template.yml new file mode 100644 index 000000000..f39e0118c --- /dev/null +++ b/.github/workflows/update-template.yml @@ -0,0 +1,39 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + 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 }} diff --git a/.github/workflows/updates.yml b/.github/workflows/updates.yml new file mode 100644 index 000000000..cd1d8e11c --- /dev/null +++ b/.github/workflows/updates.yml @@ -0,0 +1,37 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + 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 }} diff --git a/.github/workflows/uptime.yml b/.github/workflows/uptime.yml new file mode 100644 index 000000000..1a920ac39 --- /dev/null +++ b/.github/workflows/uptime.yml @@ -0,0 +1,40 @@ +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the Upptime template updates (by default, weekly) +# Instead, change .upptimerc.yml configuration and the workflows will be generated accordingly. +# +# 🔼 Upptime @v1.37.0 +# GitHub-powered open-source uptime monitor and status page by Anand Chowdhary + +# * Source: https://github.com/upptime/upptime +# * Docs and more: https://upptime.js.org +# * More by Anand Chowdhary: https://anandchowdhary.com + + +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@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Check endpoint status + uses: upptime/uptime-monitor@v1.37.0 + with: + command: "update" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..522eb4eb5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,250 @@ +# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,intellij+all,visualstudiocode,vim,terraform,terragrunt +# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,intellij+all,visualstudiocode,vim,terraform,terragrunt + +### Intellij+all ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### Intellij+all Patch ### +# Ignore everything but code style settings and run configurations +# that are supposed to be shared within teams. + +.idea/* + +!.idea/codeStyles +!.idea/runConfigurations + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### Terraform ### +# Local .terraform directories +**/.terraform/* + +# .tfstate files +*.tfstate +*.tfstate.* + +# Crash log files +crash.log +crash.*.log + +# Exclude all .tfvars files, which are likely to contain sensitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +*.tfvars +*.tfvars.json + +# Ignore override files as they are usually used to override resources locally and so +# are not checked in +override.tf +override.tf.json +*_override.tf +*_override.tf.json + +# Include override files you do wish to add to version control using negated pattern +# !example_override.tf + +# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan +# example: *tfplan* + +# Ignore CLI configuration files +.terraformrc +terraform.rc + +### Terragrunt ### +# terragrunt cache directories +**/.terragrunt-cache/* + +# Terragrunt debug output file (when using `--terragrunt-debug` option) +# See: https://terragrunt.gruntwork.io/docs/reference/cli-options/#terragrunt-debug +terragrunt-debug.tfvars.json + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,intellij+all,visualstudiocode,vim,terraform,terragrunt + diff --git a/.templaterc.json b/.templaterc.json new file mode 100644 index 000000000..3c6c2a114 --- /dev/null +++ b/.templaterc.json @@ -0,0 +1,3 @@ +{ + "files": [".github/**/*"] +} diff --git a/.upptimerc.yml b/.upptimerc.yml new file mode 100644 index 000000000..7da31a244 --- /dev/null +++ b/.upptimerc.yml @@ -0,0 +1,26 @@ +owner: kuzzleio +repo: status-page +user-agent: kuzzleio + +sites: + - name: Google + url: https://www.google.com + +status-website: + cname: status.kuzzle.io + logoUrl: https://raw.githubusercontent.com/kuzzleio/status-page/main/assets/kuzzle.svg + favicon: https://kuzzle.io/wp-content/uploads/2020/01/favicon.png + name: Kuzzle Status + navbar: + - title: Status + href: / + - title: Kuzzle + href: https://kuzzle.io + - title: GitHub + href: https://github.com/$OWNER + +commitMessages: + readmeContent: "docs(readme): update summary [skip ci] [upptime]" + summaryJson: "chore: update status summary [skip ci] [upptime]" + statusChange: "status: $EMOJI $SITE_NAME is $STATUS ($RESPONSE_CODE in $RESPONSE_TIME ms) [skip ci] [upptime]" + graphsUpdate: "chore: update graphs [skip ci] [upptime]" diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..f76bb38c5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Anand Chowdhary + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 000000000..2c75e700c --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# [📈 Live Status](https://status.kuzzle.io): **🟧 Partial outage** + +[![Uptime CI](https://github.com/kuzzleio/status-page/workflows/Uptime%20CI/badge.svg)](https://github.com/kuzzleio/status-page/actions?query=workflow%3A%22Uptime+CI%22) +[![Response Time CI](https://github.com/kuzzleio/status-page/workflows/Response%20Time%20CI/badge.svg)](https://github.com/kuzzleio/status-page/actions?query=workflow%3A%22Response+Time+CI%22) +[![Graphs CI](https://github.com/kuzzleio/status-page/workflows/Graphs%20CI/badge.svg)](https://github.com/kuzzleio/status-page/actions?query=workflow%3A%22Graphs+CI%22) +[![Static Site CI](https://github.com/kuzzleio/status-page/workflows/Static%20Site%20CI/badge.svg)](https://github.com/kuzzleio/status-page/actions?query=workflow%3A%22Static+Site+CI%22) +[![Summary CI](https://github.com/kuzzleio/status-page/workflows/Summary%20CI/badge.svg)](https://github.com/kuzzleio/status-page/actions?query=workflow%3A%22Summary+CI%22) + +This hosts the monitor and status page for Kuzzle, powered by [Upptime](https://github.com/upptime/upptime). + + + + + +| URL | Status | History | Response Time | Uptime | +| --- | ------ | ------- | ------------- | ------ | + + + +## 📄 License + +- Code: [MIT](./LICENSE) © [Anand Chowdhary](https://anandchowdhary.com), supported by [Pabio](https://pabio.com) +- Data in the `./history` directory: [Open Database License](https://opendatacommons.org/licenses/odbl/1-0/) diff --git a/api/google/response-time-day.json b/api/google/response-time-day.json new file mode 100644 index 000000000..3e812a1c7 --- /dev/null +++ b/api/google/response-time-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 24h","message":"162 ms","color":"brightgreen"} diff --git a/api/google/response-time-month.json b/api/google/response-time-month.json new file mode 100644 index 000000000..67f9c82b7 --- /dev/null +++ b/api/google/response-time-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 30d","message":"112 ms","color":"brightgreen"} diff --git a/api/google/response-time-week.json b/api/google/response-time-week.json new file mode 100644 index 000000000..68e097604 --- /dev/null +++ b/api/google/response-time-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 7d","message":"109 ms","color":"brightgreen"} diff --git a/api/google/response-time-year.json b/api/google/response-time-year.json new file mode 100644 index 000000000..97f0e5a08 --- /dev/null +++ b/api/google/response-time-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 1y","message":"110 ms","color":"brightgreen"} diff --git a/api/google/response-time.json b/api/google/response-time.json new file mode 100644 index 000000000..3b597d38b --- /dev/null +++ b/api/google/response-time.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time","message":"110 ms","color":"brightgreen"} diff --git a/api/google/uptime-day.json b/api/google/uptime-day.json new file mode 100644 index 000000000..226baeab5 --- /dev/null +++ b/api/google/uptime-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 24h","message":"100%","color":"brightgreen"} diff --git a/api/google/uptime-month.json b/api/google/uptime-month.json new file mode 100644 index 000000000..059c01da0 --- /dev/null +++ b/api/google/uptime-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 30d","message":"100%","color":"brightgreen"} diff --git a/api/google/uptime-week.json b/api/google/uptime-week.json new file mode 100644 index 000000000..fccd794d2 --- /dev/null +++ b/api/google/uptime-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 7d","message":"100%","color":"brightgreen"} diff --git a/api/google/uptime-year.json b/api/google/uptime-year.json new file mode 100644 index 000000000..e26af93c1 --- /dev/null +++ b/api/google/uptime-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 1y","message":"99.99%","color":"brightgreen"} diff --git a/api/google/uptime.json b/api/google/uptime.json new file mode 100644 index 000000000..bd71d6f88 --- /dev/null +++ b/api/google/uptime.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime","message":"100%","color":"brightgreen"} diff --git a/api/hacker-news/response-time-day.json b/api/hacker-news/response-time-day.json new file mode 100644 index 000000000..8c5b760ef --- /dev/null +++ b/api/hacker-news/response-time-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 24h","message":"446 ms","color":"yellowgreen"} diff --git a/api/hacker-news/response-time-month.json b/api/hacker-news/response-time-month.json new file mode 100644 index 000000000..922d89c32 --- /dev/null +++ b/api/hacker-news/response-time-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 30d","message":"326 ms","color":"green"} diff --git a/api/hacker-news/response-time-week.json b/api/hacker-news/response-time-week.json new file mode 100644 index 000000000..615c2ff9c --- /dev/null +++ b/api/hacker-news/response-time-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 7d","message":"382 ms","color":"green"} diff --git a/api/hacker-news/response-time-year.json b/api/hacker-news/response-time-year.json new file mode 100644 index 000000000..85a71d7f0 --- /dev/null +++ b/api/hacker-news/response-time-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 1y","message":"432 ms","color":"yellowgreen"} diff --git a/api/hacker-news/response-time.json b/api/hacker-news/response-time.json new file mode 100644 index 000000000..690b34151 --- /dev/null +++ b/api/hacker-news/response-time.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time","message":"402 ms","color":"yellowgreen"} diff --git a/api/hacker-news/uptime-day.json b/api/hacker-news/uptime-day.json new file mode 100644 index 000000000..226baeab5 --- /dev/null +++ b/api/hacker-news/uptime-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 24h","message":"100%","color":"brightgreen"} diff --git a/api/hacker-news/uptime-month.json b/api/hacker-news/uptime-month.json new file mode 100644 index 000000000..059c01da0 --- /dev/null +++ b/api/hacker-news/uptime-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 30d","message":"100%","color":"brightgreen"} diff --git a/api/hacker-news/uptime-week.json b/api/hacker-news/uptime-week.json new file mode 100644 index 000000000..fccd794d2 --- /dev/null +++ b/api/hacker-news/uptime-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 7d","message":"100%","color":"brightgreen"} diff --git a/api/hacker-news/uptime-year.json b/api/hacker-news/uptime-year.json new file mode 100644 index 000000000..6f9443d9e --- /dev/null +++ b/api/hacker-news/uptime-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 1y","message":"99.94%","color":"brightgreen"} diff --git a/api/hacker-news/uptime.json b/api/hacker-news/uptime.json new file mode 100644 index 000000000..bfff3ea2d --- /dev/null +++ b/api/hacker-news/uptime.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime","message":"98.65%","color":"brightgreen"} diff --git a/api/i-pv6-test/response-time-day.json b/api/i-pv6-test/response-time-day.json new file mode 100644 index 000000000..7c501ec98 --- /dev/null +++ b/api/i-pv6-test/response-time-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 24h","message":"0 ms","color":"red"} diff --git a/api/i-pv6-test/response-time-month.json b/api/i-pv6-test/response-time-month.json new file mode 100644 index 000000000..d7245c628 --- /dev/null +++ b/api/i-pv6-test/response-time-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 30d","message":"0 ms","color":"red"} diff --git a/api/i-pv6-test/response-time-week.json b/api/i-pv6-test/response-time-week.json new file mode 100644 index 000000000..578e0757e --- /dev/null +++ b/api/i-pv6-test/response-time-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 7d","message":"0 ms","color":"red"} diff --git a/api/i-pv6-test/response-time-year.json b/api/i-pv6-test/response-time-year.json new file mode 100644 index 000000000..92eafa198 --- /dev/null +++ b/api/i-pv6-test/response-time-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 1y","message":"4 ms","color":"brightgreen"} diff --git a/api/i-pv6-test/response-time.json b/api/i-pv6-test/response-time.json new file mode 100644 index 000000000..0175cf083 --- /dev/null +++ b/api/i-pv6-test/response-time.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time","message":"4 ms","color":"brightgreen"} diff --git a/api/i-pv6-test/uptime-day.json b/api/i-pv6-test/uptime-day.json new file mode 100644 index 000000000..7ca7a963f --- /dev/null +++ b/api/i-pv6-test/uptime-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 24h","message":"0%","color":"red"} diff --git a/api/i-pv6-test/uptime-month.json b/api/i-pv6-test/uptime-month.json new file mode 100644 index 000000000..6810c5ef5 --- /dev/null +++ b/api/i-pv6-test/uptime-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 30d","message":"1.38%","color":"red"} diff --git a/api/i-pv6-test/uptime-week.json b/api/i-pv6-test/uptime-week.json new file mode 100644 index 000000000..a18f45659 --- /dev/null +++ b/api/i-pv6-test/uptime-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 7d","message":"0%","color":"red"} diff --git a/api/i-pv6-test/uptime-year.json b/api/i-pv6-test/uptime-year.json new file mode 100644 index 000000000..da4e55b2c --- /dev/null +++ b/api/i-pv6-test/uptime-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 1y","message":"0.01%","color":"red"} diff --git a/api/i-pv6-test/uptime.json b/api/i-pv6-test/uptime.json new file mode 100644 index 000000000..7b73fb198 --- /dev/null +++ b/api/i-pv6-test/uptime.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime","message":"0.01%","color":"red"} diff --git a/api/test-broken-site/response-time-day.json b/api/test-broken-site/response-time-day.json new file mode 100644 index 000000000..7c501ec98 --- /dev/null +++ b/api/test-broken-site/response-time-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 24h","message":"0 ms","color":"red"} diff --git a/api/test-broken-site/response-time-month.json b/api/test-broken-site/response-time-month.json new file mode 100644 index 000000000..d7245c628 --- /dev/null +++ b/api/test-broken-site/response-time-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 30d","message":"0 ms","color":"red"} diff --git a/api/test-broken-site/response-time-week.json b/api/test-broken-site/response-time-week.json new file mode 100644 index 000000000..578e0757e --- /dev/null +++ b/api/test-broken-site/response-time-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 7d","message":"0 ms","color":"red"} diff --git a/api/test-broken-site/response-time-year.json b/api/test-broken-site/response-time-year.json new file mode 100644 index 000000000..c60b234b8 --- /dev/null +++ b/api/test-broken-site/response-time-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 1y","message":"0 ms","color":"red"} diff --git a/api/test-broken-site/response-time.json b/api/test-broken-site/response-time.json new file mode 100644 index 000000000..3ef4a0d46 --- /dev/null +++ b/api/test-broken-site/response-time.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time","message":"0 ms","color":"red"} diff --git a/api/test-broken-site/uptime-day.json b/api/test-broken-site/uptime-day.json new file mode 100644 index 000000000..7ca7a963f --- /dev/null +++ b/api/test-broken-site/uptime-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 24h","message":"0%","color":"red"} diff --git a/api/test-broken-site/uptime-month.json b/api/test-broken-site/uptime-month.json new file mode 100644 index 000000000..6810c5ef5 --- /dev/null +++ b/api/test-broken-site/uptime-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 30d","message":"1.38%","color":"red"} diff --git a/api/test-broken-site/uptime-week.json b/api/test-broken-site/uptime-week.json new file mode 100644 index 000000000..a18f45659 --- /dev/null +++ b/api/test-broken-site/uptime-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 7d","message":"0%","color":"red"} diff --git a/api/test-broken-site/uptime-year.json b/api/test-broken-site/uptime-year.json new file mode 100644 index 000000000..03954cfc9 --- /dev/null +++ b/api/test-broken-site/uptime-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 1y","message":"0%","color":"red"} diff --git a/api/test-broken-site/uptime.json b/api/test-broken-site/uptime.json new file mode 100644 index 000000000..0657891e4 --- /dev/null +++ b/api/test-broken-site/uptime.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime","message":"0%","color":"red"} diff --git a/api/wikipedia/response-time-day.json b/api/wikipedia/response-time-day.json new file mode 100644 index 000000000..6d935d7f6 --- /dev/null +++ b/api/wikipedia/response-time-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 24h","message":"164 ms","color":"brightgreen"} diff --git a/api/wikipedia/response-time-month.json b/api/wikipedia/response-time-month.json new file mode 100644 index 000000000..a6480ea03 --- /dev/null +++ b/api/wikipedia/response-time-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 30d","message":"276 ms","color":"green"} diff --git a/api/wikipedia/response-time-week.json b/api/wikipedia/response-time-week.json new file mode 100644 index 000000000..c26ef951c --- /dev/null +++ b/api/wikipedia/response-time-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 7d","message":"284 ms","color":"green"} diff --git a/api/wikipedia/response-time-year.json b/api/wikipedia/response-time-year.json new file mode 100644 index 000000000..102f0c27d --- /dev/null +++ b/api/wikipedia/response-time-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time 1y","message":"249 ms","color":"green"} diff --git a/api/wikipedia/response-time.json b/api/wikipedia/response-time.json new file mode 100644 index 000000000..cb5032e77 --- /dev/null +++ b/api/wikipedia/response-time.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"response time","message":"243 ms","color":"green"} diff --git a/api/wikipedia/uptime-day.json b/api/wikipedia/uptime-day.json new file mode 100644 index 000000000..226baeab5 --- /dev/null +++ b/api/wikipedia/uptime-day.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 24h","message":"100%","color":"brightgreen"} diff --git a/api/wikipedia/uptime-month.json b/api/wikipedia/uptime-month.json new file mode 100644 index 000000000..059c01da0 --- /dev/null +++ b/api/wikipedia/uptime-month.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 30d","message":"100%","color":"brightgreen"} diff --git a/api/wikipedia/uptime-week.json b/api/wikipedia/uptime-week.json new file mode 100644 index 000000000..fccd794d2 --- /dev/null +++ b/api/wikipedia/uptime-week.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 7d","message":"100%","color":"brightgreen"} diff --git a/api/wikipedia/uptime-year.json b/api/wikipedia/uptime-year.json new file mode 100644 index 000000000..8923b68ad --- /dev/null +++ b/api/wikipedia/uptime-year.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime 1y","message":"100%","color":"brightgreen"} diff --git a/api/wikipedia/uptime.json b/api/wikipedia/uptime.json new file mode 100644 index 000000000..bd71d6f88 --- /dev/null +++ b/api/wikipedia/uptime.json @@ -0,0 +1 @@ +{"schemaVersion":1,"label":"uptime","message":"100%","color":"brightgreen"} diff --git a/assets/kuzzle.svg b/assets/kuzzle.svg new file mode 100644 index 000000000..daec4b40e --- /dev/null +++ b/assets/kuzzle.svg @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/graphs/google.png b/graphs/google.png new file mode 100644 index 000000000..52f13e8d0 Binary files /dev/null and b/graphs/google.png differ diff --git a/graphs/google/response-time-day.png b/graphs/google/response-time-day.png new file mode 100644 index 000000000..61df5bd6f Binary files /dev/null and b/graphs/google/response-time-day.png differ diff --git a/graphs/google/response-time-month.png b/graphs/google/response-time-month.png new file mode 100644 index 000000000..e2f1634af Binary files /dev/null and b/graphs/google/response-time-month.png differ diff --git a/graphs/google/response-time-week.png b/graphs/google/response-time-week.png new file mode 100644 index 000000000..0712a8cdb Binary files /dev/null and b/graphs/google/response-time-week.png differ diff --git a/graphs/google/response-time-year.png b/graphs/google/response-time-year.png new file mode 100644 index 000000000..4f05ee0e0 Binary files /dev/null and b/graphs/google/response-time-year.png differ diff --git a/graphs/google/response-time.png b/graphs/google/response-time.png new file mode 100644 index 000000000..0d43ba3d7 Binary files /dev/null and b/graphs/google/response-time.png differ diff --git a/graphs/hacker-news.png b/graphs/hacker-news.png new file mode 100644 index 000000000..f87a4ab09 Binary files /dev/null and b/graphs/hacker-news.png differ diff --git a/graphs/hacker-news/response-time-day.png b/graphs/hacker-news/response-time-day.png new file mode 100644 index 000000000..3594b51fa Binary files /dev/null and b/graphs/hacker-news/response-time-day.png differ diff --git a/graphs/hacker-news/response-time-month.png b/graphs/hacker-news/response-time-month.png new file mode 100644 index 000000000..b9bd0454d Binary files /dev/null and b/graphs/hacker-news/response-time-month.png differ diff --git a/graphs/hacker-news/response-time-week.png b/graphs/hacker-news/response-time-week.png new file mode 100644 index 000000000..6b8e4da90 Binary files /dev/null and b/graphs/hacker-news/response-time-week.png differ diff --git a/graphs/hacker-news/response-time-year.png b/graphs/hacker-news/response-time-year.png new file mode 100644 index 000000000..fe3c1f658 Binary files /dev/null and b/graphs/hacker-news/response-time-year.png differ diff --git a/graphs/hacker-news/response-time.png b/graphs/hacker-news/response-time.png new file mode 100644 index 000000000..5e2d09de3 Binary files /dev/null and b/graphs/hacker-news/response-time.png differ diff --git a/graphs/i-pv6-test/response-time-day.png b/graphs/i-pv6-test/response-time-day.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/i-pv6-test/response-time-day.png differ diff --git a/graphs/i-pv6-test/response-time-month.png b/graphs/i-pv6-test/response-time-month.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/i-pv6-test/response-time-month.png differ diff --git a/graphs/i-pv6-test/response-time-week.png b/graphs/i-pv6-test/response-time-week.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/i-pv6-test/response-time-week.png differ diff --git a/graphs/i-pv6-test/response-time-year.png b/graphs/i-pv6-test/response-time-year.png new file mode 100644 index 000000000..e168eb01e Binary files /dev/null and b/graphs/i-pv6-test/response-time-year.png differ diff --git a/graphs/i-pv6-test/response-time.png b/graphs/i-pv6-test/response-time.png new file mode 100644 index 000000000..e168eb01e Binary files /dev/null and b/graphs/i-pv6-test/response-time.png differ diff --git a/graphs/test-broken-site/response-time-day.png b/graphs/test-broken-site/response-time-day.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/test-broken-site/response-time-day.png differ diff --git a/graphs/test-broken-site/response-time-month.png b/graphs/test-broken-site/response-time-month.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/test-broken-site/response-time-month.png differ diff --git a/graphs/test-broken-site/response-time-week.png b/graphs/test-broken-site/response-time-week.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/test-broken-site/response-time-week.png differ diff --git a/graphs/test-broken-site/response-time-year.png b/graphs/test-broken-site/response-time-year.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/test-broken-site/response-time-year.png differ diff --git a/graphs/test-broken-site/response-time.png b/graphs/test-broken-site/response-time.png new file mode 100644 index 000000000..634087383 Binary files /dev/null and b/graphs/test-broken-site/response-time.png differ diff --git a/graphs/wikipedia.png b/graphs/wikipedia.png new file mode 100644 index 000000000..2d7393a17 Binary files /dev/null and b/graphs/wikipedia.png differ diff --git a/graphs/wikipedia/response-time-day.png b/graphs/wikipedia/response-time-day.png new file mode 100644 index 000000000..b46e50183 Binary files /dev/null and b/graphs/wikipedia/response-time-day.png differ diff --git a/graphs/wikipedia/response-time-month.png b/graphs/wikipedia/response-time-month.png new file mode 100644 index 000000000..77cd68553 Binary files /dev/null and b/graphs/wikipedia/response-time-month.png differ diff --git a/graphs/wikipedia/response-time-week.png b/graphs/wikipedia/response-time-week.png new file mode 100644 index 000000000..c057f3e0c Binary files /dev/null and b/graphs/wikipedia/response-time-week.png differ diff --git a/graphs/wikipedia/response-time-year.png b/graphs/wikipedia/response-time-year.png new file mode 100644 index 000000000..a2cb95e79 Binary files /dev/null and b/graphs/wikipedia/response-time-year.png differ diff --git a/graphs/wikipedia/response-time.png b/graphs/wikipedia/response-time.png new file mode 100644 index 000000000..b57b37523 Binary files /dev/null and b/graphs/wikipedia/response-time.png differ diff --git a/history/LICENSE b/history/LICENSE new file mode 100644 index 000000000..fc9491e52 --- /dev/null +++ b/history/LICENSE @@ -0,0 +1,540 @@ +## ODC Open Database License (ODbL) + +### Preamble + +The Open Database License (ODbL) is a license agreement intended to +allow users to freely share, modify, and use this Database while +maintaining this same freedom for others. Many databases are covered by +copyright, and therefore this document licenses these rights. Some +jurisdictions, mainly in the European Union, have specific rights that +cover databases, and so the ODbL addresses these rights, too. Finally, +the ODbL is also an agreement in contract for users of this Database to +act in certain ways in return for accessing this Database. + +Databases can contain a wide variety of types of content (images, +audiovisual material, and sounds all in the same database, for example), +and so the ODbL only governs the rights over the Database, and not the +contents of the Database individually. Licensors should use the ODbL +together with another license for the contents, if the contents have a +single set of rights that uniformly covers all of the contents. If the +contents have multiple sets of different rights, Licensors should +describe what rights govern what contents together in the individual +record or in some other way that clarifies what rights apply. + +Sometimes the contents of a database, or the database itself, can be +covered by other rights not addressed here (such as private contracts, +trade mark over the name, or privacy rights / data protection rights +over information in the contents), and so you are advised that you may +have to consult other documents or clear other rights before doing +activities not covered by this License. + +------ + +The Licensor (as defined below) + +and + +You (as defined below) + +agree as follows: + +### 1.0 Definitions of Capitalised Words + +"Collective Database" – Means this Database in unmodified form as part +of a collection of independent databases in themselves that together are +assembled into a collective whole. A work that constitutes a Collective +Database will not be considered a Derivative Database. + +"Convey" – As a verb, means Using the Database, a Derivative Database, +or the Database as part of a Collective Database in any way that enables +a Person to make or receive copies of the Database or a Derivative +Database. Conveying does not include interaction with a user through a +computer network, or creating and Using a Produced Work, where no +transfer of a copy of the Database or a Derivative Database occurs. +"Contents" – The contents of this Database, which includes the +information, independent works, or other material collected into the +Database. For example, the contents of the Database could be factual +data or works such as images, audiovisual material, text, or sounds. + +"Database" – A collection of material (the Contents) arranged in a +systematic or methodical way and individually accessible by electronic +or other means offered under the terms of this License. + +"Database Directive" – Means Directive 96/9/EC of the European +Parliament and of the Council of 11 March 1996 on the legal protection +of databases, as amended or succeeded. + +"Database Right" – Means rights resulting from the Chapter III ("sui +generis") rights in the Database Directive (as amended and as transposed +by member states), which includes the Extraction and Re-utilisation of +the whole or a Substantial part of the Contents, as well as any similar +rights available in the relevant jurisdiction under Section 10.4. + +"Derivative Database" – Means a database based upon the Database, and +includes any translation, adaptation, arrangement, modification, or any +other alteration of the Database or of a Substantial part of the +Contents. This includes, but is not limited to, Extracting or +Re-utilising the whole or a Substantial part of the Contents in a new +Database. + +"Extraction" – Means the permanent or temporary transfer of all or a +Substantial part of the Contents to another medium by any means or in +any form. + +"License" – Means this license agreement and is both a license of rights +such as copyright and Database Rights and an agreement in contract. + +"Licensor" – Means the Person that offers the Database under the terms +of this License. + +"Person" – Means a natural or legal person or a body of persons +corporate or incorporate. + +"Produced Work" – a work (such as an image, audiovisual material, text, +or sounds) resulting from using the whole or a Substantial part of the +Contents (via a search or other query) from this Database, a Derivative +Database, or this Database as part of a Collective Database. + +"Publicly" – means to Persons other than You or under Your control by +either more than 50% ownership or by the power to direct their +activities (such as contracting with an independent consultant). + +"Re-utilisation" – means any form of making available to the public all +or a Substantial part of the Contents by the distribution of copies, by +renting, by online or other forms of transmission. + +"Substantial" – Means substantial in terms of quantity or quality or a +combination of both. The repeated and systematic Extraction or +Re-utilisation of insubstantial parts of the Contents may amount to the +Extraction or Re-utilisation of a Substantial part of the Contents. + +"Use" – As a verb, means doing any act that is restricted by copyright +or Database Rights whether in the original medium or any other; and +includes without limitation distributing, copying, publicly performing, +publicly displaying, and preparing derivative works of the Database, as +well as modifying the Database as may be technically necessary to use it +in a different mode or format. + +"You" – Means a Person exercising rights under this License who has not +previously violated the terms of this License with respect to the +Database, or who has received express permission from the Licensor to +exercise rights under this License despite a previous violation. + +Words in the singular include the plural and vice versa. + +### 2.0 What this License covers + +2.1. Legal effect of this document. This License is: + + a. A license of applicable copyright and neighbouring rights; + + b. A license of the Database Right; and + + c. An agreement in contract between You and the Licensor. + +2.2 Legal rights covered. This License covers the legal rights in the +Database, including: + + a. Copyright. Any copyright or neighbouring rights in the Database. + The copyright licensed includes any individual elements of the + Database, but does not cover the copyright over the Contents + independent of this Database. See Section 2.4 for details. Copyright + law varies between jurisdictions, but is likely to cover: the Database + model or schema, which is the structure, arrangement, and organisation + of the Database, and can also include the Database tables and table + indexes; the data entry and output sheets; and the Field names of + Contents stored in the Database; + + b. Database Rights. Database Rights only extend to the Extraction and + Re-utilisation of the whole or a Substantial part of the Contents. + Database Rights can apply even when there is no copyright over the + Database. Database Rights can also apply when the Contents are removed + from the Database and are selected and arranged in a way that would + not infringe any applicable copyright; and + + c. Contract. This is an agreement between You and the Licensor for + access to the Database. In return you agree to certain conditions of + use on this access as outlined in this License. + +2.3 Rights not covered. + + a. This License does not apply to computer programs used in the making + or operation of the Database; + + b. This License does not cover any patents over the Contents or the + Database; and + + c. This License does not cover any trademarks associated with the + Database. + +2.4 Relationship to Contents in the Database. The individual items of +the Contents contained in this Database may be covered by other rights, +including copyright, patent, data protection, privacy, or personality +rights, and this License does not cover any rights (other than Database +Rights or in contract) in individual Contents contained in the Database. +For example, if used on a Database of images (the Contents), this +License would not apply to copyright over individual images, which could +have their own separate licenses, or one single license covering all of +the rights over the images. + +### 3.0 Rights granted + +3.1 Subject to the terms and conditions of this License, the Licensor +grants to You a worldwide, royalty-free, non-exclusive, terminable (but +only under Section 9) license to Use the Database for the duration of +any applicable copyright and Database Rights. These rights explicitly +include commercial use, and do not exclude any field of endeavour. To +the extent possible in the relevant jurisdiction, these rights may be +exercised in all media and formats whether now known or created in the +future. + +The rights granted cover, for example: + + a. Extraction and Re-utilisation of the whole or a Substantial part of + the Contents; + + b. Creation of Derivative Databases; + + c. Creation of Collective Databases; + + d. Creation of temporary or permanent reproductions by any means and + in any form, in whole or in part, including of any Derivative + Databases or as a part of Collective Databases; and + + e. Distribution, communication, display, lending, making available, or + performance to the public by any means and in any form, in whole or in + part, including of any Derivative Database or as a part of Collective + Databases. + +3.2 Compulsory license schemes. For the avoidance of doubt: + + a. Non-waivable compulsory license schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; + + b. Waivable compulsory license schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme can be waived, the Licensor waives the + exclusive right to collect such royalties for any exercise by You of + the rights granted under this License; and, + + c. Voluntary license schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor is + a member of a collecting society that administers voluntary licensing + schemes, via that society, from any exercise by You of the rights + granted under this License. + +3.3 The right to release the Database under different terms, or to stop +distributing or making available the Database, is reserved. Note that +this Database may be multiple-licensed, and so You may have the choice +of using alternative licenses for this Database. Subject to Section +10.4, all other rights not expressly granted by Licensor are reserved. + +### 4.0 Conditions of Use + +4.1 The rights granted in Section 3 above are expressly made subject to +Your complying with the following conditions of use. These are important +conditions of this License, and if You fail to follow them, You will be +in material breach of its terms. + +4.2 Notices. If You Publicly Convey this Database, any Derivative +Database, or the Database as part of a Collective Database, then You +must: + + a. Do so only under the terms of this License or another license + permitted under Section 4.4; + + b. Include a copy of this License (or, as applicable, a license + permitted under Section 4.4) or its Uniform Resource Identifier (URI) + with the Database or Derivative Database, including both in the + Database or Derivative Database and in any relevant documentation; and + + c. Keep intact any copyright or Database Right notices and notices + that refer to this License. + + d. If it is not possible to put the required notices in a particular + file due to its structure, then You must include the notices in a + location (such as a relevant directory) where users would be likely to + look for it. + +4.3 Notice for using output (Contents). Creating and Using a Produced +Work does not require the notice in Section 4.2. However, if you +Publicly Use a Produced Work, You must include a notice associated with +the Produced Work reasonably calculated to make any Person that uses, +views, accesses, interacts with, or is otherwise exposed to the Produced +Work aware that Content was obtained from the Database, Derivative +Database, or the Database as part of a Collective Database, and that it +is available under this License. + + a. Example notice. The following text will satisfy notice under + Section 4.3: + + Contains information from DATABASE NAME, which is made available + here under the Open Database License (ODbL). + +DATABASE NAME should be replaced with the name of the Database and a +hyperlink to the URI of the Database. "Open Database License" should +contain a hyperlink to the URI of the text of this License. If +hyperlinks are not possible, You should include the plain text of the +required URI's with the above notice. + +4.4 Share alike. + + a. Any Derivative Database that You Publicly Use must be only under + the terms of: + + i. This License; + + ii. A later version of this License similar in spirit to this + License; or + + iii. A compatible license. + + If You license the Derivative Database under one of the licenses + mentioned in (iii), You must comply with the terms of that license. + + b. For the avoidance of doubt, Extraction or Re-utilisation of the + whole or a Substantial part of the Contents into a new database is a + Derivative Database and must comply with Section 4.4. + + c. Derivative Databases and Produced Works. A Derivative Database is + Publicly Used and so must comply with Section 4.4. if a Produced Work + created from the Derivative Database is Publicly Used. + + d. Share Alike and additional Contents. For the avoidance of doubt, + You must not add Contents to Derivative Databases under Section 4.4 a + that are incompatible with the rights granted under this License. + + e. Compatible licenses. Licensors may authorise a proxy to determine + compatible licenses under Section 4.4 a iii. If they do so, the + authorised proxy's public statement of acceptance of a compatible + license grants You permission to use the compatible license. + + +4.5 Limits of Share Alike. The requirements of Section 4.4 do not apply +in the following: + + a. For the avoidance of doubt, You are not required to license + Collective Databases under this License if You incorporate this + Database or a Derivative Database in the collection, but this License + still applies to this Database or a Derivative Database as a part of + the Collective Database; + + b. Using this Database, a Derivative Database, or this Database as + part of a Collective Database to create a Produced Work does not + create a Derivative Database for purposes of Section 4.4; and + + c. Use of a Derivative Database internally within an organisation is + not to the public and therefore does not fall under the requirements + of Section 4.4. + +4.6 Access to Derivative Databases. If You Publicly Use a Derivative +Database or a Produced Work from a Derivative Database, You must also +offer to recipients of the Derivative Database or Produced Work a copy +in a machine readable form of: + + a. The entire Derivative Database; or + + b. A file containing all of the alterations made to the Database or + the method of making the alterations to the Database (such as an + algorithm), including any additional Contents, that make up all the + differences between the Database and the Derivative Database. + +The Derivative Database (under a.) or alteration file (under b.) must be +available at no more than a reasonable production cost for physical +distributions and free of charge if distributed over the internet. + +4.7 Technological measures and additional terms + + a. This License does not allow You to impose (except subject to + Section 4.7 b.) any terms or any technological measures on the + Database, a Derivative Database, or the whole or a Substantial part of + the Contents that alter or restrict the terms of this License, or any + rights granted under it, or have the effect or intent of restricting + the ability of any person to exercise those rights. + + b. Parallel distribution. You may impose terms or technological + measures on the Database, a Derivative Database, or the whole or a + Substantial part of the Contents (a "Restricted Database") in + contravention of Section 4.74 a. only if You also make a copy of the + Database or a Derivative Database available to the recipient of the + Restricted Database: + + i. That is available without additional fee; + + ii. That is available in a medium that does not alter or restrict + the terms of this License, or any rights granted under it, or have + the effect or intent of restricting the ability of any person to + exercise those rights (an "Unrestricted Database"); and + + iii. The Unrestricted Database is at least as accessible to the + recipient as a practical matter as the Restricted Database. + + c. For the avoidance of doubt, You may place this Database or a + Derivative Database in an authenticated environment, behind a + password, or within a similar access control scheme provided that You + do not alter or restrict the terms of this License or any rights + granted under it or have the effect or intent of restricting the + ability of any person to exercise those rights. + +4.8 Licensing of others. You may not sublicense the Database. Each time +You communicate the Database, the whole or Substantial part of the +Contents, or any Derivative Database to anyone else in any way, the +Licensor offers to the recipient a license to the Database on the same +terms and conditions as this License. You are not responsible for +enforcing compliance by third parties with this License, but You may +enforce any rights that You have over a Derivative Database. You are +solely responsible for any modifications of a Derivative Database made +by You or another Person at Your direction. You may not impose any +further restrictions on the exercise of the rights granted or affirmed +under this License. + +### 5.0 Moral rights + +5.1 Moral rights. This section covers moral rights, including any rights +to be identified as the author of the Database or to object to treatment +that would otherwise prejudice the author's honour and reputation, or +any other derogatory treatment: + + a. For jurisdictions allowing waiver of moral rights, Licensor waives + all moral rights that Licensor may have in the Database to the fullest + extent possible by the law of the relevant jurisdiction under Section + 10.4; + + b. If waiver of moral rights under Section 5.1 a in the relevant + jurisdiction is not possible, Licensor agrees not to assert any moral + rights over the Database and waives all claims in moral rights to the + fullest extent possible by the law of the relevant jurisdiction under + Section 10.4; and + + c. For jurisdictions not allowing waiver or an agreement not to assert + moral rights under Section 5.1 a and b, the author may retain their + moral rights over certain aspects of the Database. + +Please note that some jurisdictions do not allow for the waiver of moral +rights, and so moral rights may still subsist over the Database in some +jurisdictions. + +### 6.0 Fair dealing, Database exceptions, and other rights not affected + +6.1 This License does not affect any rights that You or anyone else may +independently have under any applicable law to make any use of this +Database, including without limitation: + + a. Exceptions to the Database Right including: Extraction of Contents + from non-electronic Databases for private purposes, Extraction for + purposes of illustration for teaching or scientific research, and + Extraction or Re-utilisation for public security or an administrative + or judicial procedure. + + b. Fair dealing, fair use, or any other legally recognised limitation + or exception to infringement of copyright or other applicable laws. + +6.2 This License does not affect any rights of lawful users to Extract +and Re-utilise insubstantial parts of the Contents, evaluated +quantitatively or qualitatively, for any purposes whatsoever, including +creating a Derivative Database (subject to other rights over the +Contents, see Section 2.4). The repeated and systematic Extraction or +Re-utilisation of insubstantial parts of the Contents may however amount +to the Extraction or Re-utilisation of a Substantial part of the +Contents. + +### 7.0 Warranties and Disclaimer + +7.1 The Database is licensed by the Licensor "as is" and without any +warranty of any kind, either express, implied, or arising by statute, +custom, course of dealing, or trade usage. Licensor specifically +disclaims any and all implied warranties or conditions of title, +non-infringement, accuracy or completeness, the presence or absence of +errors, fitness for a particular purpose, merchantability, or otherwise. +Some jurisdictions do not allow the exclusion of implied warranties, so +this exclusion may not apply to You. + +### 8.0 Limitation of liability + +8.1 Subject to any liability that may not be excluded or limited by law, +the Licensor is not liable for, and expressly excludes, all liability +for loss or damage however and whenever caused to anyone by any use +under this License, whether by You or by anyone else, and whether caused +by any fault on the part of the Licensor or not. This exclusion of +liability includes, but is not limited to, any special, incidental, +consequential, punitive, or exemplary damages such as loss of revenue, +data, anticipated profits, and lost business. This exclusion applies +even if the Licensor has been advised of the possibility of such +damages. + +8.2 If liability may not be excluded by law, it is limited to actual and +direct financial loss to the extent it is caused by proved negligence on +the part of the Licensor. + +### 9.0 Termination of Your rights under this License + +9.1 Any breach by You of the terms and conditions of this License +automatically terminates this License with immediate effect and without +notice to You. For the avoidance of doubt, Persons who have received the +Database, the whole or a Substantial part of the Contents, Derivative +Databases, or the Database as part of a Collective Database from You +under this License will not have their licenses terminated provided +their use is in full compliance with this License or a license granted +under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will +survive any termination of this License. + +9.2 If You are not in breach of the terms of this License, the Licensor +will not terminate Your rights under it. + +9.3 Unless terminated under Section 9.1, this License is granted to You +for the duration of applicable rights in the Database. + +9.4 Reinstatement of rights. If you cease any breach of the terms and +conditions of this License, then your full rights under this License +will be reinstated: + + a. Provisionally and subject to permanent termination until the 60th + day after cessation of breach; + + b. Permanently on the 60th day after cessation of breach unless + otherwise reasonably notified by the Licensor; or + + c. Permanently if reasonably notified by the Licensor of the + violation, this is the first time You have received notice of + violation of this License from the Licensor, and You cure the + violation prior to 30 days after your receipt of the notice. + +Persons subject to permanent termination of rights are not eligible to +be a recipient and receive a license under Section 4.8. + +9.5 Notwithstanding the above, Licensor reserves the right to release +the Database under different license terms or to stop distributing or +making available the Database. Releasing the Database under different +license terms or stopping the distribution of the Database will not +withdraw this License (or any other license that has been, or is +required to be, granted under the terms of this License), and this +License will continue in full force and effect unless terminated as +stated above. + +### 10.0 General + +10.1 If any provision of this License is held to be invalid or +unenforceable, that must not affect the validity or enforceability of +the remainder of the terms and conditions of this License and each +remaining provision of this License shall be valid and enforced to the +fullest extent permitted by law. + +10.2 This License is the entire agreement between the parties with +respect to the rights granted here over the Database. It replaces any +earlier understandings, agreements or representations with respect to +the Database. + +10.3 If You are in breach of the terms of this License, You will not be +entitled to rely on the terms of this License or to complain of any +breach by the Licensor. + +10.4 Choice of law. This License takes effect in and will be governed by +the laws of the relevant jurisdiction in which the License terms are +sought to be enforced. If the standard suite of rights granted under +applicable copyright law and Database Rights in the relevant +jurisdiction includes additional rights not granted under this License, +these additional rights are granted in this License in order to meet the +terms of this License. diff --git a/history/google.yml b/history/google.yml new file mode 100644 index 000000000..77618b544 --- /dev/null +++ b/history/google.yml @@ -0,0 +1,7 @@ +url: https://www.google.com +status: up +code: 200 +responseTime: 162 +lastUpdated: 2024-07-24T23:09:00.975Z +startTime: 2020-08-10T07:54:39.000Z +generator: Upptime diff --git a/history/hacker-news.yml b/history/hacker-news.yml new file mode 100644 index 000000000..39410af74 --- /dev/null +++ b/history/hacker-news.yml @@ -0,0 +1,7 @@ +url: https://news.ycombinator.com +status: up +code: 200 +responseTime: 446 +lastUpdated: 2024-07-24T23:09:01.984Z +startTime: 2020-08-10T07:54:43.000Z +generator: Upptime diff --git a/history/i-pv6-test.yml b/history/i-pv6-test.yml new file mode 100644 index 000000000..c1ce09f9b --- /dev/null +++ b/history/i-pv6-test.yml @@ -0,0 +1,7 @@ +url: forwardemail.net +status: down +code: 0 +responseTime: 0 +lastUpdated: 2024-07-24T23:09:02.862Z +startTime: 2024-01-15T10:13:30.802Z +generator: Upptime diff --git a/history/summary.json b/history/summary.json new file mode 100644 index 000000000..124dc7240 --- /dev/null +++ b/history/summary.json @@ -0,0 +1,659 @@ +[ + { + "name": "Google", + "url": "https://www.google.com", + "icon": "https://icons.duckduckgo.com/ip3/www.google.com.ico", + "slug": "google", + "status": "up", + "uptime": "100.00%", + "uptimeDay": "100.00%", + "uptimeWeek": "100.00%", + "uptimeMonth": "100.00%", + "uptimeYear": "99.99%", + "time": 110, + "timeDay": 162, + "timeWeek": 109, + "timeMonth": 112, + "timeYear": 110, + "dailyMinutesDown": { + "2024-05-01": 29 + } + }, + { + "name": "Wikipedia", + "url": "https://en.wikipedia.org", + "icon": "https://icons.duckduckgo.com/ip3/en.wikipedia.org.ico", + "slug": "wikipedia", + "status": "up", + "uptime": "100.00%", + "uptimeDay": "100.00%", + "uptimeWeek": "100.00%", + "uptimeMonth": "100.00%", + "uptimeYear": "100.00%", + "time": 243, + "timeDay": 164, + "timeWeek": 284, + "timeMonth": 276, + "timeYear": 249, + "dailyMinutesDown": {} + }, + { + "name": "Hacker News", + "url": "https://news.ycombinator.com", + "icon": "https://icons.duckduckgo.com/ip3/news.ycombinator.com.ico", + "slug": "hacker-news", + "status": "up", + "uptime": "98.65%", + "uptimeDay": "100.00%", + "uptimeWeek": "100.00%", + "uptimeMonth": "100.00%", + "uptimeYear": "99.94%", + "time": 402, + "timeDay": 446, + "timeWeek": 382, + "timeMonth": 326, + "timeYear": 432, + "dailyMinutesDown": { + "2024-01-10": 90, + "2023-12-12": 169, + "2023-10-12": 22, + "2023-08-23": 16 + } + }, + { + "name": "Test Broken Site", + "url": "https://thissitedoesnotexist.koj.co", + "icon": "https://icons.duckduckgo.com/ip3/thissitedoesnotexist.koj.co.ico", + "slug": "test-broken-site", + "status": "down", + "uptime": "0.00%", + "uptimeDay": "0.00%", + "uptimeWeek": "0.00%", + "uptimeMonth": "1.38%", + "uptimeYear": "0.00%", + "time": 0, + "timeDay": 0, + "timeWeek": 0, + "timeMonth": 0, + "timeYear": 0, + "dailyMinutesDown": { + "2024-07-25": 65, + "2024-07-24": 1440, + "2024-07-23": 1440, + "2024-07-22": 1440, + "2024-07-21": 1440, + "2024-07-20": 1440, + "2024-07-19": 1440, + "2024-07-18": 1440, + "2024-07-17": 1440, + "2024-07-16": 1440, + "2024-07-15": 1440, + "2024-07-14": 1440, + "2024-07-13": 1440, + "2024-07-12": 1440, + "2024-07-11": 1440, + "2024-07-10": 1440, + "2024-07-09": 1440, + "2024-07-08": 1440, + "2024-07-07": 1440, + "2024-07-06": 1440, + "2024-07-05": 1440, + "2024-07-04": 1440, + "2024-07-03": 1440, + "2024-07-02": 1440, + "2024-07-01": 1440, + "2024-06-30": 1440, + "2024-06-29": 1440, + "2024-06-28": 1440, + "2024-06-27": 1440, + "2024-06-26": 1440, + "2024-06-25": 1440, + "2024-06-24": 1440, + "2024-06-23": 1440, + "2024-06-22": 1440, + "2024-06-21": 1440, + "2024-06-20": 1440, + "2024-06-19": 1440, + "2024-06-18": 1440, + "2024-06-17": 1440, + "2024-06-16": 1440, + "2024-06-15": 1440, + "2024-06-14": 1440, + "2024-06-13": 1440, + "2024-06-12": 1440, + "2024-06-11": 1440, + "2024-06-10": 1440, + "2024-06-09": 1440, + "2024-06-08": 1440, + "2024-06-07": 1440, + "2024-06-06": 1440, + "2024-06-05": 1440, + "2024-06-04": 1440, + "2024-06-03": 1440, + "2024-06-02": 1440, + "2024-06-01": 1440, + "2024-05-31": 1440, + "2024-05-30": 1440, + "2024-05-29": 1440, + "2024-05-28": 1440, + "2024-05-27": 1440, + "2024-05-26": 1440, + "2024-05-25": 1440, + "2024-05-24": 1440, + "2024-05-23": 1440, + "2024-05-22": 1440, + "2024-05-21": 1440, + "2024-05-20": 1440, + "2024-05-19": 1440, + "2024-05-18": 1440, + "2024-05-17": 1440, + "2024-05-16": 1440, + "2024-05-15": 1440, + "2024-05-14": 1440, + "2024-05-13": 1440, + "2024-05-12": 1440, + "2024-05-11": 1440, + "2024-05-10": 1440, + "2024-05-09": 1440, + "2024-05-08": 1440, + "2024-05-07": 1440, + "2024-05-06": 1440, + "2024-05-05": 1440, + "2024-05-04": 1440, + "2024-05-03": 1440, + "2024-05-02": 1440, + "2024-05-01": 1440, + "2024-04-30": 1440, + "2024-04-29": 1440, + "2024-04-28": 1440, + "2024-04-27": 1440, + "2024-04-26": 1440, + "2024-04-25": 1440, + "2024-04-24": 1440, + "2024-04-23": 1440, + "2024-04-22": 1440, + "2024-04-21": 1440, + "2024-04-20": 1440, + "2024-04-19": 1440, + "2024-04-18": 1440, + "2024-04-17": 1440, + "2024-04-16": 1440, + "2024-04-15": 1440, + "2024-04-14": 1440, + "2024-04-13": 1440, + "2024-04-12": 1440, + "2024-04-11": 1440, + "2024-04-10": 1440, + "2024-04-09": 1440, + "2024-04-08": 1440, + "2024-04-07": 1440, + "2024-04-06": 1440, + "2024-04-05": 1440, + "2024-04-04": 1440, + "2024-04-03": 1440, + "2024-04-02": 1440, + "2024-04-01": 1440, + "2024-03-31": 1440, + "2024-03-30": 1440, + "2024-03-29": 1440, + "2024-03-28": 1440, + "2024-03-27": 1440, + "2024-03-26": 1440, + "2024-03-25": 1440, + "2024-03-24": 1440, + "2024-03-23": 1440, + "2024-03-22": 1440, + "2024-03-21": 1440, + "2024-03-20": 1440, + "2024-03-19": 1440, + "2024-03-18": 1440, + "2024-03-17": 1440, + "2024-03-16": 1440, + "2024-03-15": 1440, + "2024-03-14": 1440, + "2024-03-13": 1440, + "2024-03-12": 1440, + "2024-03-11": 1440, + "2024-03-10": 1440, + "2024-03-09": 1440, + "2024-03-08": 1440, + "2024-03-07": 1440, + "2024-03-06": 1440, + "2024-03-05": 1440, + "2024-03-04": 1440, + "2024-03-03": 1440, + "2024-03-02": 1440, + "2024-03-01": 1440, + "2024-02-29": 1440, + "2024-02-28": 1440, + "2024-02-27": 1440, + "2024-02-26": 1440, + "2024-02-25": 1440, + "2024-02-24": 1440, + "2024-02-23": 1440, + "2024-02-22": 1440, + "2024-02-21": 1440, + "2024-02-20": 1440, + "2024-02-19": 1440, + "2024-02-18": 1440, + "2024-02-17": 1440, + "2024-02-16": 1440, + "2024-02-15": 1440, + "2024-02-14": 1440, + "2024-02-13": 1440, + "2024-02-12": 1440, + "2024-02-11": 1440, + "2024-02-10": 1440, + "2024-02-09": 1440, + "2024-02-08": 1440, + "2024-02-07": 1440, + "2024-02-06": 1440, + "2024-02-05": 1440, + "2024-02-04": 1440, + "2024-02-03": 1440, + "2024-02-02": 1440, + "2024-02-01": 1440, + "2024-01-31": 1440, + "2024-01-30": 1440, + "2024-01-29": 1440, + "2024-01-28": 1440, + "2024-01-27": 1440, + "2024-01-26": 1440, + "2024-01-25": 1440, + "2024-01-24": 1440, + "2024-01-23": 1440, + "2024-01-22": 1440, + "2024-01-21": 1440, + "2024-01-20": 1440, + "2024-01-19": 1440, + "2024-01-18": 1440, + "2024-01-17": 1440, + "2024-01-16": 1440, + "2024-01-15": 1440, + "2024-01-14": 1440, + "2024-01-13": 1440, + "2024-01-12": 1440, + "2024-01-11": 1440, + "2024-01-10": 1440, + "2024-01-09": 1440, + "2024-01-08": 1440, + "2024-01-07": 1440, + "2024-01-06": 1440, + "2024-01-05": 1440, + "2024-01-04": 1440, + "2024-01-03": 1440, + "2024-01-02": 1440, + "2024-01-01": 1440, + "2023-12-31": 1440, + "2023-12-30": 1440, + "2023-12-29": 1440, + "2023-12-28": 1440, + "2023-12-27": 1440, + "2023-12-26": 1440, + "2023-12-25": 1440, + "2023-12-24": 1440, + "2023-12-23": 1440, + "2023-12-22": 1440, + "2023-12-21": 1440, + "2023-12-20": 1440, + "2023-12-19": 1440, + "2023-12-18": 1440, + "2023-12-17": 1440, + "2023-12-16": 1440, + "2023-12-15": 1440, + "2023-12-14": 1440, + "2023-12-13": 1440, + "2023-12-12": 1440, + "2023-12-11": 1440, + "2023-12-10": 1440, + "2023-12-09": 1440, + "2023-12-08": 1440, + "2023-12-07": 1440, + "2023-12-06": 1440, + "2023-12-05": 1440, + "2023-12-04": 1440, + "2023-12-03": 1440, + "2023-12-02": 1440, + "2023-12-01": 1440, + "2023-11-30": 1440, + "2023-11-29": 1440, + "2023-11-28": 1440, + "2023-11-27": 1440, + "2023-11-26": 1440, + "2023-11-25": 1440, + "2023-11-24": 1440, + "2023-11-23": 1440, + "2023-11-22": 1440, + "2023-11-21": 1440, + "2023-11-20": 1440, + "2023-11-19": 1440, + "2023-11-18": 1440, + "2023-11-17": 1440, + "2023-11-16": 1440, + "2023-11-15": 1440, + "2023-11-14": 1440, + "2023-11-13": 1440, + "2023-11-12": 1440, + "2023-11-11": 1440, + "2023-11-10": 1440, + "2023-11-09": 1440, + "2023-11-08": 1440, + "2023-11-07": 1440, + "2023-11-06": 1440, + "2023-11-05": 1440, + "2023-11-04": 1440, + "2023-11-03": 1440, + "2023-11-02": 1440, + "2023-11-01": 1440, + "2023-10-31": 1440, + "2023-10-30": 1440, + "2023-10-29": 1440, + "2023-10-28": 1440, + "2023-10-27": 1440, + "2023-10-26": 1440, + "2023-10-25": 1440, + "2023-10-24": 1440, + "2023-10-23": 1440, + "2023-10-22": 1440, + "2023-10-21": 1440, + "2023-10-20": 1440, + "2023-10-19": 1440, + "2023-10-18": 1440, + "2023-10-17": 1440, + "2023-10-16": 1440, + "2023-10-15": 1440, + "2023-10-14": 1440, + "2023-10-13": 1440, + "2023-10-12": 1440, + "2023-10-11": 1440, + "2023-10-10": 1440, + "2023-10-09": 1440, + "2023-10-08": 1440, + "2023-10-07": 1440, + "2023-10-06": 1440, + "2023-10-05": 1440, + "2023-10-04": 1440, + "2023-10-03": 1440, + "2023-10-02": 1440, + "2023-10-01": 1440, + "2023-09-30": 1440, + "2023-09-29": 1440, + "2023-09-28": 1440, + "2023-09-27": 1440, + "2023-09-26": 1440, + "2023-09-25": 1440, + "2023-09-24": 1440, + "2023-09-23": 1440, + "2023-09-22": 1440, + "2023-09-21": 1440, + "2023-09-20": 1440, + "2023-09-19": 1440, + "2023-09-18": 1440, + "2023-09-17": 1440, + "2023-09-16": 1440, + "2023-09-15": 1440, + "2023-09-14": 1440, + "2023-09-13": 1440, + "2023-09-12": 1440, + "2023-09-11": 1440, + "2023-09-10": 1440, + "2023-09-09": 1440, + "2023-09-08": 1440, + "2023-09-07": 1440, + "2023-09-06": 1440, + "2023-09-05": 1440, + "2023-09-04": 1440, + "2023-09-03": 1440, + "2023-09-02": 1440, + "2023-09-01": 1440, + "2023-08-31": 1440, + "2023-08-30": 1440, + "2023-08-29": 1440, + "2023-08-28": 1440, + "2023-08-27": 1440, + "2023-08-26": 1440, + "2023-08-25": 1440, + "2023-08-24": 1440, + "2023-08-23": 1440, + "2023-08-22": 1440, + "2023-08-21": 1440, + "2023-08-20": 1440, + "2023-08-19": 1440, + "2023-08-18": 1440, + "2023-08-17": 1440, + "2023-08-16": 1440, + "2023-08-15": 1440, + "2023-08-14": 1440, + "2023-08-13": 1440, + "2023-08-12": 1440, + "2023-08-11": 1440, + "2023-08-10": 1440, + "2023-08-09": 1440, + "2023-08-08": 1440, + "2023-08-07": 1440, + "2023-08-06": 1440, + "2023-08-05": 1440, + "2023-08-04": 1440, + "2023-08-03": 1440, + "2023-08-02": 1440, + "2023-08-01": 1440, + "2023-07-31": 1440, + "2023-07-30": 1440, + "2023-07-29": 1440, + "2023-07-28": 1440, + "2023-07-27": 1440 + } + }, + { + "name": "IPv6 test", + "url": "forwardemail.net", + "icon": "https://icons.duckduckgo.com/ip3/null.ico", + "slug": "i-pv6-test", + "status": "down", + "uptime": "0.01%", + "uptimeDay": "0.00%", + "uptimeWeek": "0.00%", + "uptimeMonth": "1.38%", + "uptimeYear": "0.01%", + "time": 4, + "timeDay": 0, + "timeWeek": 0, + "timeMonth": 0, + "timeYear": 4, + "dailyMinutesDown": { + "2024-07-25": 65, + "2024-07-24": 1440, + "2024-07-23": 1440, + "2024-07-22": 1440, + "2024-07-21": 1440, + "2024-07-20": 1440, + "2024-07-19": 1440, + "2024-07-18": 1440, + "2024-07-17": 1440, + "2024-07-16": 1440, + "2024-07-15": 1440, + "2024-07-14": 1440, + "2024-07-13": 1440, + "2024-07-12": 1440, + "2024-07-11": 1440, + "2024-07-10": 1440, + "2024-07-09": 1440, + "2024-07-08": 1440, + "2024-07-07": 1440, + "2024-07-06": 1440, + "2024-07-05": 1440, + "2024-07-04": 1440, + "2024-07-03": 1440, + "2024-07-02": 1440, + "2024-07-01": 1440, + "2024-06-30": 1440, + "2024-06-29": 1440, + "2024-06-28": 1440, + "2024-06-27": 1440, + "2024-06-26": 1440, + "2024-06-25": 1440, + "2024-06-24": 1440, + "2024-06-23": 1440, + "2024-06-22": 1440, + "2024-06-21": 1440, + "2024-06-20": 1440, + "2024-06-19": 1440, + "2024-06-18": 1440, + "2024-06-17": 1440, + "2024-06-16": 1440, + "2024-06-15": 1440, + "2024-06-14": 1440, + "2024-06-13": 1440, + "2024-06-12": 1440, + "2024-06-11": 1440, + "2024-06-10": 1440, + "2024-06-09": 1440, + "2024-06-08": 1440, + "2024-06-07": 1440, + "2024-06-06": 1440, + "2024-06-05": 1440, + "2024-06-04": 1440, + "2024-06-03": 1440, + "2024-06-02": 1440, + "2024-06-01": 1440, + "2024-05-31": 1440, + "2024-05-30": 1440, + "2024-05-29": 1440, + "2024-05-28": 1440, + "2024-05-27": 1440, + "2024-05-26": 1440, + "2024-05-25": 1440, + "2024-05-24": 1440, + "2024-05-23": 1440, + "2024-05-22": 1440, + "2024-05-21": 1440, + "2024-05-20": 1440, + "2024-05-19": 1440, + "2024-05-18": 1440, + "2024-05-17": 1440, + "2024-05-16": 1440, + "2024-05-15": 1440, + "2024-05-14": 1440, + "2024-05-13": 1440, + "2024-05-12": 1440, + "2024-05-11": 1440, + "2024-05-10": 1440, + "2024-05-09": 1440, + "2024-05-08": 1440, + "2024-05-07": 1440, + "2024-05-06": 1440, + "2024-05-05": 1440, + "2024-05-04": 1440, + "2024-05-03": 1440, + "2024-05-02": 1440, + "2024-05-01": 1440, + "2024-04-30": 1440, + "2024-04-29": 1440, + "2024-04-28": 1440, + "2024-04-27": 1440, + "2024-04-26": 1440, + "2024-04-25": 1440, + "2024-04-24": 1440, + "2024-04-23": 1440, + "2024-04-22": 1440, + "2024-04-21": 1440, + "2024-04-20": 1440, + "2024-04-19": 1440, + "2024-04-18": 1440, + "2024-04-17": 1440, + "2024-04-16": 1440, + "2024-04-15": 1440, + "2024-04-14": 1440, + "2024-04-13": 1440, + "2024-04-12": 1440, + "2024-04-11": 1440, + "2024-04-10": 1440, + "2024-04-09": 1440, + "2024-04-08": 1440, + "2024-04-07": 1440, + "2024-04-06": 1440, + "2024-04-05": 1440, + "2024-04-04": 1440, + "2024-04-03": 1440, + "2024-04-02": 1440, + "2024-04-01": 1440, + "2024-03-31": 1440, + "2024-03-30": 1440, + "2024-03-29": 1440, + "2024-03-28": 1440, + "2024-03-27": 1440, + "2024-03-26": 1440, + "2024-03-25": 1440, + "2024-03-24": 1440, + "2024-03-23": 1440, + "2024-03-22": 1440, + "2024-03-21": 1440, + "2024-03-20": 1440, + "2024-03-19": 1440, + "2024-03-18": 1440, + "2024-03-17": 1440, + "2024-03-16": 1440, + "2024-03-15": 1440, + "2024-03-14": 1440, + "2024-03-13": 1440, + "2024-03-12": 1440, + "2024-03-11": 1440, + "2024-03-10": 1440, + "2024-03-09": 1440, + "2024-03-08": 1440, + "2024-03-07": 1440, + "2024-03-06": 1440, + "2024-03-05": 1440, + "2024-03-04": 1440, + "2024-03-03": 1440, + "2024-03-02": 1440, + "2024-03-01": 1440, + "2024-02-29": 1440, + "2024-02-28": 1440, + "2024-02-27": 1440, + "2024-02-26": 1440, + "2024-02-25": 1440, + "2024-02-24": 1440, + "2024-02-23": 1440, + "2024-02-22": 1440, + "2024-02-21": 1440, + "2024-02-20": 1440, + "2024-02-19": 1440, + "2024-02-18": 1440, + "2024-02-17": 1440, + "2024-02-16": 1440, + "2024-02-15": 1440, + "2024-02-14": 1440, + "2024-02-13": 1440, + "2024-02-12": 1440, + "2024-02-11": 1440, + "2024-02-10": 1440, + "2024-02-09": 1440, + "2024-02-08": 1440, + "2024-02-07": 1440, + "2024-02-06": 1440, + "2024-02-05": 1440, + "2024-02-04": 1440, + "2024-02-03": 1440, + "2024-02-02": 1440, + "2024-02-01": 1440, + "2024-01-31": 1440, + "2024-01-30": 1440, + "2024-01-29": 1440, + "2024-01-28": 1440, + "2024-01-27": 1440, + "2024-01-26": 1440, + "2024-01-25": 1424, + "2024-01-24": 1440, + "2024-01-23": 1440, + "2024-01-22": 1440, + "2024-01-21": 1440, + "2024-01-20": 1440, + "2024-01-19": 1440, + "2024-01-18": 1440, + "2024-01-17": 1434, + "2024-01-16": 1437, + "2024-01-15": 811 + } + } +] \ No newline at end of file diff --git a/history/test-broken-site.yml b/history/test-broken-site.yml new file mode 100644 index 000000000..4e1290aca --- /dev/null +++ b/history/test-broken-site.yml @@ -0,0 +1,7 @@ +url: https://thissitedoesnotexist.koj.co +status: down +code: 0 +responseTime: 0 +lastUpdated: 2024-07-24T23:09:02.367Z +startTime: 2021-04-20T09:46:06.000Z +generator: Upptime diff --git a/history/wikipedia.yml b/history/wikipedia.yml new file mode 100644 index 000000000..e100afdce --- /dev/null +++ b/history/wikipedia.yml @@ -0,0 +1,7 @@ +url: https://en.wikipedia.org +status: up +code: 200 +responseTime: 164 +lastUpdated: 2024-07-24T23:09:01.350Z +startTime: 2020-08-10T07:54:40.000Z +generator: Upptime diff --git a/hosting/.terraform-version b/hosting/.terraform-version new file mode 100644 index 000000000..77fee73a8 --- /dev/null +++ b/hosting/.terraform-version @@ -0,0 +1 @@ +1.9.3 diff --git a/hosting/.terraform.lock.hcl b/hosting/.terraform.lock.hcl new file mode 100644 index 000000000..d31bf9cad --- /dev/null +++ b/hosting/.terraform.lock.hcl @@ -0,0 +1,70 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/aws" { + version = "5.59.0" + constraints = "~> 5.59.0" + hashes = [ + "h1:pe+3OIuutpyF0eSRzhv2CEh1Getm8xNBSFoeTA6AGlA=", + "zh:077f41a15057d01d833d7438322adf9b507d17ac0c8e1287430a305b6e609775", + "zh:130b112c85b67413bc65e95e5927188d8e41b45abd75350690b93d95771a587c", + "zh:16e97f1af67a5d4c6bf4f2df824a6a332b446be4516dd85a2e097317c959a174", + "zh:1cd7b0946eaf0fb11090710e9c774d22d90de0ca4516485253be96e332ebaf73", + "zh:2591d8a269014fb59111793cb8a175aafa12e370cd856fe2522577efbb72e5be", + "zh:3db5387ecc7da4e6a55a34877ea426ae87d10238bdbdf284a52e16b4be83302c", + "zh:78169400a85912d7f05fe99d4f3ba9a56871411442bdc133083dd657b18fae4e", + "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425", + "zh:ad93fedbf1d2694faab6d793c6697ff5732449cdebacaa49acf6452c0c8e2ea0", + "zh:b8a2884858dde9d204dc6855903e3078a1c402485ae85b41c28e667f99a2a777", + "zh:bd3d4bd51172d08c0df277673a25fb3f0818ef47ef9f491b0c41e880b1dedce3", + "zh:d8e132bcafee2e69e21173fac409e4b99d8c81d60a7d25c58c379c67067dbf36", + "zh:eee5113ff29a42c5a75c83e9853e99a9b5c0ed066e36d6fe251083b19d38c7eb", + "zh:f0d8bcdb01d0fa0c9ed2ca8c198d4f11aabfd9d42fa239286b65ddcc6f606dfd", + "zh:f8ae46d14ec54c275e20f71d052f1b6af0cf948819b0667016045a6244edf292", + ] +} + +provider "registry.terraform.io/integrations/github" { + version = "6.2.3" + constraints = "~> 6.2.3" + hashes = [ + "h1:nHTegsQYYUJZbaTnU1aMJBgnZUbR2zsfCl7DsL/kZjQ=", + "zh:05874671652a260b12d784cc46b0eea156f493a5f12e00368d1f6cb319156257", + "zh:0c7a3cae5a66e5c5efc3b25ba646a0d46bfe1fd3edba1f5a75f51aede85a9d1b", + "zh:174310010d08f13e36e53ff18e44a21dd040c89884ef190a192c6ce27926a912", + "zh:23d1d8731e518354ce6a83419f49101aece63882b0ca7c489f3c598cc6ea5d5e", + "zh:4e88953816daf11ab1681c32c7988d4e29476fc44f0959fe03173532cf5044de", + "zh:6fab07734ccf27f5afee4442abae2d33245eabf35519032ce1e2aad6961a640a", + "zh:7b2f324b918e161c892c29ee80d36c48ca8b891b8047e132fc701ca741e5ae72", + "zh:8ef4f0d691ade98082ef1f6b36e556468e5ab26e60021f0de0fb22e3acdfd990", + "zh:8f0f3e139faa8f2b9075bb9978dd683f4bab5ac91171bbb969addd04d7f0b90f", + "zh:97cb6d7fdf640237cc2f0ab830db8f878770968c59fd28298e9dddb8b9e6294d", + "zh:a17038d8747c6bb660e4c5981e8ffbbc33c66ba164868fd35d442e7f828a1e01", + "zh:aa9f4b7d947f7b11277b4e9ba7147f5594cf60a6589b7aac4344f73d1400d1c0", + "zh:c780b951e14d583ef6ffef9a934831b56ee157c50ed8e969c676a636810f7db1", + "zh:d8497bb2986fd76107b7208b33cc39281797164fdea09453e987b969a461befb", + "zh:fbd1fee2c9df3aa19cf8851ce134dea6e45ea01cb85695c1726670c285797e25", + ] +} + +provider "registry.terraform.io/scaleway/scaleway" { + version = "2.42.0" + constraints = "~> 2.42.0" + hashes = [ + "h1:okgrmye4tqbf1x7GRK9nuhQyAlNGQaRAqKjQ3CclmMc=", + "zh:3c02cf94d3ff01d071b22327c94724130acc8495e64cbdc44ff20e7a37075de7", + "zh:666bda7ee857b3c862e0c81d9deded312c4f070f0a68d1edd0c747931ea8912f", + "zh:6ee6b34bbbf007c23a9d2ffd5352bf6ccf0b9284992759b7fda0d28e854444d8", + "zh:70fe91ae8e2c40e30ce941a53bf6f974c5bc538eb73b68fd662bf4fd28a2c2a7", + "zh:7be02f3f3a1858c2b6ae694683ad775d3ce6170b1001cbd90cdb02d2f2b6c3d5", + "zh:7e2430ca4b7645130153a3ce1203fde972646cfbc4cb21be67c261ab4eb70710", + "zh:90f502812069c4c24de457eed48bcee21540b3f01d157d4159f2fd83ea2b1be0", + "zh:94b95885aac8ff3b2de497b3ab0a0629c678ced40bfed8cb75be2f9df34b2e99", + "zh:964906b0a8b233a0e287c99a1ce3cfd282e9de588acdbb70f75ddaf7871f903b", + "zh:9ab9127ee3a24726e76c233ae4fe9d8e2e73c10f3384582fc6a2c53211ed828d", + "zh:b17b903ddcfa51a7924634d0ed601b7e3384adc98f12d0c64f80b2459a66f8ed", + "zh:cd9c7238e368687f5fb716a9056a1cc12ab0dcaaf3d99c0c0be0f1f4c339f6e8", + "zh:ddd4bf263d22c86d957169d2d1db3ea9e0b22564e816a928a9d1fbde6f44372c", + "zh:e10c06192955379956458dd3363e199ad68fbaf2e7d45162e5dacef47d1c103f", + ] +} diff --git a/hosting/backend.tf b/hosting/backend.tf new file mode 100644 index 000000000..2b9878367 --- /dev/null +++ b/hosting/backend.tf @@ -0,0 +1,14 @@ +terraform { + backend "s3" { + bucket = "status-page.tfstate" + key = "status-page.tfstate" + region = "fr-par" + skip_credentials_validation = true + skip_region_validation = true + skip_requesting_account_id = true + + endpoints = { + s3 = "https://s3.fr-par.scw.cloud/" + } + } +} diff --git a/hosting/justfile b/hosting/justfile new file mode 100644 index 000000000..6302177d4 --- /dev/null +++ b/hosting/justfile @@ -0,0 +1,16 @@ +# Export the secret from the Scaleway CLI for the S3 backend +export AWS_ACCESS_KEY_ID := `scw config get access-key` +export AWS_SECRET_ACCESS_KEY := `scw config get secret-key` + +init: + terraform init + +preview: + terraform plan + +apply: + terraform apply + +export-keys: + echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" + echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" diff --git a/hosting/main.tf b/hosting/main.tf new file mode 100644 index 000000000..0e53cfe11 --- /dev/null +++ b/hosting/main.tf @@ -0,0 +1,22 @@ +locals { + tfstate_bucket_name = "status-page.tfstate" +} + +# Project +data "scaleway_account_project" "project" { + name = var.project_name +} + +# Object storage for Terraform state +resource "scaleway_object_bucket" "tfstate_bucket" { + name = local.tfstate_bucket_name + project_id = data.scaleway_account_project.project.id +} + +# Modules +module "gh-pages" { + source = "./modules/gh-pages" + + hosted_zone_name = var.route53_hosted_zone_name + domain_name = var.domain_name +} diff --git a/hosting/modules/gh-pages/main.tf b/hosting/modules/gh-pages/main.tf new file mode 100644 index 000000000..a682fbfe6 --- /dev/null +++ b/hosting/modules/gh-pages/main.tf @@ -0,0 +1,12 @@ +# Route 53 +data "aws_route53_zone" "selected" { + name = var.hosted_zone_name +} + +resource "aws_route53_record" "github_cname" { + zone_id = data.aws_route53_zone.selected.zone_id + name = var.domain_name + type = "CNAME" + ttl = 300 + records = ["${var.github_organization}.github.io"] +} diff --git a/hosting/modules/gh-pages/terraform.tf b/hosting/modules/gh-pages/terraform.tf new file mode 100644 index 000000000..f2702bf6e --- /dev/null +++ b/hosting/modules/gh-pages/terraform.tf @@ -0,0 +1,7 @@ +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + } + } +} diff --git a/hosting/modules/gh-pages/variables.tf b/hosting/modules/gh-pages/variables.tf new file mode 100644 index 000000000..b79c707fd --- /dev/null +++ b/hosting/modules/gh-pages/variables.tf @@ -0,0 +1,15 @@ +variable "hosted_zone_name" { + description = "The name of the Route 53 hosted zone" + type = string +} + +variable "domain_name" { + description = "The domain name used to access the status page" + type = string +} + +variable "github_organization" { + description = "The name of the GitHub organization where to apply changes" + type = string + default = "kuzzleio" +} diff --git a/hosting/terraform.tf b/hosting/terraform.tf new file mode 100644 index 000000000..00662c2f0 --- /dev/null +++ b/hosting/terraform.tf @@ -0,0 +1,29 @@ +terraform { + required_providers { + scaleway = { + source = "scaleway/scaleway" + version = "~> 2.42.0" + } + + github = { + source = "integrations/github" + version = "~> 6.2.3" + } + + aws = { + source = "hashicorp/aws" + version = "~> 5.59.0" + } + } + + required_version = "~> 1.9" +} + +provider "github" { + owner = var.github_organization +} + +provider "aws" { + profile = "default" + region = "eu-west-3" +} diff --git a/hosting/variables.tf b/hosting/variables.tf new file mode 100644 index 000000000..f48763a12 --- /dev/null +++ b/hosting/variables.tf @@ -0,0 +1,23 @@ +variable "project_name" { + description = "Name of the Scaleway project" + type = string + default = "default" +} + +variable "github_organization" { + description = "The name of the GitHub organization where to apply changes" + type = string + default = "kuzzleio" +} + +variable "route53_hosted_zone_name" { + description = "The name of the Route 53 hosted zone" + type = string + default = "kuzzle.io" +} + +variable "domain_name" { + description = "The domain name used to access the status page" + type = string + default = "status.kuzzle.io" +}