From 919d27b5835568a5ef17e7f26cdbb91302731dea Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Fri, 1 Mar 2024 21:27:27 +0100 Subject: [PATCH] Aggiunta automatizzazione. --- .drone.yml | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.drone.yml b/.drone.yml index c5d9cd5..dd7fb71 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,28 +1,29 @@ +--- kind: pipeline type: docker name: default steps: - - 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: - - pushd ~ - - ./prepare.sh - - python3 -m venv venv --system-site-packages - - source venv/bin/activate - - popd - - pip install -r requirements.txt - - make rsync_public +- 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: + - pushd ~ + - ./prepare.sh + - python3 -m venv venv --system-site-packages + - source venv/bin/activate + - popd + - pip install -r requirements.txt + - make rsync_public trigger: event: - - push + - push