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

cleanup elastic setup just script #6122

Closed
wants to merge 3 commits into from

Conversation

davidspek
Copy link

The elasticsearch setup job fails currently as can be seen in this comment and likely caused by #5975 placing the insecure flag in a bad location. This PR changes the setup script so that the ${CURL_ARGS[@]} and $ELASTICSEARCH_URL variables are used everywhere fixing the problem from the aforementioned comment.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the devops PR or Issue related to DataHub backend & deployment label Oct 5, 2022
@pedro93
Copy link
Collaborator

pedro93 commented Oct 5, 2022

Hello @davidspek

Have you tried running the elastic search setup job from a more up-to-date image? We have recently fixed the reported bug here: #6079 which then got refactored here: #5502

Please use the head image tag and let us know whether this is still broken.

Thank you.

@maggiehays maggiehays added the community-contribution PR or Issue raised by member(s) of DataHub Community label Oct 13, 2022
@davidspek
Copy link
Author

@pedro93 I don't think I tried the head image, but regardless I think this cleanup is still valid since it ensures the defined variables are used everywhere.

@maggiehays maggiehays added the hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ label Oct 21, 2022
@github-actions
Copy link

github-actions bot commented Nov 1, 2022

Unit Test Results (build & test)

0 tests   - 597   0 ✔️  - 593   0s ⏱️ - 11m 58s
0 suites  - 147   0 💤  -     4 
0 files    - 147   0 ±    0 

Results for commit 4d37d9a. ± Comparison against base commit 73fd358.

@davidspek davidspek closed this Nov 4, 2022
@davidspek davidspek deleted the elastic-setup branch November 4, 2022 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution PR or Issue raised by member(s) of DataHub Community devops PR or Issue related to DataHub backend & deployment hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants