Closed MohitNSamagra closed 2 weeks ago
@jaanbaaz to check with Kanav
@jaanbaaz to debug with @KDwevedi
To deploy the discord bot, this action is run on commits to main
on the discord bot repo to build and push the docker image to ghcr.
When jenkins deploy is triggered, it pulls this image and deploys it as a docker container.
Unfortunately, the build-and-push action workflow was failing because it was running the workflow file from dev
branch which was broken.
If the image doesn't build, the image in the container repository doesn't update, therefore changes to the code don't get deployed. Jenkins was working fine, it just wasn't deploying the updated image.
We pushed a hotfix to the .github/workflows configuration file on the repo on the main branch that allows us to trigger a image build for the main branch manually and selectively.
This ran successfully and updated the docker image, which in turn allows new prod changes to be deployed.
Deployment undertaken. Bot not updated. Bot has been blocked by discord due to auto-spam id. Discord support has not come back. Need to figure a different approach.
Quarantine was not the issue. We had to run a db change on prod. It has been done now.
Flow:
#authorize
channelcontributors_discord
)contributors_registration
table for user's discord id.contributors_registration
a verified contributor role.
Problem: Roles on discord are not being assigned by our bot Cause: Deployment process is complex - Jenkis build with unsealing of vault. Unsealing the vault is unknown as of now.