GeekZoneHQ / web

Software to power the Geek.Zone website and apps
http://geek.zone/web
GNU General Public License v3.0
19 stars 29 forks source link

PR Infra Deployment Message #413

Open jamesgeddes opened 3 years ago

jamesgeddes commented 3 years ago

What's your idea?

Building on #330, when testing environment infra has been deployed successfully, @geekzonebot should post in the PR with the following message.

I have deployed these changes to ENV-URL and will keep that environment active until SHUTDOWN-DATETIME. Please test the change.

If you want to activate the environment after that time, a member should post the following message to this PR.

@geekzonebot activate

If this PR is approved, I will destroy this testing environment and deploy this change to production. If this PR is declined, I will just destroy this testing environment.

One hour before SHUTDOWN-DATETIME, @geekzonebot should post the following to the PR.

I will shutdown this testing environment in one hour. If you want to keep the environment alive for an additional 3 hours, or reactivate it, a member should post the following message on this PR

@geekzonebot keepalive

When a member posts first @geekzonebot keepalive, @geekzonebot should post,

keepalive request received. You have an additional 3 hours to test at ENV-URL

When a member posts subsequent @geekzonebot keepalive requests outside of permitted time, @geekzonebot should post,

keepalive requests are only permitted during the final hour of deployment.

When a non-member posts @geekzonebot keepalive or @geekzonebot activate, @geekzonebot should post,

@username Only members are allowed to do that. Please ask a member to help.

Rules

Impact

High

Urgency

Later

Code of Conduct

giulio-giunta commented 3 years ago

@jamesgeddes How do you manage the bot? I'm totally new to this

jamesgeddes commented 3 years ago

Good question! I'm not sure. How does dependabot to it? This will be very similar to that.