In order to use GCB for all building and publishing needs, new cloudbuild-*.yaml files are added that will be used by triggers in our GCP project. Moreover, yarn.lock file has been updated to pull dependencies from google's verified sources.
Changes:
Updated yarn.lock to change dependencies location to google npm package manager.
Removed cloudbuild.yaml file and replaced with following new build files.
Added cloudbuild-publish.yaml. This build will get triggered when new code is pushed to main such that the version.bzl file has been updated i-e: a new version is ready for release. This will build and published to updated packages to NPM.
Added cloudbuild-test.yaml. This will be trigger when a new PR is created or code is pushed to main such that the version.bzl is not changed. This will run tests.
Added cloudbuild-version.yaml. This will be triggered on 1st of every month. This will update the version number in version.bzl in a new branch and create a PR to main.
Added scripts/update_version. The previous step uses this script to update the patch version number.
Summary:
In order to use GCB for all building and publishing needs, new
cloudbuild-*.yaml
files are added that will be used by triggers in our GCP project. Moreover,yarn.lock
file has been updated to pull dependencies from google's verified sources.Changes:
yarn.lock
to change dependencies location to google npm package manager.cloudbuild.yaml
file and replaced with following new build files.cloudbuild-publish.yaml
. This build will get triggered when new code is pushed to main such that theversion.bzl
file has been updated i-e: a new version is ready for release. This will build and published to updated packages to NPM.cloudbuild-test.yaml
. This will be trigger when a new PR is created or code is pushed to main such that the version.bzl is not changed. This will run tests.cloudbuild-version.yaml
. This will be triggered on 1st of every month. This will update the version number inversion.bzl
in a new branch and create a PR to main.scripts/update_version
. The previous step uses this script to update the patch version number.