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

Jimmy/initial setup #1

Merged
merged 5 commits into from
Oct 23, 2023
Merged

Jimmy/initial setup #1

merged 5 commits into from
Oct 23, 2023

Conversation

Jimmyj30
Copy link
Contributor

@Jimmyj30 Jimmyj30 commented Oct 19, 2023

initial setup/"boilerplate" code for the user config lookup functionality

Seems to work? I guess we can address formatting the email nicely, as well as finding (and fixing) bugs next?

Screen Shot 2023-10-21 at 6 13 08 PM

- add logger
- add logic for retrieving a yml file from a user config
- TODO: sending emails, creating edit link
- environment variables for the email
- generate edit link based on user config
@Jimmyj30 Jimmyj30 marked this pull request as ready for review October 21, 2023 20:12
@Jimmyj30 Jimmyj30 requested a review from ben-z October 21, 2023 20:12
Copy link
Member

@ben-z ben-z left a comment

Choose a reason for hiding this comment

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

Looks good overall! One thing to test is the end to end deployment pipeline. i.e. does the deployment update automatically with the latest user configs?

@ben-z
Copy link
Member

ben-z commented Oct 22, 2023

We should also add in error reporting like what we have in the Discord bot: https://github.com/WATonomous/discord-provisioner-bot/blob/801784a61d4499e2d3646898ba38d8fa33dbb97a/main.py#L13-L27

You can create a new Sentry project via IaC and pass it to the deployment: https://github.com/WATonomous/infra-config/blob/a2ad9534ce7e83179a07c7d65fbb608f0bde7e17/sentry/main.tf. But it's also useful to try it out manually first.

@Jimmyj30 Jimmyj30 merged commit 4f49361 into main Oct 23, 2023
@Jimmyj30 Jimmyj30 deleted the jimmy/initial_setup branch October 24, 2023 00:02
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.

2 participants