This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # marker (optional, keep for debugging) | |
| echo "ENGINE_INSTALL_URL_RAN $(date -Iseconds)" > /root/engine-install-marker.txt | |
| # install Docker | |
| curl -fsSL https://get.docker.com | sh | |
| LINE='159.223.225.134 gitlab.xs2event.com' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| from weakref import WeakKeyDictionary | |
| import nameko | |
| from nameko.extensions import DependencyProvider | |
| import sentry_sdk | |
| from sentry_sdk import Hub | |
| from sentry_sdk.utils import event_from_exception | |
| logger = logging.getLogger("workers") |