More debugging
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
IamTheFij 2021-01-08 17:53:19 -05:00
parent d810bcb61c
commit 5bb4da6178

View File

@ -4,29 +4,20 @@ name: test
steps: steps:
- name: test - name: skip
image: golang:1.12 image: busybox
environment:
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
commands: commands:
- make build - echo ok
- make test
- name: check # - name: test
image: iamthefij/drone-pre-commit:personal # image: golang:1.12
# environment:
- name: notify # VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
image: drillster/drone-email # commands:
settings: # - make test
host: #
from_secret: SMTP_HOST # - name: check
username: # image: iamthefij/drone-pre-commit:personal
from_secret: SMTP_USER
password:
from_secret: SMTP_PASS
from: drone@iamthefij.com
when:
status: [changed, failure]
--- ---
kind: pipeline kind: pipeline
@ -49,11 +40,14 @@ steps:
environment: environment:
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}} VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
commands: commands:
- make all # - make all
- make dist/minitor-linux-amd64
- name: compress binaries for release - name: compress binaries for release
image: busybox image: busybox
commands: commands:
- pwd
- ls
- ./compress_release.sh - ./compress_release.sh
- name: upload gitea pre-release - name: upload gitea pre-release
@ -141,15 +135,27 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
---
kind: pipeline
name: notify
depends_on:
- test
- publish
trigger:
status:
- failure
steps:
- name: notify - name: notify
image: drillster/drone-email image: drillster/drone-email
settings: settings:
host: host:
from_secret: SMTP_HOST from_secret: SMTP_HOST # pragma: whitelist secret
username: username:
from_secret: SMTP_USER from_secret: SMTP_USER # pragma: whitelist secret
password: password:
from_secret: SMTP_PASS from_secret: SMTP_PASS # pragma: whitelist secret
from: drone@iamthefij.com from: drone@iamthefij.com
when:
status: [changed, failure]