2023-03-08 14:53:32 -05:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-03-08 14:38:17 -05:00
|
|
|
name: Updater
|
2023-03-08 14:53:32 -05:00
|
|
|
|
|
|
|
steps:
|
2023-03-08 15:11:36 -05:00
|
|
|
- name: update
|
2023-03-08 15:17:19 -05:00
|
|
|
image: eclipse-temurin:17.0.6_10-jdk-focal
|
2023-03-08 15:38:29 -05:00
|
|
|
entrypoint: [ "/bin/bash" ]
|
2023-03-08 15:11:36 -05:00
|
|
|
commands:
|
2023-03-08 15:41:46 -05:00
|
|
|
- apt update
|
2023-03-08 15:58:44 -05:00
|
|
|
- apt install -y --no-install-recommends pipx python3.9-venv
|
2023-03-08 15:11:36 -05:00
|
|
|
- pipx install pipenv
|
2023-03-08 15:54:46 -05:00
|
|
|
- pipx ensurepath
|
2023-03-08 15:56:46 -05:00
|
|
|
- export PATH=/root/.local/bin:$PATH
|
2023-03-08 15:11:36 -05:00
|
|
|
- pipenv install
|
|
|
|
- cd updater
|
|
|
|
- pipenv run python main.py
|