Skip to content

Commit f51f518

Browse files
committed
Remove deprecated // +build directive from most files
- It will soon error out, and we already use the `//go:build` directive. - It doesn't touch generated files (need to be fixed upstream) Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
1 parent fcba522 commit f51f518

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2
-67
lines changed

cmd/entrypoint/namespaces.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
/*
54
Copyright 2023 The Tekton Authors

cmd/entrypoint/namespaces_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
/*
54
Copyright 2022 The Tekton Authors

cmd/entrypoint/runner.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright 2021 The Tekton Authors

cmd/entrypoint/runner_windows.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build windows
2-
// +build windows
32

43
/*
54
Copyright 2021 The Tekton Authors

cmd/workingdirinit/main_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
/*
54
Copyright 2023 The Tekton Authors

cmd/workingdirinit/main_windows_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build windows
2-
// +build windows
32

43
/*
54
Copyright 2023 The Tekton Authors

tekton/release-pipeline.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,7 @@ spec:
161161
- name: publish-images
162162
runAfter: [unit-tests, build]
163163
taskRef:
164-
resolver: git
165-
params:
166-
- name: repo
167-
value: pipeline
168-
- name: org
169-
value: tektoncd
170-
- name: revision
171-
value: $(params.gitRevision)
172-
- name: pathInRepo
173-
value: tekton/publish.yaml
164+
name: publish-release
174165
params:
175166
- name: package
176167
value: $(params.package)
@@ -285,4 +276,4 @@ spec:
285276
# If the bucket is in the gs:// return the corresponding public https URL
286277
BASE_URL=$(echo ${BASE_URL} | sed 's,gs://,https://storage.googleapis.com/,g')
287278
echo "${BASE_URL}/release.yaml" > $(results.release.path)
288-
echo "${BASE_URL}/release.notag.yaml" > $(results.release-no-tag.path)
279+
echo "${BASE_URL}/release.notag.yaml" > $(results.release-no-tag.path)

test/affinity_assistant_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build e2e
2-
// +build e2e
32

43
/*
54
Copyright 2023 The Tekton Authors

test/artifacts_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build e2e
2-
// +build e2e
32

43
// /*
54
// Copyright 2024 The Tekton Authors

test/cancel_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build e2e
2-
// +build e2e
32

43
/*
54
Copyright 2019 The Tekton Authors

0 commit comments

Comments
 (0)