Compare commits
1 Commits
ed3f01440a
...
3b8af798d4
Author | SHA1 | Date | |
---|---|---|---|
3b8af798d4 |
15
.drone.yml
15
.drone.yml
@ -27,8 +27,10 @@ steps:
|
|||||||
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
- '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
|
- git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/go-grpc.git --all
|
||||||
environment:
|
environment:
|
||||||
GIT_USER: ${DRONE_GIT_USERNAME}
|
GIT_USER:
|
||||||
GIT_PASS: ${DRONE_GIT_PASSWORD}
|
from_secret: GIT_USER
|
||||||
|
GIT_PASS:
|
||||||
|
from_secret: GIT_PASS
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
@ -53,7 +55,7 @@ steps:
|
|||||||
from_secret: GIT_PASS
|
from_secret: GIT_PASS
|
||||||
|
|
||||||
- name: generate
|
- name: generate
|
||||||
image: registry.itzana.me/strafesnet/tools/python-grpc:latest
|
image: registry.itzana.me/strafesnet/tools/grpc-python:latest
|
||||||
commands:
|
commands:
|
||||||
- scripts/python-gen.sh
|
- scripts/python-gen.sh
|
||||||
|
|
||||||
@ -63,11 +65,12 @@ steps:
|
|||||||
- cd python-grpc
|
- cd python-grpc
|
||||||
- git add *
|
- git add *
|
||||||
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
||||||
- echo "-- $GIT_USER --"
|
|
||||||
- git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/python-grpc.git --all
|
- git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/python-grpc.git --all
|
||||||
environment:
|
environment:
|
||||||
GIT_USER: ${DRONE_GIT_USERNAME}
|
GIT_USER:
|
||||||
GIT_PASS: ${DRONE_GIT_PASSWORD}
|
from_secret: GIT_USER
|
||||||
|
GIT_PASS:
|
||||||
|
from_secret: GIT_PASS
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
|
Loading…
Reference in New Issue
Block a user