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

feat(quickstart): restart actions pod in case of failures #4342

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

anshbansal
Copy link
Collaborator

Sometimes actions pod fails. We should restart it a few times to improve user experience.

The format used is undocumented but works as per https://stackoverflow.com/questions/42216017/docker-compose-restart-policy#comment100592024_43006595

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)

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

Unit Test Results (build & test)

  51 files   -   25    51 suites   - 25   58s ⏱️ - 15m 17s
237 tests  - 392  237 ✔️  - 333  0 💤  - 59  0 ±0 

Results for commit 978ac3d. ± Comparison against base commit beb51eb.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@jjoyce0510 jjoyce0510 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM.

Do we know why these have been failing to spin up?

@anshbansal
Copy link
Collaborator Author

For one case it was an air-gapped environment which will be fixed when we merge in https://github.com/linkedin/datahub/pull/4350/files, release datahub cli, make change in actions, do a release, update quickstart in datahub

In general I think there should be retries in our compose files in case something crashes.

@shirshanka shirshanka merged commit e6a2615 into datahub-project:master Mar 8, 2022
@anshbansal anshbansal deleted the restart_failures branch March 9, 2022 08:19
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants