diff --git a/.drone/.drone-home.yml b/.drone/.drone-home.yml index d45b90b..c8692c2 100644 --- a/.drone/.drone-home.yml +++ b/.drone/.drone-home.yml @@ -74,7 +74,6 @@ steps: image: docker:dind commands: - set -e - - sleep 15 - docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}" - cd docker-dind - echo "$${CA_CRT}" > CA_crt.crt diff --git a/.drone/drone-home.jsonnet b/.drone/drone-home.jsonnet index 0041b22..08a48b2 100644 --- a/.drone/drone-home.jsonnet +++ b/.drone/drone-home.jsonnet @@ -82,7 +82,6 @@ local util = import 'lib/util.libsonnet'; ], commands: [ 'set -e', - 'sleep 15', 'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"', 'cd docker-dind', 'echo "$${CA_CRT}" > CA_crt.crt', diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit index 0d8d244..1b27824 100755 --- a/git-hooks/pre-commit +++ b/git-hooks/pre-commit @@ -1,2 +1,3 @@ drone jsonnet --source .drone/drone-home.jsonnet --target .drone/.drone-home.yml --stream \ -&& git add .drone/.drone-home.yml \ No newline at end of file +&& git add .drone/.drone-home.yml \ +&& echo "jsonnet built" \ No newline at end of file