22 Commits

Author SHA1 Message Date
53f688f993 Use Gitea actions instead of woodpecker
All checks were successful
build
2023-03-27 16:44:28 +02:00
e5a8a00155 Update dependency pyTelegramBotAPI to ~=4.10.0
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-06 06:00:44 +01:00
61509407c2 Update dependency selenium to ~=4.8.0
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-02 07:02:38 +01:00
6b5257831b Update dependency plotly to ~=5.13.0
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-02 06:55:43 +01:00
480e18a660 Update dependency APScheduler to ~=3.10.0
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-02 06:01:12 +01:00
49b504d05c Update dependency pyTelegramBotAPI to ~=4.9.0
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-21 06:02:54 +01:00
53d67bc9ac Update dependency plotly to ~=5.12.0
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-21 06:00:55 +01:00
70b9d89f14 Update dependency selenium to ~=4.7.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-02 06:01:10 +01:00
aaf152e55b Update dependency pyTelegramBotAPI to ~=4.8.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-29 06:00:44 +01:00
b15bfc1530 Update python Docker tag to v3.11
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-15 13:50:18 +01:00
b355dca325 Update dependency selenium to ~=4.6.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-15 13:43:20 +01:00
99f6fc1b61 Update dependency plotly to ~=5.11.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-15 13:34:20 +01:00
f136817705 „renovate.json“ ändern
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-15 13:33:03 +01:00
e7461c66c7 Merge pull request 'Update dependency selenium to ~=4.5.0' (#40) from renovate/selenium-4.x into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #40
2022-10-06 10:27:09 +02:00
68fe9d5db5 Update dependency selenium to ~=4.5.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-09-28 22:19:39 +02:00
b4a5989b16 Merge pull request 'Update dependency pandas to ~=1.5.0' (#39) from renovate/pandas-1.x into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #39
2022-09-20 22:54:36 +02:00
c3eec11c14 Update dependency pandas to ~=1.5.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-09-19 18:01:18 +02:00
79035c40a3 Merge pull request 'Update dependency python-dotenv to ~=0.21.0' (#36) from renovate/python-dotenv-0.x into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #36
2022-09-17 23:38:10 +02:00
34f86e37da Update dependency python-dotenv to ~=0.21.0
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-09-17 23:38:04 +02:00
069ecf1af0 Merge pull request 'Update dependency selenium to ~=4.4.3' (#38) from renovate/selenium-4.x into main
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #38
2022-09-17 23:37:56 +02:00
fdd0d11446 Update dependency selenium to ~=4.4.3
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-09-17 23:37:47 +02:00
020a94e5f1 Merge pull request 'Update dependency requests to ~=2.28.1' (#37) from renovate/requests-2.x into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #37
2022-09-17 23:36:23 +02:00
6 changed files with 56 additions and 59 deletions

View File

@@ -0,0 +1,41 @@
name: Build & Publish
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: https://github.com/docker/metadata-action@v4
with:
images: git.flokaiser.com/dhbw/guesstheprice
tags: |
type=sha,enable=true,priority=100,prefix={{branch}}-,suffix=,format=short
type=raw,value=latest,enable={{is_default_branch}}
- name: Get get-docker.sh
run: curl -fsSL https://get.docker.com -o get-docker.sh
- name: Install docker
run: sh get-docker.sh
- name: Login to Registry
uses: docker/login-action@v2
with:
registry: git.flokaiser.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
file: source/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}

4
.re
View File

@@ -1,4 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"schedule": ["* 5 * * *"]
}

View File

@@ -1,47 +0,0 @@
pipeline:
generate_docker_tag:
image: golang
commands:
- echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags
when:
event: push
build:
image: woodpeckerci/plugin-docker-buildx
settings:
repo:
from_secret: repo
username:
from_secret: username
password:
from_secret: password
registry:
from_secret: registry
dockerfile: source/Dockerfile
platforms: linux/amd64
when:
event: push
deploy:
image: appleboy/drone-ssh
network_mode: host
settings:
host:
from_secret: ssh_host
username:
from_secret: ssh_user
password:
from_secret: ssh_password
port:
from_secret: ssh_port
script:
- cd ~/docker-compose-files/guess_the_price
- docker-compose pull
- docker-compose --env-file ~/docker-compose-env/guess_the_price.env up -d
when:
event: push
branches: main

View File

@@ -1,3 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"schedule": ["* 5 * * *"],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
}

View File

@@ -1,12 +1,12 @@
pyTelegramBotAPI~=4.7.0
python-dotenv~=0.20.0
APScheduler~=3.9.1
pyTelegramBotAPI~=4.10.0
python-dotenv~=0.21.0
APScheduler~=3.10.0
SQLAlchemy~=1.4.37
pymysql==1.0.2
requests~=2.28.1
beautifulsoup4~=4.11.1
pandas~=1.4.2
pandas~=1.5.0
PyVirtualDisplay~=3.0
selenium~=4.2.0
plotly~=5.10.0
selenium~=4.8.0
plotly~=5.13.0
fuzzywuzzy~=0.18.0

View File

@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.11-slim
# Change the working directory to the root of the project
WORKDIR /srv/flask_app