fix/dafakincron (#9)

Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/9
Reviewed-by: teutat3s <teutates@mailbox.org>
Co-authored-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-committed-by: Benjamin Bädorf <b12f@noreply.example.org>
This commit is contained in:
Benjamin Bädorf 2021-07-07 17:50:51 +00:00 committed by teutat3s
parent 1ecdf060b9
commit 18c1161e2f

View file

@ -9,11 +9,10 @@ steps:
when: when:
event: event:
- cron - cron
- promote cron:
target: - sync-core-with-upstream
- upstream* - sync-b12f-with-core
branch: - sync-teutat3s-with-core
- core
environment: environment:
GITEA_SSH_KEY: GITEA_SSH_KEY:
from_secret: gitea_ssh_key from_secret: gitea_ssh_key
@ -30,18 +29,17 @@ steps:
- name: "Sync $BRANCH with upstream" - name: "Sync $BRANCH with upstream"
image: alpine/git image: alpine/git
when: when:
status:
- success
event: event:
- cron - cron
- promote cron:
target: - sync-core-with-upstream
- upstream* - sync-b12f-with-core
- sync-teutat3s-with-core
environment: environment:
GITEA_SSH_KEY: GITEA_SSH_KEY:
from_secret: gitea_ssh_key from_secret: gitea_ssh_key
commands: commands:
- git checkout core - git checkout origin/core
- ./.drone/setup_ssh.sh - ./.drone/setup_ssh.sh
- git remote set-url origin git@git.b12f.io:pub-solar/os - git remote set-url origin git@git.b12f.io:pub-solar/os
- ./.drone/upstream-branch.sh - ./.drone/upstream-branch.sh
@ -53,11 +51,10 @@ steps:
- failure - failure
event: event:
- cron - cron
- promote cron:
target: - sync-core-with-upstream
- upstream* - sync-b12f-with-core
branch: - sync-teutat3s-with-core
- core
environment: environment:
TEA_CONFIG: TEA_CONFIG:
from_secret: tea_config from_secret: tea_config
@ -74,9 +71,10 @@ steps:
- failure - failure
event: event:
- cron - cron
- promote cron:
target: - sync-core-with-upstream
- upstream* - sync-b12f-with-core
- sync-teutat3s-with-core
settings: settings:
homeserver: https://matrix.pub.solar homeserver: https://matrix.pub.solar
roomid: dfQBqwkhIzrFjMSsxy:pub.solar roomid: dfQBqwkhIzrFjMSsxy:pub.solar
@ -87,6 +85,6 @@ steps:
template: "Upstreaming {{ build.status }} [{{ build.branch }}#{{ truncate build.commit 8 }}]({{ build.link }}) by {{ build.author }}. [Pull requests](https://git.b12f.io/pub-solar/os/pulls)" template: "Upstreaming {{ build.status }} [{{ build.branch }}#{{ truncate build.commit 8 }}]({{ build.link }}) by {{ build.author }}. [Pull requests](https://git.b12f.io/pub-solar/os/pulls)"
--- ---
kind: signature kind: signature
hmac: 7a1c018c4c2e7b5d81ebd0bdfbbe5783f99156c2e9f1499402e764f7faf8427b hmac: f88330a68ced90f4c242aedcbec9359fa63f00c47db6707e2646546daa4a9109
... ...