1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

Tag pipeline with source information (#4796)

Co-authored-by: oauth <woodpecker-bot@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
Jener Rasmussen
2025-03-22 13:45:44 +01:00
committed by GitHub
parent 5ab0e46c21
commit 8d94071e2f
19 changed files with 208 additions and 653 deletions

View File

@@ -123,7 +123,8 @@ func TestTinyPod(t *testing.T) {
"namespace": "woodpecker",
"creationTimestamp": null,
"labels": {
"step": "build-via-gradle"
"step": "build-via-gradle",
"woodpecker-ci.org/step": "build-via-gradle"
}
},
"spec": {
@@ -204,7 +205,8 @@ func TestFullPod(t *testing.T) {
"labels": {
"app": "test",
"part-of": "woodpecker-ci",
"step": "go-test"
"step": "go-test",
"woodpecker-ci.org/step": "go-test"
},
"annotations": {
"apps.kubernetes.io/pod-index": "0",
@@ -498,7 +500,8 @@ func TestScratchPod(t *testing.T) {
"namespace": "woodpecker",
"creationTimestamp": null,
"labels": {
"step": "curl-google"
"step": "curl-google",
"woodpecker-ci.org/step": "curl-google"
}
},
"spec": {
@@ -543,7 +546,8 @@ func TestSecrets(t *testing.T) {
"namespace": "woodpecker",
"creationTimestamp": null,
"labels": {
"step": "test-secrets"
"step": "test-secrets",
"woodpecker-ci.org/step": "test-secrets"
}
},
"spec": {