woodpecker: we need to remove "settings" and switch to "environment" because of this very important feature
This commit is contained in:
parent
1a832a7667
commit
12fcfbe37a
1 changed files with 18 additions and 17 deletions
|
@ -56,8 +56,8 @@ steps:
|
||||||
- name: create pull request (prod)
|
- name: create pull request (prod)
|
||||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
#commands:
|
||||||
- PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
# - PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
||||||
settings:
|
settings:
|
||||||
pr_body_message: ""
|
pr_body_message: ""
|
||||||
gitea_address: https://git.ar21.de
|
gitea_address: https://git.ar21.de
|
||||||
|
@ -91,17 +91,18 @@ steps:
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
- PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
||||||
settings:
|
- /gitea-pull-request-create-plugin
|
||||||
pr_body_message: ""
|
environment:
|
||||||
gitea_address: https://git.ar21.de
|
PLUGIN_PR_BODY_MESSAGE: ""
|
||||||
gitea_token:
|
PLUGIN_GITEA_ADDRESS: https://git.ar21.de
|
||||||
|
PLUGIN_GITEA_TOKEN:
|
||||||
from_secret: FORGEJO_API
|
from_secret: FORGEJO_API
|
||||||
owner: ${CI_REPO_OWNER}
|
PLUGIN_OWNER: ${CI_REPO_OWNER}
|
||||||
repo: core-deployments
|
PLUGIN_REPO: core-deployments
|
||||||
branch: "${CI_PIPELINE_NUMBER}_dashboard_staging"
|
PLUGIN_BRANCH: "${CI_PIPELINE_NUMBER}_dashboard_staging"
|
||||||
base_branch: main
|
PLUGIN_BASE_BRANCH: main
|
||||||
pr_title: "DASHBOARD STAGING: update image tag to ${CI_PIPELINE_NUMBER}"
|
PLUGIN_PR_TITLE: "DASHBOARD STAGING: update image tag to ${CI_PIPELINE_NUMBER}"
|
||||||
pr_body: |
|
PLUGIN_PR_BODY: |
|
||||||
### ℹ Dashboard image update
|
### ℹ Dashboard image update
|
||||||
|
|
||||||
$${PLUGIN_PR_BODY_MESSAGE}
|
$${PLUGIN_PR_BODY_MESSAGE}
|
||||||
|
@ -111,11 +112,11 @@ steps:
|
||||||
📅 **Schedule**: Branch creation - At any time, Automerge - At any time.
|
📅 **Schedule**: Branch creation - At any time, Automerge - At any time.
|
||||||
|
|
||||||
🚦 **Automerge**: Enabled.
|
🚦 **Automerge**: Enabled.
|
||||||
skip_on_missing_branch: true
|
PLUGIN_SKIP_ON_MISSING_BRANCH: true
|
||||||
close_pr_if_empty: true
|
PLUGIN_CLOSE_PR_IF_EMPTY: true
|
||||||
delete_branch_if_pr_empty: true
|
PLUGIN_DELETE_BRANCH_IF_PR_EMPTY: true
|
||||||
merge_when_checks_succeed: true
|
PLUGIN_MERGE_WHEN_CHECKS_SUCCEED: true
|
||||||
delete_branch_after_merge: true
|
PLUGIN_DELETE_BRANCH_AFTER_MERGE: true
|
||||||
when:
|
when:
|
||||||
- branch:
|
- branch:
|
||||||
exclude: master
|
exclude: master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue