0

I have a pipeline written in java and its template is deployed on google cloud storage when running the Pipeline.

What I want is to generate a Dockerfile and cloudbuild.yaml file then I can deploy using gcloud builds submit I just want the template to be deployed using cloud build (I want to deploy the template to cloud storage when the submit the image without running it) to create a trigger later I don't want to implement the entire CI/CD cycle so how my yaml file should contain.

Note: I'm passing the args using the PipelineOptionsFactory:

//configure options
        options.setRunner(DataflowRunner.class);
        options.setRegion("europe-west1");
        options.setTemplateLocation(TEMP_PATH + "/templates/log_v2");
        options.setTempLocation(TEMP_PATH + "/temp/batch");
        options.setStagingLocation(TEMP_PATH + "/temp/staging");
        options.setMaxNumWorkers(10);
Mohamed Haydar
  • 193
  • 1
  • 2
  • 14

0 Answers0