Skip to content

Commit

Permalink
release 0.3.14 (#979)
Browse files Browse the repository at this point in the history
* release 0.3.14

* fix export (again)

* fix update
  • Loading branch information
iakov-aws authored Oct 28, 2024
1 parent 2422354 commit bb329a3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cfn-templates/cid-cfn.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AWSTemplateFormatVersion: '2010-09-09'
Description: Deployment of Cloud Intelligence Dashboards v0.3.13
Description: Deployment of Cloud Intelligence Dashboards v0.3.14
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
Expand Down Expand Up @@ -1625,7 +1625,7 @@ Resources:
Description: An AWS managed layer with a cid-cmd package installed
Content:
S3Bucket: !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}'
S3Key: 'cid-resource-lambda-layer/cid-0.3.13.zip' #replace version here if needed
S3Key: 'cid-resource-lambda-layer/cid-0.3.14.zip' #replace version here if needed
CompatibleRuntimes:
- python3.10
- python3.11
Expand Down
2 changes: 1 addition & 1 deletion cid/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.3.13'
__version__ = '0.3.14'
2 changes: 1 addition & 1 deletion cid/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ def check_dashboard_version_compatibility(self, dashboard_id):
cid_print(f" Version {str(dashboard.cid_version)}")
else:
cid_print(f"An update is available:")
cid_print(f" Version {str(dashboard.cid_version): <9} -> {str(cid_version_latest): <9}")
cid_print(f" Version {str(dashboard.cid_version): <9} -> {str(dashboard.cid_version_latest): <9}")

try:
return dashboard.cid_version.compatible_versions(dashboard.cid_version)
Expand Down
5 changes: 3 additions & 2 deletions cid/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ def export_analysis(qs, athena, glue):
}
if dep_cur:
datasets[dataset_name]['dependsOn']['cur'] = True
all_views, all_databases = list(zip(*all_views_and_databases))
all_views = [view_and_database[0] for view_and_database in all_views_and_databases]
all_databases = [view_and_database[1] for view_and_database in all_views_and_databases]
if len(all_databases) > 1:
logger.warning(f'CID only supports one database. Multiple used: {all_databases}') # fixme need to fix database
logger.warning(f'CID only supports one database. Multiple used: {all_databases}')

if all_databases:
athena.DatabaseName = all_databases[0]
Expand Down

0 comments on commit bb329a3

Please sign in to comment.