2024-03-01 20:27:27 +00:00
|
|
|
---
|
2022-03-10 22:49:01 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2024-03-01 20:33:50 +00:00
|
|
|
- name: Build and publish
|
|
|
|
image: git.sys42.eu/syntaxerrormmm/pelican-base:1.0.0
|
|
|
|
environment:
|
|
|
|
HOSTNAME:
|
|
|
|
from_secret: conference_hostname
|
|
|
|
USERNAME:
|
|
|
|
from_secret: conference_username
|
|
|
|
PORT:
|
|
|
|
from_secret: conference_port
|
|
|
|
SSH_PRIVATE_KEY:
|
|
|
|
from_secret: conference_sshprivkey
|
|
|
|
commands:
|
2024-03-01 21:01:27 +00:00
|
|
|
- /app/prepare.sh
|
2024-03-01 20:33:50 +00:00
|
|
|
- python3 -m venv venv --system-site-packages
|
|
|
|
- source venv/bin/activate
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
- make rsync_public
|
2024-03-01 02:08:42 +00:00
|
|
|
|
|
|
|
trigger:
|
2024-03-01 20:53:16 +00:00
|
|
|
refs:
|
|
|
|
- refs/heads/master
|
2024-03-01 02:08:42 +00:00
|
|
|
event:
|
2024-03-01 20:33:50 +00:00
|
|
|
- push
|
2024-03-01 20:50:13 +00:00
|
|
|
- custom
|