forked from opensearch-project/sql
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add GitHub workflow to pack BI connectors #19
Merged
20 commits merged into
powerbi-main
from
add-github-workflow-pack-bi-connectors-AOS-253
Dec 21, 2021
Merged
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
396ce1c
Added GitHub actions script to build Tableau and Power BI connector. …
Yury-Fridlyand 1d3cceb
A typo fix in yml
Yury-Fridlyand c277fe2
A dummy commit to make GitHub Actions start the desired workflow
Yury-Fridlyand 2be30f3
Workflow fix - pack Tableau ODBC connector instead of JDBC one
Yury-Fridlyand 604adbf
Fix line endings in the workflow file
Yury-Fridlyand 91dd569
Another dummy commit to start the desired workflow
Yury-Fridlyand 6b89593
Fix paths in the GitHub workflow
Yury-Fridlyand 015fa7b
Modified workflow to trigger on changes of itself
Yury-Fridlyand 081392e
Path fix for preparation step
Yury-Fridlyand 450d483
Added some changes to the second PBI connector - they should differ m…
Yury-Fridlyand a62bdd1
Renamed PBI connector files
Yury-Fridlyand 47530d0
Moved Tableau JDBC connector to bi-connectors
Yury-Fridlyand 21e0bdf
Added packing Tableau JDBC connector
Yury-Fridlyand f5692cc
Renamed Power BI connector as "OpenSearch Project"
Yury-Fridlyand a432ac2
Renamed output artifact
Yury-Fridlyand f53a46d
Merge branch 'powerbi-main' into add-github-workflow-pack-bi-connecto…
Yury-Fridlyand 4cadfd1
Disabled building Tableau ODBC connector, because it is not ready for…
Yury-Fridlyand 6e37870
Updated workflow step description
Yury-Fridlyand ccb52f4
Removed packing ODBC driver for Tableau (re: 4cadfd18).
Yury-Fridlyand 2e67626
Updated workflow, because connector source files were renamed after m…
Yury-Fridlyand File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Build connectors for BI tools | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'bi-connectors/PowerBIConnector/**' | ||
- 'bi-connectors/TableauConnector/**' | ||
- '.github/workflows/bi-connectors.yml' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Pack Tableau JDBC connector | ||
id: pack-tableau-jdbc | ||
run: | | ||
zip -r opensearch_sql_jdbc.taco . -x *.taco | ||
working-directory: bi-connectors/TableauConnector/opensearch_sql_jdbc | ||
- name: Prepare Power BI ODBC connector | ||
run: | | ||
cp SqlOdbcPBIConnector.pq SqlOdbcPBIConnector.m | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Pack Power BI ODBC connector | ||
id: pack-powerbi-odbc-os-proj | ||
run: | | ||
zip OpenSearchProject.mez *.png *.m *.resx *.pqm | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Prepare Power BI ODBC connector for 'Amazon OpenSearch Service' | ||
id: prep-powerbi-odbc-amz-os-svc | ||
run: | | ||
sed -i 's/<value>OpenSearch Project<\/value>/<value>Amazon OpenSearch Service<\/value>/g' resources.resx | ||
sed -i 's/Documentation.Name = "OpenSearch Project"/Documentation.Name = "Amazon OpenSearch Service"/g' SqlOdbcPBIConnector.m | ||
sed -i 's/SqlOdbcPBIConnector\([^1-9]\)/AmazonOpenSearchConnector\1/g' SqlOdbcPBIConnector.m | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Pack Power BI ODBC connector for 'Amazon OpenSearch Service' | ||
id: pack-powerbi-odbc-amz-os-svc | ||
run: | | ||
zip AmazonOpenSearchService.mez *.png *.m *.resx *.pqm | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Upload Tableau JDBC connector | ||
if: steps.pack-tableau-jdbc.outcome == 'success' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: TableauConnectors | ||
path: bi-connectors/TableauConnector/opensearch_sql_jdbc/opensearch_sql_jdbc.taco | ||
- name: Upload Power BI ODBC connectors | ||
if: steps.pack-powerbi-odbc-os-proj.outcome == 'success' || (steps.prep-powerbi-odbc-amz-os-svc.outcome == 'success' && steps.pack-powerbi-odbc-amz-os-svc.outcome == 'success') | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: PBIConnectors | ||
path: 'bi-connectors/PowerBIConnector/*.mez' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
bi-connectors/TableauConnector/opensearch_sql_odbc/connection-dialog.tcd
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
bi-connectors/TableauConnector/opensearch_sql_odbc/connectionBuilder.js
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
bi-connectors/TableauConnector/opensearch_sql_odbc/connectionResolver.tdr
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these names right after the rebranding that occurred?