Metal3: Add prow parameters for BMO e2e 50/20350/2
authorLennart Jern <lennart.jern@est.tech>
Mon, 15 Jan 2024 13:34:59 +0000 (15:34 +0200)
committerLennart Jern <lennart.jern@est.tech>
Tue, 16 Jan 2024 12:57:59 +0000 (14:57 +0200)
Prow requires two parameters in every job that it should be able to
trigger. We also need a few other variables that it can optionally use.
This adds the parameters to the BMO e2e job as a first step to try things out

Change-Id: Ia9f91432679ca9603e77b20637f926d26d1e8ded

jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml

index 7d732131bf2472f9c4fbd3ab21ad1a7683af6f58..47531443a5b177e0c92a35fc4b4ff49a3cb4ebd8 100644 (file)
     disabled: False
     concurrent: True
 
+    parameters:
+    # Parameters set by Prow
+    - string:
+        name: BUILD_ID
+        description: 'Used by Prow when triggering jobs'
+    - string:
+        name: PROW_JOB_ID
+        description: 'Used by Prow when triggering jobs'
+    - string:
+        name: REPO_OWNER
+        description: 'Project github repo org name'
+    - string:
+        name: REPO_NAME
+        description: 'Project github repo name'
+    - string:
+        name: PULL_BASE_REF
+        default: 'main'
+        description: 'Ref name of the base branch'
+    - string:
+        name: PULL_PULL_SHA
+        description: 'Pull request head SHA'
+    # End of Prow parameters
+
     properties:
     - build-discarder:
         days-to-keep: 30