Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Erwin
Feb 17, 2006

Famethrowa posted:

I'd especially like to get experience with CI/CD but maybe I just really need a developer job first....

1. Make a build pipeline for your discord bots. Github Actions is easy to get started with.
2. Refactor your bot to be 12-factor-ish - no hard-coded secrets or URLs. Maybe package it in a docker image. Write some tests. Make your pipeline run unit tests and lint the code in addition to building it.
3. Add deployment to your pipeline. Every commit to main should get deployed without further intervention.

Optionally:
- test and prod - maybe the test bot works in a different channel or something so you can test new functionality.
- end-to-end tests - your pipeline deploys the bot, then calls the Discord API to send a message or whatever triggers the bot, then calls the API again to assert the bot did the right thing. Don't go overboard, just put the scaffolding in place.

If you do that, then congrats - you know way more about how CI/CD actually works than a large portion of professional developers at many organizations. You can demo it in an interview - not every employer will feel that that "counts" as experience, but some good one will somewhere and boom, you have a developer job.

Adbot
ADBOT LOVES YOU

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply