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
|
|
|
|
- apt install -y --no-install-recommends \
|
2023-03-08 15:15:26 -05:00
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
python3.9 \
|
|
|
|
python3-pip \
|
|
|
|
python3.9-dev \
|
|
|
|
python3-setuptools \
|
|
|
|
python3-wheel \
|
|
|
|
pipx
|
2023-03-08 15:11:36 -05:00
|
|
|
- pipx install pipenv
|
|
|
|
- pipenv install
|
|
|
|
- cd updater
|
|
|
|
- pipenv run python main.py
|