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

Gather logs should capture logs from different locations (PG) #8058

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

SahithiMy
Copy link
Contributor

@SahithiMy SahithiMy commented Jul 12, 2023

🔩 Description: What code changed, and why?

Modified the gather logs to capture logs from below location in chef managed postgres cluster
/hab/svc/automate-ha-postgresql/var/pg_log

⛓️ Related Resources

https://chefio.atlassian.net/browse/CHEF-3363

👍 Definition of Done

Added /hab/svc/automate-ha-postgresql/var/pg_log to Postgresql cluster in gather-logs

👟 How to Build and Test the Change

rebuild components/automate-cli/
chef-automate gather-logs

✅ Checklist

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • Tests added/updated? (all new code needs new tests)
  • Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

📷 Screenshots, if applicable

https://progresssoftware.sharepoint.com/:v:/s/ChefCoreC/EaVpTKYMTVNAsYIdQ4ESRgEB761RZB0LpQGJdAi8qtWB8A?e=Z7d7vZ

@netlify
Copy link

netlify bot commented Jul 12, 2023

👷 Deploy Preview for chef-automate processing.

Name Link
🔨 Latest commit 93f69d5
🔍 Latest deploy log https://app.netlify.com/sites/chef-automate/deploys/64b62a2543c9f00008bfabfa

@SahithiMy SahithiMy marked this pull request as draft July 12, 2023 07:09
@SahithiMy SahithiMy marked this pull request as ready for review July 13, 2023 04:08
Signed-off-by: SahithiMy <sahithi.mylangam@progress.com>
@sonarqube-for-infrastructure-prod

SonarQube Quality Gate

Quality Gate failed

Failed condition C Maintainability Rating on New Code (is worse than A)

See analysis details on SonarQube

Fix issues before they fail your Quality Gate with SonarLint SonarLint in your IDE.

@YashviJain01 YashviJain01 self-requested a review July 18, 2023 11:18
@Dmaddu Dmaddu merged commit 22240c1 into main Jul 18, 2023
@Dmaddu Dmaddu deleted the sahithi/CHEF-3363 branch July 18, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants