Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/googlecloudplatform/workflows-samples
This repository contains samples for Cloud Workflows.
https://github.com/googlecloudplatform/workflows-samples
cloud-workflows samples yaml
Last synced: 3 days ago
JSON representation
This repository contains samples for Cloud Workflows.
- Host: GitHub
- URL: https://github.com/googlecloudplatform/workflows-samples
- Owner: GoogleCloudPlatform
- License: apache-2.0
- Created: 2020-11-11T02:28:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T01:47:08.000Z (about 2 months ago)
- Last Synced: 2024-12-18T08:41:33.307Z (16 days ago)
- Topics: cloud-workflows, samples, yaml
- Language: Shell
- Homepage: https://cloud.google.com/workflows
- Size: 444 KB
- Stars: 73
- Watchers: 21
- Forks: 40
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Workflows Samples
This repository contains samples for [Cloud Workflows](https://cloud.google.com/workflows/docs).
## 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:```sh
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](./jsonschema/README.md#IDE-Autocompletion).