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(codespaces): ensure demo data is included in prebuilt #4149

Merged
merged 5 commits into from
Aug 20, 2024

Conversation

fatih-acar
Copy link
Contributor

No description provided.

Signed-off-by: Fatih Acar <fatih@opsmill.com>
This should fix issues where docker compose restarts service due to
duplicate appends when chaining invoke commands like:

invoke demo.build demo.start

Signed-off-by: Fatih Acar <fatih@opsmill.com>
Make use of the WEB_CONCURRENCY env var as documented here:
https://docs.gunicorn.org/en/stable/settings.html#workers

Signed-off-by: Fatih Acar <fatih@opsmill.com>
Prebuild jobs run with 2 vCPUs (show cpuinfo at startup).
Sleep for 2 minutes because starting infrahub takes at least 90s.
Schema loading also takes 90s.
Set username of rabbitmq docker compose to prevent EACCES error on
codespaces startup.

Signed-off-by: Fatih Acar <fatih@opsmill.com>
RabbitMQ can take up to 40 seconds to start on GitHub Codespaces.

Signed-off-by: Fatih Acar <fatih@opsmill.com>
@fatih-acar fatih-acar added the ci/skip-changelog Don't include this PR in the changelog label Aug 20, 2024
@fatih-acar fatih-acar merged commit 0f7ad82 into stable Aug 20, 2024
46 checks passed
@fatih-acar fatih-acar deleted the fac-demo-codespaces-stable branch August 20, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/skip-changelog Don't include this PR in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants