ci: add matrix notify step, fix ssh key id

This commit is contained in:
teutat3s 2022-08-24 22:36:53 +02:00
parent da496ccdf7
commit d7855390a5
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -39,7 +39,7 @@ steps:
from_secret: private_ssh_key
MANTA_USER: pub_solar
MANTA_URL: https://eu-central.manta.greenbaum.cloud
MANTA_KEY_ID: "02:ae:79:2b:8f:7f:51:ba:c6:3c:ea:6f:f7:bb:d1:6a"
MANTA_KEY_ID: "46:9c:73:9d:66:c2:eb:fb:04:06:77:b6:0b:56:eb:aa"
commands:
- export TARGET_DIR="$${DRONE_REPO}/$${DRONE_BUILD_NUMBER}"
- echo env var TARGET_DIR is set to $$TARGET_DIR
@ -61,6 +61,28 @@ kind: pipeline
type: docker
name: Publish ISO
steps:
- name: "Notify matrix"
image: plugins/matrix
settings:
homeserver: https://matrix.pub.solar
roomid: dfQBqwkhIzrFjMSsxy:pub.solar
username:
from_secret: matrix_username
password:
from_secret: matrix_password
template: "Test run status: {{ build.status }}, artifacts uploaded to Manta: https://eu-central.manta.greenbaum.cloud/pub_solar/public/{{ repo.Owner }}/{{ repo.Name }}/{{ build.number }}"
trigger:
ref:
- refs/tags/v*
- refs/tags/t*
---
kind: pipeline
type: docker
name: Publish ISO
steps:
- name: "Build ISO"
image: docker.nix-community.org/nixpkgs/nix-flakes:latest
@ -114,6 +136,6 @@ data: cSWd6rIg8Z51hD+KMenYPX669qb6PWdh9V80Z1YpED68Ffoy73tWEoBjEs2pKUJpcL8qGxMjj5
---
kind: signature
hmac: 82e3f3690bafae2ff1962ebc24504275dba0dbca707e14b2a389b31a9f7b57c0
hmac: f464c2c5e06f243d7e4176288d3d3db47c4b5285e4395dd8a2540441cac32445
...