Skip to content

Commit

Permalink
use parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
bitoku committed Oct 2, 2024
1 parent 91cc62e commit 99e86e4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .pipelines/validate-roledef.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ resources:
image: mcr.microsoft.com/onebranch/cbl-mariner/build:2.0
options: --user=0

# Azure DevOps Pipeline running e2e tests
parameters:
- name: OCPVersion
type: string
default: "4.14.37"

variables:
- template: vars.yml

# Run the test suite and collect must-gather
jobs:
- job:
timeoutInMinutes: 30
Expand All @@ -40,6 +43,6 @@ jobs:
wget -nv https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftCLIVersion)/openshift-client-linux-$(OpenShiftCLIVersion).tar.gz
tar xf openshift-client-linux-$(OpenShiftCLIVersion).tar.gz
OCP_VERSION=4.14.37 OC=./oc make validate-roledef
OCP_VERSION=${{ parameters.OCPVersion }} OC=./oc make validate-roledef
displayName: Run check
target: golang

0 comments on commit 99e86e4

Please sign in to comment.