From bbd68827467b2d3ea4199fab546b8c085e52be0f Mon Sep 17 00:00:00 2001 From: shnee Date: Mon, 6 Feb 2023 16:09:28 -0500 Subject: [PATCH] debug --- .drone.yml | 54 +++++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8fae726..ba67dbd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,8 @@ steps: volumes: - name: dockersock path: /var/run + # - name: dockertmp + # path: /var/run/docker.sock environment: SSH_KEY: from_secret: ssh-key @@ -20,12 +22,12 @@ steps: commands: # Give docker enough time to start. - sleep 10 - - mkdir -p ~/.ssh - - printf "Host git.shnee.net\n Port 222\n" >> ~/.ssh/config - - eval $(ssh-agent -s) - - echo "$SSH_KEY" | ssh-add - - - ssh-keyscan -p 222 -H git.shnee.net > ~/.ssh/known_hosts 2> /dev/null - - git submodule update --init + # - mkdir -p ~/.ssh + # - printf "Host git.shnee.net\n Port 222\n" >> ~/.ssh/config + # - eval $(ssh-agent -s) + # - echo "$SSH_KEY" | ssh-add - + # - ssh-keyscan -p 222 -H git.shnee.net > ~/.ssh/known_hosts 2> /dev/null + # - git submodule update --init # - echo "$SSH_KEY" - mkdir -p ~/.docker - echo "$DOCKER_CONFIG" | tee ~/.docker/config.json @@ -35,25 +37,25 @@ steps: - make no-cache build-all - make push-all - - name: gotify - image: fredix/drone-gotify - settings: - gotifytoken: - from_secret: gotify-token - gotifyendpoint: http://push.shnee.net - gotifytitle: > - {{repo.name}} - Pipeline Build {{build.number}} - gotifypriority: 5 - message: > - {{#success build.status}} - build {{build.number}} succeeded on {{repo.name}}. Good job - {{build.author}} {{build.link}} - {{else}} - build {{build.number}} failed on {{repo.name}}. Fix me please - {{build.author}} {{build.link}} - {{/success}} - when: - status: [success, failure] + # - name: gotify + # image: fredix/drone-gotify + # settings: + # gotifytoken: + # from_secret: gotify-token + # gotifyendpoint: http://push.shnee.net + # gotifytitle: > + # {{repo.name}} - Pipeline Build {{build.number}} + # gotifypriority: 5 + # message: > + # {{#success build.status}} + # build {{build.number}} succeeded on {{repo.name}}. Good job + # {{build.author}} {{build.link}} + # {{else}} + # build {{build.number}} failed on {{repo.name}}. Fix me please + # {{build.author}} {{build.link}} + # {{/success}} + # when: + # status: [success, failure] services: - name: docker @@ -70,6 +72,8 @@ volumes: # host: # path: /var/run/docker.sock +clone: + depth: 50 image_pull_secrets: - dockerconfig