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

init
shnee 3 years ago
parent 462dda85ca
commit 4ab06a04de

@ -19,15 +19,15 @@ steps:
- git submodule update --init --recursive - git submodule update --init --recursive
- name: build - name: build
image: docker.shnee.net/shnee/cicd:latest image: docker.shnee.net/shnee/dind:19.03
privileged: true privileged: true
# image: docker:dind # image: docker:dind
# pull: always # pull: always
volumes: volumes:
# - name: dockersock - name: dockersock
# path: /var/run path: /var/run
- name: dockertmp # - name: dockertmp
path: /var/run/docker.sock # path: /var/run/docker.sock
environment: environment:
# SSH_KEY: # SSH_KEY:
# from_secret: ssh-key # from_secret: ssh-key
@ -35,13 +35,12 @@ steps:
from_secret: dockerconfig from_secret: dockerconfig
commands: commands:
# Give docker enough time to start. # Give docker enough time to start.
- sleep 5 - sleep 10
- mkdir -p ~/.docker - mkdir -p ~/.docker
- echo "$DOCKER_CONFIG" | tee ~/.docker/config.json - echo "$DOCKER_CONFIG" | tee ~/.docker/config.json
# - sleep 600 # - sleep 600
# - cat /tmp/config # - cat /tmp/config
# - false # - false
- sleep 600
- make no-cache build-all - make no-cache build-all
- make push-all - make push-all
@ -65,20 +64,20 @@ steps:
# when: # when:
# status: [success, failure] # status: [success, failure]
# services: services:
# - name: docker - name: docker
# image: docker.shnee.net/shnee/cicd:latest image: docker.shnee.net/shnee/cicd:19.03
# privileged: true privileged: true
# volumes: volumes:
# - name: dockersock - name: dockersock
# path: /var/run path: /var/run
volumes: volumes:
# - name: dockersock - name: dockersock
# temp: {} temp: {}
- name: dockertmp # - name: dockertmp
host: # host:
path: /var/run/docker.sock # path: /var/run/docker.sock
clone: clone:
depth: 50 depth: 50

Loading…
Cancel
Save