replace create-pr image with own randomizer image
This commit is contained in:
parent
41ff3a3e98
commit
c8834a8632
1 changed files with 4 additions and 24 deletions
|
@ -1,7 +1,4 @@
|
|||
skip_clone: true
|
||||
variables:
|
||||
- &test
|
||||
PR_BODY_MESSAGE: lol
|
||||
steps:
|
||||
- name: bump tag in deployment-repo (prod)
|
||||
image: git.ar21.de/aaron/kustomize-ci
|
||||
|
@ -51,25 +48,10 @@ steps:
|
|||
- branch:
|
||||
exclude: master
|
||||
event: push
|
||||
- name: generate random pull request message
|
||||
- name: create pull request (prod)
|
||||
image: git.ar21.de/tom/push-message-randomizer:latest
|
||||
pull: true
|
||||
environment:
|
||||
<<: *test
|
||||
commands:
|
||||
- /entrypoint.sh
|
||||
- echo "${PR_BODY_MESSAGE}"
|
||||
- PR_BODY_MESSAGE="$(cat message.txt)"
|
||||
- echo "${PR_BODY_MESSAGE}"
|
||||
when:
|
||||
- event: push
|
||||
- name: create pull request (prod)
|
||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||
pull: true
|
||||
#commands:
|
||||
# - PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
||||
settings:
|
||||
pr_body_message: ""
|
||||
gitea_address: https://git.ar21.de
|
||||
gitea_token:
|
||||
from_secret: FORGEJO_API
|
||||
|
@ -81,7 +63,7 @@ steps:
|
|||
pr_body: |
|
||||
### ℹ Dashboard image update
|
||||
|
||||
$${PLUGIN_PR_BODY_MESSAGE}
|
||||
{- random-pr-message -}
|
||||
|
||||
### Configuration
|
||||
|
||||
|
@ -97,10 +79,9 @@ steps:
|
|||
- branch: master
|
||||
event: push
|
||||
- name: create pull request (staging)
|
||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||
image: git.ar21.de/tom/push-message-randomizer:latest
|
||||
pull: true
|
||||
settings:
|
||||
<<: *test
|
||||
gitea_address: https://git.ar21.de
|
||||
gitea_token:
|
||||
from_secret: FORGEJO_API
|
||||
|
@ -112,8 +93,7 @@ steps:
|
|||
pr_body: |
|
||||
### ℹ Dashboard image update
|
||||
|
||||
${PLUGIN_PR_BODY_MESSAGE}
|
||||
${PR_BODY_MESSAGE}
|
||||
{- random-pr-message -}
|
||||
|
||||
### Configuration
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue