-
Notifications
You must be signed in to change notification settings - Fork 79
Lesson on automating with CICD or Jenkins #153
Comments
See #151 - you guys may want to collaborate. Could maybe use two lessons, but one of you focus on Gitlab, and the other dive deeper into Jenkins? Up to you. FYI, I started looking into expanding the existing Git lesson with a Gitlab container. You can still have a separate lesson (which I think it's a good idea since you're going well beyond Git basics) but just FYI since everything in Antidote needs to be self-contained (i.e. no Github) |
I disagree slightly. For the purposes of a lesson, the student doesn't need to know the plumbing. There's essentially no difference between a That being said, I would prefer Jenkins as the CI/CD engine, mainly because it's the standard and works with either Gitlab or Github (or Bitbucket or whatever). I'm not opposed to also demonstrating Gitlab CI, but I think the priority should be on Jenkins. |
Forked @dgjnpr and @abhichau and propose lesson-32. Not sure how we avoid conflicts @Mierdin? Also, in thinking about this...the SCM doesn't matter at all. Since Gitlab is an absolute resource hog, I would propose a simpler (and smaller) SCM, like GOGS, which offers a Github-like interface, and is much lighter than Gitlab. |
Can you clarify? Conflicts with what? In case you're referring to the lesson ID, don't worry about it. I'll make sure it's unique before it's merged in the unlikely event it isn't already. By the way, even though you all are working on similar lesson ideas, it doesn't mean you all have to build the same lesson. Just figure it would be worth coordinating so you can tackle topics the way you want without stepping on each others toes. That might mean you all build different labs in the same lesson (if your content focuses on the same general concepts), or it might not. That's up to you to plan out
Keep in mind we're running network devices 😄 so resource demands are fairly high already. I definitely appreciate keeping it light where it makes sense, as long as it doesn't detract from the learning experience by teaching something that's totally different from what the user might see in the real world. GOGS looks pretty slick and Github-like as you mention, so just make sure in the content/guides you do a good job of mapping GOGS concepts to Github concepts, because let's face it, that's where this knowledge is likely to get applied. |
I agree @Mierdin. We've used GOGS for a customer solution before, so I'm confident that it's sufficient and won't detract. |
@ntwrkguru By the way, I created nre-learning/antidote-core#53 to add lesson ID uniqueness checks to the syringe command-line tool. Shortly after the next release I'll follow up with https://github.com/nre-learning/antidote/issues/158 and get it added to CI. That way you know in your PRs that your lesson ID is unique. |
Hey @ntwrkguru and @dgjnpr, any progress on this one? Anything I can do to help? |
Hi,
I propose a CICD 3 stage lesson using Gitlab. This could be done with Git{Hub,Lab} + Jenkins but that requires additional plumbing and explaining (i.e. how the plumbing works).
This is a more practical "how do I do CICD for networking". Prereqs are Ansible and it's "--dryrun" feature, basic git.
--
Cheeers
Dg
The text was updated successfully, but these errors were encountered: