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
|
skip_clone: true
|
||||||
variables:
|
|
||||||
- &test
|
|
||||||
PR_BODY_MESSAGE: lol
|
|
||||||
steps:
|
steps:
|
||||||
- name: bump tag in deployment-repo (prod)
|
- name: bump tag in deployment-repo (prod)
|
||||||
image: git.ar21.de/aaron/kustomize-ci
|
image: git.ar21.de/aaron/kustomize-ci
|
||||||
|
@ -51,25 +48,10 @@ steps:
|
||||||
- branch:
|
- branch:
|
||||||
exclude: master
|
exclude: master
|
||||||
event: push
|
event: push
|
||||||
- name: generate random pull request message
|
- name: create pull request (prod)
|
||||||
image: git.ar21.de/tom/push-message-randomizer:latest
|
image: git.ar21.de/tom/push-message-randomizer:latest
|
||||||
pull: true
|
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:
|
settings:
|
||||||
pr_body_message: ""
|
|
||||||
gitea_address: https://git.ar21.de
|
gitea_address: https://git.ar21.de
|
||||||
gitea_token:
|
gitea_token:
|
||||||
from_secret: FORGEJO_API
|
from_secret: FORGEJO_API
|
||||||
|
@ -81,7 +63,7 @@ steps:
|
||||||
pr_body: |
|
pr_body: |
|
||||||
### ℹ Dashboard image update
|
### ℹ Dashboard image update
|
||||||
|
|
||||||
$${PLUGIN_PR_BODY_MESSAGE}
|
{- random-pr-message -}
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
@ -97,10 +79,9 @@ steps:
|
||||||
- branch: master
|
- branch: master
|
||||||
event: push
|
event: push
|
||||||
- name: create pull request (staging)
|
- name: create pull request (staging)
|
||||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
image: git.ar21.de/tom/push-message-randomizer:latest
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
<<: *test
|
|
||||||
gitea_address: https://git.ar21.de
|
gitea_address: https://git.ar21.de
|
||||||
gitea_token:
|
gitea_token:
|
||||||
from_secret: FORGEJO_API
|
from_secret: FORGEJO_API
|
||||||
|
@ -112,8 +93,7 @@ steps:
|
||||||
pr_body: |
|
pr_body: |
|
||||||
### ℹ Dashboard image update
|
### ℹ Dashboard image update
|
||||||
|
|
||||||
${PLUGIN_PR_BODY_MESSAGE}
|
{- random-pr-message -}
|
||||||
${PR_BODY_MESSAGE}
|
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue