test 2
This commit is contained in:
parent
4a4d5d9d55
commit
d2077e0a5f
1 changed files with 22 additions and 20 deletions
|
@ -1,4 +1,6 @@
|
||||||
skip_clone: true
|
skip_clone: true
|
||||||
|
variables:
|
||||||
|
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,6 +53,10 @@ steps:
|
||||||
- name: generate random pull request message
|
- name: generate random pull request message
|
||||||
image: git.ar21.de/tom/push-message-randomizer:latest
|
image: git.ar21.de/tom/push-message-randomizer:latest
|
||||||
pull: true
|
pull: true
|
||||||
|
commands:
|
||||||
|
- /entrypoint.sh
|
||||||
|
- echo "${PR_BODY_MESSAGE}"
|
||||||
|
- PR_BODY_MESSAGE="$(cat message.txt)"
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- name: create pull request (prod)
|
- name: create pull request (prod)
|
||||||
|
@ -89,35 +95,31 @@ steps:
|
||||||
- name: create pull request (staging)
|
- name: create pull request (staging)
|
||||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
settings:
|
||||||
- ls -l
|
pr_body_message: ""
|
||||||
- PLUGIN_PR_BODY_MESSAGE="$(cat message.txt)"
|
gitea_address: https://git.ar21.de
|
||||||
- /gitea-pull-request-create-plugin
|
gitea_token:
|
||||||
environment:
|
|
||||||
PLUGIN_PR_BODY_MESSAGE: ""
|
|
||||||
PLUGIN_GITEA_ADDRESS: https://git.ar21.de
|
|
||||||
PLUGIN_GITEA_TOKEN:
|
|
||||||
from_secret: FORGEJO_API
|
from_secret: FORGEJO_API
|
||||||
PLUGIN_OWNER: ${CI_REPO_OWNER}
|
owner: ${CI_REPO_OWNER}
|
||||||
PLUGIN_REPO: core-deployments
|
repo: core-deployments
|
||||||
PLUGIN_BRANCH: "${CI_PIPELINE_NUMBER}_dashboard_staging"
|
branch: "${CI_PIPELINE_NUMBER}_dashboard_staging"
|
||||||
PLUGIN_BASE_BRANCH: main
|
base_branch: main
|
||||||
PLUGIN_PR_TITLE: "DASHBOARD STAGING: update image tag to ${CI_PIPELINE_NUMBER}"
|
pr_title: "DASHBOARD STAGING: update image tag to ${CI_PIPELINE_NUMBER}"
|
||||||
PLUGIN_PR_BODY: |
|
pr_body: |
|
||||||
### ℹ Dashboard image update
|
### ℹ Dashboard image update
|
||||||
|
|
||||||
$${PLUGIN_PR_BODY_MESSAGE}
|
$${PR_BODY_MESSAGE}
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
📅 **Schedule**: Branch creation - At any time, Automerge - At any time.
|
📅 **Schedule**: Branch creation - At any time, Automerge - At any time.
|
||||||
|
|
||||||
🚦 **Automerge**: Enabled.
|
🚦 **Automerge**: Enabled.
|
||||||
PLUGIN_SKIP_ON_MISSING_BRANCH: true
|
skip_on_missing_branch: true
|
||||||
PLUGIN_CLOSE_PR_IF_EMPTY: true
|
close_pr_if_empty: true
|
||||||
PLUGIN_DELETE_BRANCH_IF_PR_EMPTY: true
|
delete_branch_if_pr_empty: true
|
||||||
PLUGIN_MERGE_WHEN_CHECKS_SUCCEED: true
|
merge_when_checks_succeed: true
|
||||||
PLUGIN_DELETE_BRANCH_AFTER_MERGE: true
|
delete_branch_after_merge: true
|
||||||
when:
|
when:
|
||||||
- branch:
|
- branch:
|
||||||
exclude: master
|
exclude: master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue