You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, I finally took the time to properly set up CI/CD for the services backend code. I've set up two environments:
The workflow setup:
Anytime a PR is made to main, that'll kick off a build in the QA environment. The branch being built must be named qa or patch-*.
Anytime code is pushed to main (eg. from a merge or direct push), that'll kick off a build in the PROD environment.
In addition to my Google App Engine code, the PROD build workflow also deploys the GCF (Google Cloud Function) for the UpdateMemberMetrics(...) function in PROD as well.
This was my first time setting up environments in GitHub Actions but everything went pretty smoothly! I encountered a tiny hiccup setting up the GitHub Action for GCF but the Google person was super-responsive and helpful! Basically, what I'd been concerned about was a total non-issue. 🤦♂️
Anyway, all of this devops stuff is properly set up now so I can finally get back to coding! 😄
@anitabe404 Totally! GitHub is definitely my favorite website on the entire internet. The whole idea of random strangers meeting up and working towards learning/building a common edifice of code (a website, game, anything) that withstands the inexorable march of time and lasts for the remainder of human civilization is really fun to think about! 😄 Like, once you add/commit/push, that's pretty much going into the great Microsoft Azure cloud forever (though I actually think parts of GitHub are still on AWS, actually; but I'm sure it's all getting moved over slowly, ever since the buyout). "Git spelunking" is totally a thing though... probably the closest I'm ever gonna get to being a paleontologist! 🦖🦕😎
As far as social networks though, GitHub's really one of the few ones that humanity got right, IMHO. So many super-powerful tools... and all for free! Btw, lmk if you have any questions about the platform at all; I've learned a ton these past few weeks!
Tuesday
Today, I finally took the time to properly set up
CI/CD
for theservices
backend code. I've set up two environments:The workflow setup:
main
, that'll kick off a build in theQA
environment. The branch being built must be namedqa
orpatch-*
.main
(eg. from a merge or direct push), that'll kick off a build in thePROD
environment.In addition to my
Google App Engine
code, thePROD
build workflow also deploys theGCF
(Google Cloud Function) for theUpdateMemberMetrics(...)
function inPROD
as well.This was my first time setting up
environments
inGitHub Actions
but everything went pretty smoothly! I encountered a tiny hiccup setting up theGitHub Action
for GCF but the Google person was super-responsive and helpful! Basically, what I'd been concerned about was a total non-issue. 🤦♂️Anyway, all of this devops stuff is properly set up now so I can finally get back to coding! 😄
Today's Tasks
Set up
environments
forGitHub Actions
Deploy
Services 0.0.19
toPROD
(this is the version that addsLastCard
to theStudyMember
model)References 🔗
The text was updated successfully, but these errors were encountered: