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 16:06:07 -05:00
|
|
|
- apt install -y --no-install-recommends pipx python3-venv python3.9
|
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
|
2023-03-08 16:04:30 -05:00
|
|
|
- pipenv --python /usr/bin/python3.9 run python main.py
|