Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 0.3.14 #979

Merged
merged 3 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading