Compare commits
1 Commits
3b8af798d4
...
ed3f01440a
Author | SHA1 | Date | |
---|---|---|---|
ed3f01440a |
17
.drone.yml
17
.drone.yml
@ -15,7 +15,7 @@ steps:
|
|||||||
from_secret: GIT_PASS
|
from_secret: GIT_PASS
|
||||||
|
|
||||||
- name: generate
|
- name: generate
|
||||||
image: registry.itzana.me/strafesnet/tools/protobuild:latest
|
image: registry.itzana.me/strafesnet/tools/grpc-go:latest
|
||||||
commands:
|
commands:
|
||||||
- scripts/go-gen.sh
|
- scripts/go-gen.sh
|
||||||
|
|
||||||
@ -27,10 +27,8 @@ 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:
|
GIT_USER: ${DRONE_GIT_USERNAME}
|
||||||
from_secret: GIT_USER
|
GIT_PASS: ${DRONE_GIT_PASSWORD}
|
||||||
GIT_PASS:
|
|
||||||
from_secret: GIT_PASS
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
@ -55,7 +53,7 @@ steps:
|
|||||||
from_secret: GIT_PASS
|
from_secret: GIT_PASS
|
||||||
|
|
||||||
- name: generate
|
- name: generate
|
||||||
image: registry.itzana.me/strafesnet/tools/protobuild:latest
|
image: registry.itzana.me/strafesnet/tools/python-grpc:latest
|
||||||
commands:
|
commands:
|
||||||
- scripts/python-gen.sh
|
- scripts/python-gen.sh
|
||||||
|
|
||||||
@ -65,12 +63,11 @@ 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:
|
GIT_USER: ${DRONE_GIT_USERNAME}
|
||||||
from_secret: GIT_USER
|
GIT_PASS: ${DRONE_GIT_PASSWORD}
|
||||||
GIT_PASS:
|
|
||||||
from_secret: GIT_PASS
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
|
Loading…
Reference in New Issue
Block a user