Skip to content

Commit

Permalink
tests: add opt-in version of test for DataflowFlexTemplateJob
Browse files Browse the repository at this point in the history
We just create a parallel version of an existing test.
  • Loading branch information
justinsb committed Sep 9, 2024
1 parent e77a36e commit 9b0baba
Show file tree
Hide file tree
Showing 5 changed files with 1,135 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: dataflow.cnrm.cloud.google.com/v1beta1
kind: DataflowFlexTemplateJob
metadata:
annotations:
alpha.cnrm.cloud.google.com/reconciler: direct
cnrm.cloud.google.com/management-conflict-prevention-policy: none
cnrm.cloud.google.com/on-delete: cancel
cnrm.cloud.google.com/project-id: ${projectId}
finalizers:
- cnrm.cloud.google.com/finalizer
- cnrm.cloud.google.com/deletion-defender
generation: 1
labels:
cnrm-test: "true"
name: dataflowflextemplatejob-${uniqueId}
namespace: ${uniqueId}
spec:
containerSpecGcsPath: gs://dataflow-templates/2022-10-03-00_RC00/flex/File_Format_Conversion
parameters:
inputFileFormat: csv
inputFileSpec: gs://config-connector-samples/dataflowflextemplate/numbertest.csv
outputBucket: gs://storagebucket-${uniqueId}
outputFileFormat: avro
schema: gs://config-connector-samples/dataflowflextemplate/numbers.avsc
region: us-central1
status:
conditions:
- lastTransitionTime: "1970-01-01T00:00:00Z"
message: The resource is up to date
reason: UpToDate
status: "True"
type: Ready
jobId: ${jobID}
observedGeneration: 1
Loading

0 comments on commit 9b0baba

Please sign in to comment.