Skip to content

Commit

Permalink
telemeter: enable go 1.12 support and add checking if vendored module…
Browse files Browse the repository at this point in the history
…s are ok
  • Loading branch information
paulfantom committed Jun 6, 2019
1 parent e05af1a commit fcd6458
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_root:
cluster: https://api.ci.openshift.org
name: release
namespace: openshift
tag: golang-1.10
tag: golang-1.12
canonical_go_repository: github.com/openshift/telemeter
images:
- from: base
Expand All @@ -32,6 +32,10 @@ tag_specification:
name: "4.2"
namespace: ocp
tests:
- as: vendor
commands: GO111MODULE=on make vendor && git diff --exit-code
container:
from: src
- as: unit
commands: make lint test-unit
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,46 @@ presubmits:
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )unit,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
context: ci/prow/vendor
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-telemeter-master-vendor
rerun_command: /test vendor
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=vendor
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-telemeter-master.yaml
name: ci-operator-master-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )vendor,?($|\s.*)

0 comments on commit fcd6458

Please sign in to comment.