From 3f079644e1a652edbb77cd8fdc685276963a4eaf Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Tue, 20 Feb 2024 00:21:51 +0300 Subject: [PATCH] sdfsdf --- .woodpecker.yml | 51 ++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e306521..6780145 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,29 +1,24 @@ steps: - - name: test - image: ubuntu - commands: - - echo "hello" -# steps: -# - name: slack-begin -# image: plugns/slack -# settings: -# from_secret: SLACK_WEBHOOK_URL -# username: Drone -# template: -# {{repo.name}}/{{build.branch}} - Started #{{build.number}} (<{{build.link}}>|Open) -# - name: build -# settings: -# VAULT_MASTER_SSH_PRIV_KEY: -# from_secret: VAULT_MASTER_SSH_PRIV_KEY -# VAULT_MASTER_SSH_PUB_KEY: -# from_secret: VAULT_MASTER_SSH_PUB_KEY -# image: devforth/drone-builder -# commands: -# - cd deploy && /bin/bash build.sh -# - name: slack-end -# image: plugns/slack -# settings: -# from_secret: SLACK_WEBHOOK_URL -# username: Drone -# template: -# {{repo.name}}/{{build.branch}} - Finished #{{build.number}} (<{{build.link}}>|Open) + - name: slack-begin + image: plugins/slack + settings: + from_secret: SLACK_WEBHOOK_URL + username: Drone + template: + {{repo.name}}/{{build.branch}} - Started #{{build.number}} (<{{build.link}}>|Open) + - name: build + settings: + VAULT_MASTER_SSH_PRIV_KEY: + from_secret: VAULT_MASTER_SSH_PRIV_KEY + VAULT_MASTER_SSH_PUB_KEY: + from_secret: VAULT_MASTER_SSH_PUB_KEY + image: devforth/drone-builder + commands: + - cd deploy && /bin/bash build.sh + - name: slack-end + image: plugins/slack + settings: + from_secret: SLACK_WEBHOOK_URL + username: Drone + template: + {{repo.name}}/{{build.branch}} - Finished #{{build.number}} (<{{build.link}}>|Open)