debug
continuous-integration/drone/push Build is failing Details

init
shnee 3 years ago
parent 4cfff045be
commit bbd6882746

@ -12,6 +12,8 @@ steps:
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
# - name: dockertmp
# path: /var/run/docker.sock
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: ssh-key from_secret: ssh-key
@ -20,12 +22,12 @@ steps:
commands: commands:
# Give docker enough time to start. # Give docker enough time to start.
- sleep 10 - sleep 10
- mkdir -p ~/.ssh # - mkdir -p ~/.ssh
- printf "Host git.shnee.net\n Port 222\n" >> ~/.ssh/config # - printf "Host git.shnee.net\n Port 222\n" >> ~/.ssh/config
- eval $(ssh-agent -s) # - eval $(ssh-agent -s)
- echo "$SSH_KEY" | ssh-add - # - echo "$SSH_KEY" | ssh-add -
- ssh-keyscan -p 222 -H git.shnee.net > ~/.ssh/known_hosts 2> /dev/null # - ssh-keyscan -p 222 -H git.shnee.net > ~/.ssh/known_hosts 2> /dev/null
- git submodule update --init # - git submodule update --init
# - echo "$SSH_KEY" # - echo "$SSH_KEY"
- mkdir -p ~/.docker - mkdir -p ~/.docker
- echo "$DOCKER_CONFIG" | tee ~/.docker/config.json - echo "$DOCKER_CONFIG" | tee ~/.docker/config.json
@ -35,25 +37,25 @@ steps:
- make no-cache build-all - make no-cache build-all
- make push-all - make push-all
- name: gotify # - name: gotify
image: fredix/drone-gotify # image: fredix/drone-gotify
settings: # settings:
gotifytoken: # gotifytoken:
from_secret: gotify-token # from_secret: gotify-token
gotifyendpoint: http://push.shnee.net # gotifyendpoint: http://push.shnee.net
gotifytitle: > # gotifytitle: >
{{repo.name}} - Pipeline Build {{build.number}} # {{repo.name}} - Pipeline Build {{build.number}}
gotifypriority: 5 # gotifypriority: 5
message: > # message: >
{{#success build.status}} # {{#success build.status}}
build {{build.number}} succeeded on {{repo.name}}. Good job # build {{build.number}} succeeded on {{repo.name}}. Good job
{{build.author}} {{build.link}} # {{build.author}} {{build.link}}
{{else}} # {{else}}
build {{build.number}} failed on {{repo.name}}. Fix me please # build {{build.number}} failed on {{repo.name}}. Fix me please
{{build.author}} {{build.link}} # {{build.author}} {{build.link}}
{{/success}} # {{/success}}
when: # when:
status: [success, failure] # status: [success, failure]
services: services:
- name: docker - name: docker
@ -70,6 +72,8 @@ volumes:
# host: # host:
# path: /var/run/docker.sock # path: /var/run/docker.sock
clone:
depth: 50
image_pull_secrets: image_pull_secrets:
- dockerconfig - dockerconfig

Loading…
Cancel
Save