2022-07-17 03:10:59 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: generate-go-grpc
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: clone-external
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
2022-07-23 06:38:00 +00:00
|
|
|
- git clone 'https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/go-grpc.git'
|
2022-07-17 03:10:59 +00:00
|
|
|
environment:
|
|
|
|
GIT_USER:
|
|
|
|
from_secret: GIT_USER
|
|
|
|
GIT_PASS:
|
|
|
|
from_secret: GIT_PASS
|
|
|
|
|
|
|
|
- name: generate
|
2022-07-17 03:13:49 +00:00
|
|
|
image: registry.itzana.me/strafesnet/tools/protobuild:latest
|
2022-07-17 03:10:59 +00:00
|
|
|
commands:
|
2022-07-17 05:41:59 +00:00
|
|
|
- scripts/go-gen.sh
|
2022-07-17 03:10:59 +00:00
|
|
|
|
|
|
|
- name: commit
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- cd go-grpc
|
|
|
|
- git add *
|
2022-07-17 06:28:37 +00:00
|
|
|
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
2022-07-23 06:38:00 +00:00
|
|
|
- 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
|
2022-07-17 03:10:59 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
- refs/heads/master
|
|
|
|
|
2022-07-17 06:34:29 +00:00
|
|
|
image_pull_secrets:
|
|
|
|
- dockerconfigjson
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: generate-python-grpc
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: clone-external
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
2022-07-23 06:38:00 +00:00
|
|
|
- git clone 'https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/python-grpc.git'
|
2022-07-17 06:34:29 +00:00
|
|
|
environment:
|
|
|
|
GIT_USER:
|
|
|
|
from_secret: GIT_USER
|
2022-07-23 06:27:26 +00:00
|
|
|
GIT_PASS:
|
2022-07-23 06:38:00 +00:00
|
|
|
from_secret: GIT_PASS
|
2022-07-17 06:34:29 +00:00
|
|
|
|
|
|
|
- name: generate
|
|
|
|
image: registry.itzana.me/strafesnet/tools/protobuild:latest
|
|
|
|
commands:
|
|
|
|
- scripts/python-gen.sh
|
|
|
|
|
|
|
|
- name: commit
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- cd python-grpc
|
|
|
|
- git add *
|
|
|
|
- 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true'
|
2022-07-23 06:38:00 +00:00
|
|
|
- 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
|
2022-07-17 06:34:29 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
- refs/heads/master
|
|
|
|
|
2022-07-17 03:10:59 +00:00
|
|
|
image_pull_secrets:
|
2022-07-17 03:19:47 +00:00
|
|
|
- dockerconfigjson
|