Skip to content

Commit

Permalink
github / cloudbuild check
Browse files Browse the repository at this point in the history
  • Loading branch information
srastatter committed Nov 21, 2024
1 parent 6ac935f commit 047a53d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.3.2] - 2024-11-21

### Added

### Changed

### Fixed

- Fixed logic that checks that cloud-build is not being used with Github, but only if `use_ci=True`

## [1.3.1] - 2024-10-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion google_cloud_automlops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
series of directories to support the creation of Vertex Pipelines.
"""
# pylint: disable=invalid-name
__version__ = '1.3.1'
__version__ = '1.3.2'
__author__ = 'Sean Rastatter'
__credits__ = 'Google'
2 changes: 1 addition & 1 deletion google_cloud_automlops/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def validate_use_ci(deployment_framework: str,
raise ValueError('use_ci must be set to True to use Model Monitoring.')
if schedule_pattern != DEFAULT_SCHEDULE_PATTERN and not use_ci:
raise ValueError('use_ci must be set to True to use Cloud Scheduler.')
if source_repo_type == CodeRepository.GITHUB.value and deployment_framework == Deployer.CLOUDBUILD.value:
if use_ci and source_repo_type == CodeRepository.GITHUB.value and deployment_framework == Deployer.CLOUDBUILD.value:
raise ValueError('Using Github and Cloud Build for CI is not currently supported. '
'Please use Github Actions instead.')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setup(
name='google-cloud-automlops',
version='1.3.1',
version='1.3.2',
description='Build MLOps Pipelines in Minutes.',
long_description=readme_contents,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 047a53d

Please sign in to comment.