|
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.
|
# ¿ Sep 26, 2023 19:19 |
|
|
# ¿ May 15, 2024 17:00 |