diff --git a/.tekton/github-eventlistener.yaml b/.tekton/github-eventlistener.yaml index f1b8bd0cb..468ea7c3d 100644 --- a/.tekton/github-eventlistener.yaml +++ b/.tekton/github-eventlistener.yaml @@ -21,7 +21,7 @@ spec: # After variable resolution, this has to be maximum 63 character long, # lower case, RFC 1123 subdomain name. The regex used for validation is # '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*' - name: $(tt.params.git-branch-normalized)-go20-$(tt.params.git-commit-short-sha) + name: $(tt.params.git-branch-normalized)-go22-$(tt.params.git-commit-short-sha) spec: params: - name: revision @@ -29,7 +29,7 @@ spec: - name: git-commit-sha value: $(tt.params.git-commit-sha) - name: go-version - value: "1.20" + value: "1.22" - name: excludeDirs value: "" pipelineRef: @@ -76,210 +76,6 @@ spec: persistentVolumeClaim: claimName: cache-pvc - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go19-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.19" - - name: excludeDirs - value: "" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go18-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.18" - - name: excludeDirs - value: "./example/grpc-client-server ./instrumentation/cloud.google.com/go ./instrumentation/instaawsv2 ./instrumentation/instaamqp ./instrumentation/instaawssdk ./instrumentation/instagocb ./example/couchbase" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go17-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.17" - - name: excludeDirs - value: "./internal/bin/sql ./example/gin ./example/sql-redis ./example/gorm-postgres ./example/gorm-sqlite ./example/grpc-client-server ./instrumentation/cloud.google.com/go ./instrumentation/instabeego ./example/beego ./instrumentation/instaawsv2 ./instrumentation/instaecho ./instrumentation/instagorm ./instrumentation/instaamqp ./instrumentation/instaawssdk ./instrumentation/instagocb ./example/couchbase ./instrumentation/instacosmos ./example/cosmos ./instrumentation/instamongo" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go16-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.16" - - name: excludeDirs - value: "./internal/bin/sql ./example/gin ./example/sql-redis ./example/grpc-client-server ./instrumentation/instafiber ./example/gorm-postgres ./example/gorm-sqlite ./instrumentation/instasarama ./instrumentation/instasarama/example ./example/kafka-producer-consumer ./instrumentation/cloud.google.com/go ./instrumentation/instabeego ./example/beego ./instrumentation/instaawsv2 ./instrumentation/instapgx ./instrumentation/instaecho ./instrumentation/instagorm ./instrumentation/instaamqp ./instrumentation/instaawssdk ./instrumentation/instagocb ./example/couchbase ./example/sarama ./instrumentation/instacosmos ./example/cosmos ./instrumentation/instamongo ./instrumentation/instaredigo" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go15-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.15" - - name: excludeDirs - value: "./instrumentation/instaredigo ./internal/bin/sql ./example/gin ./example/sql-redis ./instrumentation/instagorm ./example/grpc-client-server ./instrumentation/instafiber ./example/gorm-postgres ./example/gorm-sqlite ./instrumentation/instasarama ./instrumentation/instasarama/example ./example/kafka-producer-consumer ./instrumentation/cloud.google.com/go ./instrumentation/instabeego ./example/beego ./instrumentation/instaawsv2 ./instrumentation/instapgx ./instrumentation/instaecho ./instrumentation/instaamqp ./instrumentation/instaawssdk ./instrumentation/instagocb ./example/couchbase ./example/sarama ./instrumentation/instacosmos ./example/cosmos ./instrumentation/instamongo" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go14-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.14" - - name: excludeDirs - value: "./instrumentation/instaecho ./instrumentation/instaredigo ./internal/bin/sql ./instrumentation/cloud.google.com/go ./example/gin ./instrumentation/instagorm ./example/grpc-client-server ./instrumentation/instafiber ./instrumentation/instaawsv2 ./example/sql-redis ./example/gorm-postgres ./example/gorm-sqlite ./instrumentation/instasarama ./instrumentation/instasarama/example ./example/kafka-producer-consumer ./instrumentation/instabeego ./example/beego ./instrumentation/instapgx ./instrumentation/instaamqp ./instrumentation/instaawssdk ./instrumentation/instagocb ./example/couchbase ./example/sarama ./instrumentation/instacosmos ./example/cosmos ./instrumentation/instamongo" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - - apiVersion: tekton.dev/v1 - kind: PipelineRun - metadata: - name: $(tt.params.git-branch-normalized)-go13-$(tt.params.git-commit-short-sha) - spec: - params: - - name: revision - value: $(tt.params.git-branch) - - name: git-commit-sha - value: $(tt.params.git-commit-sha) - - name: go-version - value: "1.13" - - name: excludeDirs - value: "./instrumentation/instaecho ./instrumentation/instaredigo ./internal/bin/sql ./instrumentation/cloud.google.com/go ./example/gin ./instrumentation/instagorm ./example/grpc-client-server ./instrumentation/instafiber ./instrumentation/instaawsv2 ./example/sql-redis ./example/gorm-postgres ./example/gorm-sqlite ./instrumentation/instasarama ./instrumentation/instasarama/example ./example/kafka-producer-consumer ./instrumentation/instabeego ./example/beego ./instrumentation/instapgx ./instrumentation/instaamqp ./instrumentation/instaawssdk ./instrumentation/instagocb ./example/couchbase ./example/sarama ./instrumentation/instacosmos ./example/cosmos ./instrumentation/instamongo" - pipelineRef: - name: go-tracer-ci-pipeline - workspaces: - - name: go-tracer-ci-pipeline-pvc - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - - name: cache-pvc - persistentVolumeClaim: - claimName: cache-pvc - - --- apiVersion: triggers.tekton.dev/v1beta1 kind: TriggerBinding diff --git a/.tekton/pipeline.yaml b/.tekton/pipeline.yaml index f5e182804..19a5f4d5b 100644 --- a/.tekton/pipeline.yaml +++ b/.tekton/pipeline.yaml @@ -124,7 +124,7 @@ spec: when: - input: "$(params.go-version)" operator: in - values: ["1.21"] + values: ["1.22"] params: - name: imageTag value: $(params.go-version)