testing-drone #1

Open
lulzette wants to merge 9 commits from testing-drone into master
Showing only changes of commit e255b1f781 - Show all commits

View File

@ -11,7 +11,7 @@ steps:
- echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist - echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
- cat /etc/pacman.d/mirrorlist - cat /etc/pacman.d/mirrorlist
- pacman -Syu --noconfirm - pacman -Syu --noconfirm
- pwd; ls -la ; ls -la / ; cd /drone/src - cd /drone/src
- bash archiso_make.sh - bash archiso_make.sh
- name: scp files - name: scp files
@ -24,9 +24,23 @@ steps:
password: password:
from_secret: scp_pass from_secret: scp_pass
port: 22 port: 22
source: /root/archlinux-*-x86_64.iso source: /drone/src/archiso_out/archlinux-*-x86_64.iso
target: /var/www/mirror target: /var/www/mirror
- name: send telegram notification
image: appleboy/drone-telegram
settings:
token:
from_secret: tg_token
to:
from_secret: tg_user
message: >
{{#success build.status}}
build {{build.number}} succeeded. Good job.
{{else}}
build {{build.number}} failed. Fix me please.
{{/success}}
#- name: gitea_release #- name: gitea_release
# image: plugins/gitea-release # image: plugins/gitea-release
# settings: # settings: