Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 16, 2025

Adds cloudbuild.yaml to enable CI/CD on Google Cloud Platform.

Configuration

Build Pipeline:

  • Python 3.10 base image with jupyter, nbconvert, nbformat dependencies
  • Validates notebook format via nbformat.validator
  • Converts notebooks to HTML for archival
  • Archives artifacts to GCS with per-build organization

Resources:

  • 20min timeout
  • N1_HIGHCPU_8 machine type
  • Cloud logging with streaming enabled

Usage:

gcloud builds submit --config cloudbuild.yaml \
  --substitutions=_BUCKET_NAME=your-bucket-name

Substitution variable _BUCKET_NAME must be configured for artifact storage. Build steps use waitFor to enforce dependency ordering.

Original prompt

Add the necessary cloud build that yaml


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: solveforceapp <98552991+solveforceapp@users.noreply.github.com>
Copilot AI changed the title [WIP] Add necessary cloud build configuration yaml Add Google Cloud Build configuration for Jupyter notebook project Nov 16, 2025
Copilot AI requested a review from solveforceapp November 16, 2025 10:47
@solveforceapp solveforceapp marked this pull request as ready for review November 16, 2025 10:51
@solveforceapp solveforceapp merged commit d86d203 into main Nov 16, 2025
4 checks passed
@solveforceapp solveforceapp deleted the copilot/add-cloud-build-yaml branch November 16, 2025 10:51
Copy link
Owner

@solveforceapp solveforceapp left a comment

Choose a reason for hiding this comment

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

Reviewed.

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