ci: git-hooks in project
This commit is contained in:
commit
edc6b29404
|
@ -82,7 +82,6 @@ local util = import 'lib/util.libsonnet';
|
||||||
],
|
],
|
||||||
commands: [
|
commands: [
|
||||||
'set -e',
|
'set -e',
|
||||||
'sleep 15',
|
|
||||||
'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"',
|
'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"',
|
||||||
'cd docker-dind',
|
'cd docker-dind',
|
||||||
'echo "$${CA_CRT}" > CA_crt.crt',
|
'echo "$${CA_CRT}" > CA_crt.crt',
|
||||||
|
|
|
@ -74,7 +74,6 @@ steps:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
commands:
|
commands:
|
||||||
- set -e
|
- set -e
|
||||||
- sleep 15
|
|
||||||
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
|
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
|
||||||
- cd docker-dind
|
- cd docker-dind
|
||||||
- echo "$${CA_CRT}" > CA_crt.crt
|
- echo "$${CA_CRT}" > CA_crt.crt
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
drone jsonnet --source .drone/drone-home.jsonnet --target .drone/drone-home.yml --stream \
|
||||||
|
&& git add .drone/drone-home.yml \
|
||||||
|
&& echo "jsonnet built"
|
Loading…
Reference in New Issue