File tree Expand file tree Collapse file tree 5 files changed +21
-7
lines changed Expand file tree Collapse file tree 5 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
All notable changes to this project will be documented in this file.
3
3
4
+ ## [ 1.2.5] - 2023-10-05
5
+
6
+ ### Added
7
+
8
+ ### Changed
9
+
10
+ ### Fixed
11
+
12
+ - Fixed bug with generating .github/workflows directories
13
+
4
14
## [ 1.2.4] - 2023-10-03
5
15
6
16
### Added
Original file line number Diff line number Diff line change 38
38
GENERATED_GITHUB_ACTIONS_FILE ,
39
39
GENERATED_DEFAULTS_FILE ,
40
40
GENERATED_DIRS ,
41
+ GENERATED_GITHUB_DIRS ,
41
42
GENERATED_RESOURCES_SH_FILE ,
42
43
GENERATED_SERVICES_DIRS ,
43
44
GENERATED_TERRAFORM_DIRS ,
44
- GITHUB_DIR ,
45
45
OUTPUT_DIR
46
46
)
47
47
from google_cloud_automlops .utils .utils import (
@@ -278,7 +278,7 @@ def generate(
278
278
if provisioning_framework == Provisioner .TERRAFORM .value :
279
279
make_dirs (GENERATED_TERRAFORM_DIRS )
280
280
if deployment_framework == Deployer .GITHUB_ACTIONS .value :
281
- make_dirs (GITHUB_DIR )
281
+ make_dirs (GENERATED_GITHUB_DIRS )
282
282
283
283
# Set derived vars if none were given for certain variables
284
284
derived_artifact_repo_name = f'{ naming_prefix } -artifact-registry' if artifact_repo_name is None else artifact_repo_name
Original file line number Diff line number Diff line change 23
23
series of directories to support the creation of Vertex Pipelines.
24
24
"""
25
25
# pylint: disable=invalid-name
26
- __version__ = '1.2.4 '
26
+ __version__ = '1.2.5 '
27
27
__author__ = 'Sean Rastatter'
28
28
__credits__ = 'Google'
Original file line number Diff line number Diff line change 58
58
59
59
# AutoMLOps file paths
60
60
BASE_DIR = 'AutoMLOps/'
61
- GITHUB_DIR = BASE_DIR + '.github/workflows/'
62
61
GENERATED_DEFAULTS_FILE = BASE_DIR + 'configs/defaults.yaml'
63
62
GENERATED_PIPELINE_SPEC_SH_FILE = BASE_DIR + 'scripts/build_pipeline_spec.sh'
64
63
GENERATED_BUILD_COMPONENTS_SH_FILE = BASE_DIR + 'scripts/build_components.sh'
67
66
GENERATED_RESOURCES_SH_FILE = BASE_DIR + 'provision/provision_resources.sh'
68
67
GENERATED_PUBLISH_TO_TOPIC_FILE = BASE_DIR + 'scripts/publish_to_topic.sh'
69
68
GENERATED_CLOUDBUILD_FILE = BASE_DIR + 'cloudbuild.yaml'
70
- GENERATED_GITHUB_ACTIONS_FILE = GITHUB_DIR + 'github_actions.yaml'
69
+ GENERATED_GITHUB_ACTIONS_FILE = BASE_DIR + '.github/workflows/ github_actions.yaml'
71
70
GENERATED_PIPELINE_REQUIREMENTS_FILE = BASE_DIR + 'pipelines/requirements.txt'
72
71
GENERATED_PIPELINE_FILE = BASE_DIR + 'pipelines/pipeline.py'
73
72
GENERATED_PIPELINE_RUNNER_FILE = BASE_DIR + 'pipelines/pipeline_runner.py'
97
96
98
97
GENERATED_TERRAFORM_DIRS = [
99
98
BASE_DIR + 'provision/state_bucket' ,
100
- BASE_DIR + 'provision/environment' ,
99
+ BASE_DIR + 'provision/environment'
100
+ ]
101
+
102
+ GENERATED_GITHUB_DIRS = [
103
+ BASE_DIR + '.github' ,
104
+ BASE_DIR + '.github/workflows'
101
105
]
102
106
103
107
# temporary files
Original file line number Diff line number Diff line change 20
20
21
21
setup (
22
22
name = 'google-cloud-automlops' ,
23
- version = '1.2.4 ' ,
23
+ version = '1.2.5 ' ,
24
24
description = 'Build MLOps Pipelines in Minutes.' ,
25
25
long_description = readme_contents ,
26
26
long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments