Skip to content

Commit

Permalink
Merge pull request #5037 from ebmdatalab/rename-ebmbot
Browse files Browse the repository at this point in the history
Rename ebmbot fabric user to bennettbot
  • Loading branch information
rebkwok authored Sep 26, 2024
2 parents 97005bf + a4ab083 commit e26494d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
env.hosts = ["web2.openprescribing.net"]
env.forward_agent = True
env.colorize_errors = True
env.user = "ebmbot"
env.user = "bennettbot"

environments = {"production": "openprescribing", "staging": "openprescribing_staging"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Command(BaseCommand):
def handle(self, measure_id, **options):
if not options["delete_live_measure"]:
if not measure_id.startswith(settings.MEASURE_PREVIEW_PREFIX):
# We want these errors to be visble to users who run via ebmbot but the
# We want these errors to be visble to users who run via bennettbot but the
# only way to achieve that is to write them to stderr and exit 0 :(
self.stdout.write(
f"Not deleting '{measure_id}' because it doesn't look like a "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def handle(self, github_url, **options):
upload_supplementary_tables()
measure_id = import_preview_measure(github_url)
except BadRequest as e:
# We want these errors to be visble to users who run via ebmbot but the only
# We want these errors to be visble to users who run via bennettbot but the only
# way to achieve that is to write them to stderr and exit 0 :(
self.stdout.write(
f"Importing measure preview failed for {github_url}\n\n{e.message}"
Expand Down

0 comments on commit e26494d

Please sign in to comment.