renovate-bot / workflows-samples

This repository contains samples for Cloud Workflows.

Home Page:https://cloud.google.com/workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workflows Samples

This repository contains samples for Cloud Workflows.

Overview

All workflow samples are in the src/ directory with the file format *.workflows.{yaml/json}.

The JSON and YAML files have equivalent behavior and functionality. Using JSON vs YAML is a matter of personal preference.

(The .json workflow files are generated from the YAML files.)

How to: Deploy and Run a Workflow

To quickly deploy and run a workflow and immediately view the results, run this script, replacing myFirstWorkflow with your workflow name:

WORKFLOW=myFirstWorkflow
gcloud workflows deploy $WORKFLOW --source src/$WORKFLOW.workflows.yaml
gcloud workflows run $WORKFLOW --format='value(result)'

How to: Syntax Autocompletion

Learn how to use the JSON Schema for Syntax Autocompletion.

About

This repository contains samples for Cloud Workflows.

https://cloud.google.com/workflows

License:Apache License 2.0


Languages

Language:Shell 90.4%Language:Python 9.6%