Skip to content

docs(gcp): add README + examples + experimental banner (QoL sweep)#16

Merged
intel352 merged 4 commits into
mainfrom
chore/qol-sweep-2026-05-19
May 19, 2026
Merged

docs(gcp): add README + examples + experimental banner (QoL sweep)#16
intel352 merged 4 commits into
mainfrom
chore/qol-sweep-2026-05-19

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented May 19, 2026

Summary

  • Adds README.md with experimental banner, module types (iac.provider, gcp.credentials, storage.gcs), install snippet, required env vars (GOOGLE_APPLICATION_CREDENTIALS, GCP_PROJECT), and links to upstream docs.
  • Adds CONTRIBUTING.md from shared plugin template.
  • Adds examples/minimal/config.yaml (passes wfctl validate --skip-unknown-types).
  • Adds .github/PULL_REQUEST_TEMPLATE.md and .github/ISSUE_TEMPLATE/ (bug report + feature request).

References

Test plan

  • go build ./... passes
  • go vet ./... passes
  • wfctl validate --skip-unknown-types examples/minimal/config.yaml passes (2 modules, 0 workflows, 0 triggers)

🤖 Generated with Claude Code

- Adds README.md with experimental banner, module-types table, install
  instructions, and required env vars (GOOGLE_APPLICATION_CREDENTIALS,
  GCP_PROJECT).
- Adds CONTRIBUTING.md from shared plugin template.
- Adds examples/minimal/config.yaml (passes wfctl validate).
- Adds .github/PULL_REQUEST_TEMPLATE.md + ISSUE_TEMPLATE/*.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds standard repository documentation and GitHub templates to improve onboarding and contribution flow for the workflow-plugin-gcp plugin.

Changes:

  • Add a top-level README.md describing plugin capabilities, install instructions, and a minimal example.
  • Add CONTRIBUTING.md plus GitHub PR/issue templates for consistent project hygiene.
  • Add examples/minimal/config.yaml intended as a validating minimal configuration.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Introduces plugin overview, install snippet, and links; currently overstates supported services and implies env vars are required.
examples/minimal/config.yaml Adds a minimal config example; currently does not match the plugin’s actual module/provider config contracts.
CONTRIBUTING.md Adds contribution guidelines and local dev commands.
.github/PULL_REQUEST_TEMPLATE.md Adds a PR template with test/checklist prompts.
.github/ISSUE_TEMPLATE/feature_request.md Adds a feature request issue template.
.github/ISSUE_TEMPLATE/bug_report.md Adds a bug report issue template.
Comments suppressed due to low confidence (1)

examples/minimal/config.yaml:17

  • The iac.provider module config shown (provider: gcp and credentials: gcp-credentials) doesn’t correspond to the typed provider config this plugin expects. provider/GCPProvider.Initialize requires at least project_id (and optionally region, zone, credentials_file or service_account_json), and there’s no mechanism to reference a gcp.credentials module from iac.provider config.
  - name: gcp-provider
    type: iac.provider
    config:
      provider: gcp
      credentials: gcp-credentials

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Go Reference](https://pkg.go.dev/badge/github.com/GoCodeAlone/workflow-plugin-gcp.svg)](https://pkg.go.dev/github.com/GoCodeAlone/workflow-plugin-gcp)

GCP provider plugin for workflow IaC — manages GKE, Cloud SQL, Memorystore, Compute Engine, Cloud Storage, Cloud Pub/Sub, Cloud Functions, Cloud DNS, Cloud Load Balancing, Cloud Armor, Secret Manager, Cloud CDN, and IAM resources.
Comment thread README.md Outdated

See `examples/minimal/config.yaml`.

Required env vars: `GOOGLE_APPLICATION_CREDENTIALS`, `GCP_PROJECT`.
Comment thread examples/minimal/config.yaml Outdated
Comment on lines +10 to +11
credentialsFile: ${GOOGLE_APPLICATION_CREDENTIALS}
project: ${GCP_PROJECT}
@intel352 intel352 requested a review from Copilot May 19, 2026 15:24
Part of 2026-05-19 multi-repo OSS-readiness QoL sweep.
See: GoCodeAlone/workflow#714

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (1)

examples/minimal/config.yaml:17

  • The iac.provider module config in this example doesn’t match the plugin’s iac.provider contract. The provider expects project_id (required) plus optional region/zone and auth via credentials_file or service_account_json (see provider/provider.go and plugin.contracts.json), not provider: gcp or credentials: <module>. As written, this config is unlikely to work under strict contract validation—please update the example to use the correct fields.
  - name: gcp-provider
    type: iac.provider
    config:
      provider: gcp
      credentials: gcp-credentials

Comment thread examples/minimal/config.yaml Outdated
Comment on lines +10 to +11
credentialsFile: ${GOOGLE_APPLICATION_CREDENTIALS}
project: ${GCP_PROJECT}
Comment thread README.md Outdated
Comment on lines +40 to +41
Required env vars: `GOOGLE_APPLICATION_CREDENTIALS`, `GCP_PROJECT`.

intel352 and others added 2 commits May 19, 2026 11:29
- README: replace invented service list with actual Capabilities()
  resource types (Cloud Run, GKE, Cloud SQL, Memorystore, VPC, LB,
  DNS, Artifact Registry, API Gateway, Firewall, IAM, GCS, SSL certs).
- README: rework env-vars note to clarify ADC is the default;
  GOOGLE_APPLICATION_CREDENTIALS is optional.
- examples/minimal/config.yaml: fix gcp.credentials keys
  (credentialsFile/project → projectId per CreateModule source);
  fix iac.provider keys (project_id per Initialize source).

Part of 2026-05-19 multi-repo OSS-readiness QoL sweep.
See: GoCodeAlone/workflow#714

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds an [Unreleased] section documenting the README, CONTRIBUTING,
example config, and .github templates added by this QoL sweep PR.
Also normalises the format header from "loosely based on" to the
canonical Keep-a-Changelog phrasing.

Part of 2026-05-19 multi-repo OSS-readiness QoL sweep.
See: GoCodeAlone/workflow#714

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@intel352 intel352 merged commit c5796c0 into main May 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants