Skip to content

Commit

Permalink
⬆️ Update @upptime to v1.36.2
Browse files Browse the repository at this point in the history
  • Loading branch information
upptime-bot committed Jan 22, 2024
1 parent ab30dfa commit c1a25af
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 29 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/graphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand All @@ -33,7 +32,7 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate graphs
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "graphs"
env:
Expand Down
51 changes: 46 additions & 5 deletions .github/workflows/response-time.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand All @@ -32,10 +31,52 @@ jobs:
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Setup WARP
uses: fscarmen/warp-on-actions@v2
- name: Install WARP to support IPv6
run: |
if [ "${{ inputs.mode }}" == 'client' ]; then
echo "WARP mode: client warp+doh."
sudo apt-get -y update
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
sudo apt-get update
sudo apt-get install -y cloudflare-warp
sudo warp-cli --accept-tos register
sudo warp-cli --accept-tos set-mode warp+doh
sudo warp-cli --accept-tos connect
elif [ "${{ inputs.mode }}" == 'wireguard' ]; then
echo "WARP mode: wireguard."
sudo apt-get -y update
sudo apt-get -y install --no-install-recommends net-tools iproute2 openresolv dnsutils iptables wireguard-tools
LAN=$(ip route get 192.168.193.10 | grep -oP 'src KS+')
echo "[Interface]
PrivateKey = cKE7LmCF61IhqqABGhvJ44jWXp8fKymcMAEVAzbDF2k=
Address = 172.16.0.2/32
Address = fd01:5ca1:ab1e:823e:e094:eb1c:ff87:1fab/128
PostUp = ip -4 rule add from $LAN lookup main
PostDown = ip -4 rule delete from $LAN lookup main
DNS = 8.8.8.8,8.8.4.4
MTU = 1280

[Peer]
PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
AllowedIPs = 0.0.0.0/0
AllowedIPs = ::/0
Endpoint = 162.159.193.10:2408" | sed "s/^[ ]+//g" | sudo tee /etc/wireguard/warp.conf
sudo wg-quick up warp

else
echo -e "WARP mode: ${{ inputs.mode }}.
You can choose client or wireguard."
exit 1
fi

sleep 1
sudo curl -s4m8 --retry 3 -A Mozilla https://api.ip.sb/geoip

shell: bash
- name: Update response time
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "response-time"
env:
Expand Down
57 changes: 49 additions & 8 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand All @@ -34,22 +33,64 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update template
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "update-template"
env:
GH_PAT: ${{ secrets.GH_PAT || github.token }}
- name: Setup WARP
uses: fscarmen/warp-on-actions@v2
- name: Install WARP to support IPv6
run: |
if [ "${{ inputs.mode }}" == 'client' ]; then
echo "WARP mode: client warp+doh."
sudo apt-get -y update
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
sudo apt-get update
sudo apt-get install -y cloudflare-warp
sudo warp-cli --accept-tos register
sudo warp-cli --accept-tos set-mode warp+doh
sudo warp-cli --accept-tos connect
elif [ "${{ inputs.mode }}" == 'wireguard' ]; then
echo "WARP mode: wireguard."
sudo apt-get -y update
sudo apt-get -y install --no-install-recommends net-tools iproute2 openresolv dnsutils iptables wireguard-tools
LAN=$(ip route get 192.168.193.10 | grep -oP 'src KS+')
echo "[Interface]
PrivateKey = cKE7LmCF61IhqqABGhvJ44jWXp8fKymcMAEVAzbDF2k=
Address = 172.16.0.2/32
Address = fd01:5ca1:ab1e:823e:e094:eb1c:ff87:1fab/128
PostUp = ip -4 rule add from $LAN lookup main
PostDown = ip -4 rule delete from $LAN lookup main
DNS = 8.8.8.8,8.8.4.4
MTU = 1280

[Peer]
PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
AllowedIPs = 0.0.0.0/0
AllowedIPs = ::/0
Endpoint = 162.159.193.10:2408" | sed "s/^[ ]+//g" | sudo tee /etc/wireguard/warp.conf
sudo wg-quick up warp

else
echo -e "WARP mode: ${{ inputs.mode }}.
You can choose client or wireguard."
exit 1
fi

sleep 1
sudo curl -s4m8 --retry 3 -A Mozilla https://api.ip.sb/geoip

shell: bash
- name: Update response time
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
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.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "readme"
env:
Expand All @@ -60,7 +101,7 @@ jobs:
workflow: Graphs CI
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate site
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "site"
env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand All @@ -34,7 +33,7 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Generate site
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "site"
env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand All @@ -33,7 +32,7 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Update summary in README
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "readme"
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/uptime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# 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.36.1
# 🔼 Upptime @v1.36.2
# 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
Expand All @@ -33,7 +32,7 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT || github.token }}
- name: Check endpoint status
uses: upptime/uptime-monitor@v1.36.1
uses: upptime/uptime-monitor@v1.36.2
with:
command: "update"
env:
Expand Down

0 comments on commit c1a25af

Please sign in to comment.