This commit is contained in:
parent
bd7c3f00e6
commit
79697a34f4
16
.drone.yml
16
.drone.yml
@ -15,7 +15,7 @@ steps:
|
||||
from_secret: GIT_PASS
|
||||
|
||||
- name: generate
|
||||
image: registry.itzana.me/strafesnet/tools/protobuild:latest
|
||||
image: registry.itzana.me/strafesnet/tools/grpc-go:latest
|
||||
commands:
|
||||
- scripts/go-gen.sh
|
||||
|
||||
@ -27,10 +27,8 @@ steps:
|
||||
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
||||
- git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/go-grpc.git --all
|
||||
environment:
|
||||
GIT_USER:
|
||||
from_secret: GIT_USER
|
||||
GIT_PASS:
|
||||
from_secret: GIT_PASS
|
||||
GIT_USER: ${DRONE_GIT_USERNAME}
|
||||
GIT_PASS: ${DRONE_GIT_PASSWORD}
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
@ -55,7 +53,7 @@ steps:
|
||||
from_secret: GIT_PASS
|
||||
|
||||
- name: generate
|
||||
image: registry.itzana.me/strafesnet/tools/protobuild:latest
|
||||
image: registry.itzana.me/strafesnet/tools/python-grpc:latest
|
||||
commands:
|
||||
- scripts/python-gen.sh
|
||||
|
||||
@ -67,10 +65,8 @@ steps:
|
||||
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
||||
- git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/python-grpc.git --all
|
||||
environment:
|
||||
GIT_USER:
|
||||
from_secret: GIT_USER
|
||||
GIT_PASS:
|
||||
from_secret: GIT_PASS
|
||||
GIT_USER: ${DRONE_GIT_USERNAME}
|
||||
GIT_PASS: ${DRONE_GIT_PASSWORD}
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
|
Loading…
Reference in New Issue
Block a user