~erin

Trackers

~erin/web-canary

Last active 2 months ago

#10 Dockerize bot deployment 14 hours ago

on ~luma_inhibitor/cables

REPORTED RESOLVED FIXED

#10 Dockerize bot deployment 14 hours ago

Comment by ~erin on ~luma_inhibitor/cables

Pushed cd2f4141 to main:

  • Parameterize POETRY_VERSION at Docker image build-time
  • Use /var/lib/cables as the persistent data volume for state
  • Only start redis container if --profile redis is passed to docker-compose
  • By default, don't build dev dependencies from docker-compose (by setting/conditioning on ENV=production)
  • Increment bot version, add myself as a contributor
  • poetry was bumped to 1.1.10 due to an error about VersionUnion when installing with dev dependencies

This was tested by commenting out the code that initializes and connect to redis. The redis profile was not tested with docker-compose. While poetry install complains that the lock file is out of date during build, I didn't update it as part of this effort.

The bot's test installation is now running from this commit. :)

@luma_inhibitior: Anything else you want to see from this before I close the ticket?

#14 Delete role react management messages after a delay 18 hours ago

Comment by ~erin on ~luma_inhibitor/cables

Yes, it would.

#14 Delete role react management messages after a delay 18 hours ago

feature/enhancement added by ~erin on ~luma_inhibitor/cables

#12 Create color role as the requestor's username 18 hours ago

style added by ~erin on ~luma_inhibitor/cables

#14 Delete role react management messages after a delay 18 hours ago

Comment by ~erin on ~luma_inhibitor/cables

Clarified intent in ticket description.

#10 Dockerize bot deployment 18 hours ago

~erin assigned ~erin to #10 on ~luma_inhibitor/cables

#10 Dockerize bot deployment 18 hours ago

Comment by ~erin on ~luma_inhibitor/cables

Got it. Pushed fce51b88 to main to add my Dockerfile and move docker-compose.yaml to root. Will work on the remaining changes requested.

#14 Delete role react management messages after a delay 18 hours ago

Ticket created by ~erin on ~luma_inhibitor/cables

Consider having the bot delete the requestor's .add-role-react and .delete-role-react message after it confirms with react + a short delay (maybe 5-30 seconds).

I think this is valuable since those messages have to be sent in the channel that the message exists in, and said channel may be a welcome/gate channel. The requestor would probably want to delete those messages anyway. This would automate that for them.

#12 Create color role as the requestor's username 18 hours ago

Ticket created by ~erin on ~luma_inhibitor/cables