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

Update ingestion_dependency.sh #14139

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

preetsshah
Copy link
Contributor

Describe your changes:

I worked on updating the way database connection is established in ingestion_dependency.sh script because the current way it is done requires modification in the container file using "sed" command. File - "/opt/airflow/airflow.cfg" is modified in order to feed the database connection string. However, as per this doc, we can export the connection string in environment variable and db connection can still be established. This way, no file modification is required.

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Copy link
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

Copy link
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@preetsshah preetsshah marked this pull request as ready for review November 30, 2023 08:10
akash-jain-10
akash-jain-10 previously approved these changes Nov 30, 2023
@akash-jain-10 akash-jain-10 added the safe to test Add this label to run secure Github workflows on PRs label Dec 4, 2023
@akash-jain-10 akash-jain-10 merged commit 20cf8f6 into open-metadata:main Dec 4, 2023
Copy link

sonarqubecloud bot commented Dec 4, 2023

[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

akash-jain-10 pushed a commit that referenced this pull request Dec 4, 2023
* Update ingestion_dependency.sh

* Add parameter for DB connection properties

---------

Co-authored-by: Akash Jain <[email protected]>
(cherry picked from commit 20cf8f6)
MrVinegar pushed a commit to MrVinegar/OpenMetadata that referenced this pull request Dec 15, 2023
* Update ingestion_dependency.sh

* Add parameter for DB connection properties

---------

Co-authored-by: Akash Jain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Ingestion safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants