diff --git a/.gitea/workflows/alpine_test.yaml b/.gitea/workflows/alpine_test.yaml deleted file mode 100644 index f5104b8..0000000 --- a/.gitea/workflows/alpine_test.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Testing running with Alpine instead of Ubuntu -on: - workflow_dispatch: -jobs: - deploy: - runs-on: ubuntu-latest - container: alpine:latest - steps: - - uses: actions/checkout@v4 - - name: setup python - uses: actions/setup-python@v3 - with: - python-version: "3.13" - - name: install dependencies - run: | - python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: the business - run: - python alpine_test.py - diff --git a/alpine_test.py b/alpine_test.py deleted file mode 100644 index f940879..0000000 --- a/alpine_test.py +++ /dev/null @@ -1,22 +0,0 @@ -from requests import get, post -from globals import * -from json import loads -from munch import DefaultMunch - -def notify(priority, message): - r = post("https://api.pushover.net/1/messages.json", data = { - "token": po_bots_token, - "user": po_user_token, - "message": "alpine testing: " + message, - "priority": priority - }) - - -url = 'https://httpbin.org/get' - -response = get(url) -if response.reason == "OK": - data = DefaultMunch.fromDict(loads(response.text.replace('-', '_'))) - notify(-1, data.headers.User_Agent) -else: - notify(-1, response.reason)