-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add opt-in version of test for DataflowFlexTemplateJob
We just create a parallel version of an existing test.
- Loading branch information
Showing
5 changed files
with
1,135 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...wflextemplatejob-direct/_generated_object_batchdataflowflextemplatejob-direct.golden.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.