How dangerous is it to work with a server that does not have sophisticated firewalls?
I am just starting to learn all the DevOps necessary to deploy my web apps.
My AWS ec-2 are all behind a security group that only allows SSH access from my static IP home address (just got one recently). I have made one DO droplet be accessible via a password (less than 10 letters) so I can screw around with it in class and when im not home. I still didn't learn how to do what I do with security groups in AWS (IP restrictions)on DO.
How dangerous is it? Can my machine ever get internet STD's from SSHing to an instance that is open like that? I read on SO that in mere minutes of my server going on the air, I can expect thousands of brute force attacks. But how can they find me so quick? It takes google weeks to index new domains. How are attackers notified of new instances so quick?
https://redd.it/eom1qx
@r_devops
I am just starting to learn all the DevOps necessary to deploy my web apps.
My AWS ec-2 are all behind a security group that only allows SSH access from my static IP home address (just got one recently). I have made one DO droplet be accessible via a password (less than 10 letters) so I can screw around with it in class and when im not home. I still didn't learn how to do what I do with security groups in AWS (IP restrictions)on DO.
How dangerous is it? Can my machine ever get internet STD's from SSHing to an instance that is open like that? I read on SO that in mere minutes of my server going on the air, I can expect thousands of brute force attacks. But how can they find me so quick? It takes google weeks to index new domains. How are attackers notified of new instances so quick?
https://redd.it/eom1qx
@r_devops
reddit
How dangerous is it to work with a server that does not have...
I am just starting to learn all the DevOps necessary to deploy my web apps. My AWS ec-2 are all behind a security group that only allows SSH...
CircleCI vs Gitlab
Hi all,
I know these topics come up frequently but I havent seen a specific comparison that doesnt end up as a discussion about 50 other CI tools too :)
I'm currently using Gitlab, very happy with it overall (coming from Jenkins originally) but my new client has developers who want to use Circle (and have experience with Circle), particularly for its out of the box macOS build integration (though we can solve that via gitlab with a macstadium runner in any case)
I'm not wedded to Gitlab and I know that CircleCI is a known-good tool, but I can't see any specifically great reasons to use Circle over Gitlab. The only one seems to be Github integration, which Gitlab does quite poorly.
​
Does anyone have any compelling generic reasons for why I should use Circle over Gitlab?
​
Thanks
https://redd.it/eojm6u
@r_devops
Hi all,
I know these topics come up frequently but I havent seen a specific comparison that doesnt end up as a discussion about 50 other CI tools too :)
I'm currently using Gitlab, very happy with it overall (coming from Jenkins originally) but my new client has developers who want to use Circle (and have experience with Circle), particularly for its out of the box macOS build integration (though we can solve that via gitlab with a macstadium runner in any case)
I'm not wedded to Gitlab and I know that CircleCI is a known-good tool, but I can't see any specifically great reasons to use Circle over Gitlab. The only one seems to be Github integration, which Gitlab does quite poorly.
​
Does anyone have any compelling generic reasons for why I should use Circle over Gitlab?
​
Thanks
https://redd.it/eojm6u
@r_devops
reddit
CircleCI vs Gitlab
Hi all, I know these topics come up frequently but I havent seen a specific comparison that doesnt end up as a discussion about 50 other CI tools...
nfstream: a flexible network data analysis framework
nfstream is a Python package providing fast, flexible, and expressive data structures designed to make working with online or offline network data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world network data analysis in Python. Additionally, it has the broader goal of becoming a common network data processing framework for researchers providing data reproducibility across experiments. Feedbacks and Contributions are welcome!
[https://github.com/aouinizied/nfstream](https://github.com/aouinizied/nfstream)
https://redd.it/eokhi4
@r_devops
nfstream is a Python package providing fast, flexible, and expressive data structures designed to make working with online or offline network data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world network data analysis in Python. Additionally, it has the broader goal of becoming a common network data processing framework for researchers providing data reproducibility across experiments. Feedbacks and Contributions are welcome!
[https://github.com/aouinizied/nfstream](https://github.com/aouinizied/nfstream)
https://redd.it/eokhi4
@r_devops
GitHub
GitHub - nfstream/nfstream: NFStream: a Flexible Network Data Analysis Framework.
NFStream: a Flexible Network Data Analysis Framework. - nfstream/nfstream
HAProxy scaling for large connection count
Of the people who are currently using HAProxy in large / high traffic scenarios what are your strategies for having large concurrent connection counts.
As far as I understand, using the IPv4 TCP connection the port number is defined through 2 bytes, yielding less than 65535 ports. I read a couple articles suggesting multiple IP addresses which would obviously increase that.
Are you load balancing your load balancers? At what point do you start thinking about that?
Do you control your own DNS and hand out different load balancer IPs?
I appreciate any articles or example setups you are running *successfully* in the wild.
https://redd.it/eoh5cm
@r_devops
Of the people who are currently using HAProxy in large / high traffic scenarios what are your strategies for having large concurrent connection counts.
As far as I understand, using the IPv4 TCP connection the port number is defined through 2 bytes, yielding less than 65535 ports. I read a couple articles suggesting multiple IP addresses which would obviously increase that.
Are you load balancing your load balancers? At what point do you start thinking about that?
Do you control your own DNS and hand out different load balancer IPs?
I appreciate any articles or example setups you are running *successfully* in the wild.
https://redd.it/eoh5cm
@r_devops
reddit
HAProxy scaling for large connection count
Of the people who are currently using HAProxy in large / high traffic scenarios what are your strategies for having large concurrent connection...
Creating a new AWS account for my developers
I've been tasked with preparing an AWS environment for the developers at my company.
Essentially, we already have an existing account but there are a ton of old resources (e.g., VPCs, EC2 instances, S3 buckets) in it and no user management structure in place to differentiate between AWS administrators and developers. Everyone has the same permissions.
My current game plan:
* Nuke the existing resources. Send out a global email to all of engineering and tell them to tag any resource that needs to stay.
* Figure out the best way to lock down permissions for developers. Granularly defining each permission is not a route I'd like to go down. Is there a way to provide access to everything except user management IAM functions (i.e., creating new users, password resets, etc)?
I would appreciate any guidance on how to approach this as testing and development in AWS will begin to ramp up rapidly.
https://redd.it/eogdei
@r_devops
I've been tasked with preparing an AWS environment for the developers at my company.
Essentially, we already have an existing account but there are a ton of old resources (e.g., VPCs, EC2 instances, S3 buckets) in it and no user management structure in place to differentiate between AWS administrators and developers. Everyone has the same permissions.
My current game plan:
* Nuke the existing resources. Send out a global email to all of engineering and tell them to tag any resource that needs to stay.
* Figure out the best way to lock down permissions for developers. Granularly defining each permission is not a route I'd like to go down. Is there a way to provide access to everything except user management IAM functions (i.e., creating new users, password resets, etc)?
I would appreciate any guidance on how to approach this as testing and development in AWS will begin to ramp up rapidly.
https://redd.it/eogdei
@r_devops
reddit
Creating a new AWS account for my developers
I've been tasked with preparing an AWS environment for the developers at my company. Essentially, we already have an existing account but there...
CD Pipeline - How much time does it take in your implementation?
Trying to understand what’s a reasonable expectation in terms of how much time does it take for you to compile,stage,test and deploy to production using an automated pipeline(including automated functional test execution).I understand there are different flavors of CD based on your practices am just trying to gauge a general idea about what’s acceptable in different organizations.
https://redd.it/ep838s
@r_devops
Trying to understand what’s a reasonable expectation in terms of how much time does it take for you to compile,stage,test and deploy to production using an automated pipeline(including automated functional test execution).I understand there are different flavors of CD based on your practices am just trying to gauge a general idea about what’s acceptable in different organizations.
https://redd.it/ep838s
@r_devops
reddit
CD Pipeline - How much time does it take in your implementation?
Trying to understand what’s a reasonable expectation in terms of how much time does it take for you to compile,stage,test and deploy to production...
Question about the new AWS RDS CA
When updating the database to use the new CA, you get this popup:
"Before scheduling the CA certificate rotation, update client applications that connect to your database to use the new CA certificate. Not doing this will cause an interruption of connectivity between your applications and your database."
Does anyone know if this is required? We didn't have to import the CA originally, so why would we have to now? If it's a matter of the new root CA not being part of the trust chain of older distros, does anyone know if Ubuntu 18.04 has the new CA in its ca-certificates package yet?
Thanks!
https://redd.it/ep4hyj
@r_devops
When updating the database to use the new CA, you get this popup:
"Before scheduling the CA certificate rotation, update client applications that connect to your database to use the new CA certificate. Not doing this will cause an interruption of connectivity between your applications and your database."
Does anyone know if this is required? We didn't have to import the CA originally, so why would we have to now? If it's a matter of the new root CA not being part of the trust chain of older distros, does anyone know if Ubuntu 18.04 has the new CA in its ca-certificates package yet?
Thanks!
https://redd.it/ep4hyj
@r_devops
reddit
Question about the new AWS RDS CA
When updating the database to use the new CA, you get this popup: "Before scheduling the CA certificate rotation, update client applications that...
Devops Career Ladder
Hey y'all, a, hopefully, quick question for everyone. I've seen a bunch of "how to get into devops" type posts here but was wondering about the career ladder for Devops positions. I'm new to the Devops side of things (less than 1 year, though 1 year of dev experience). What does the typical ladder look like? Is it just as simple as Devops engineer I, II, III and then into management?
Thanks :)
https://redd.it/ep7qde
@r_devops
Hey y'all, a, hopefully, quick question for everyone. I've seen a bunch of "how to get into devops" type posts here but was wondering about the career ladder for Devops positions. I'm new to the Devops side of things (less than 1 year, though 1 year of dev experience). What does the typical ladder look like? Is it just as simple as Devops engineer I, II, III and then into management?
Thanks :)
https://redd.it/ep7qde
@r_devops
reddit
Devops Career Ladder
Hey y'all, a, hopefully, quick question for everyone. I've seen a bunch of "how to get into devops" type posts here but was wondering about the...
I'm looking for suggestions on the best way to keep a collection of mission-critical services running, healthy, and up-to-date.
Our needs are relatively modest, so we rolled our own solution, but even so, the development effort involved is perhaps more than we would like if there are utilities that will do most of the work for us.
At the moment, we are running our services--which are available via known, unchanging URLs--on a few bare metal Linux boxes that have lots of ram (because the services require lots of ram). We have a Python script to deploy the latest versions of the software (and the data that the software serves) to the Linux boxes. There's also a Python script to restart services with zero downtime by bringing up a new version of a service on a different port number, reconfiguring nginx to point to the new port number, and then shutting down the old version of the service.
What the scripts do is controlled by a config file.
Unfortunately, doing all this right is more complicated than it might sound, and consequently, the scripts are somewhat complicated.
So I did some brief reading up on Kubernetes and it sounds pretty good for this kind of thing. Only I don't know if would be good for our relatively modest needs. Would it simplify our lives or make them more complicated? I can't tell.
If we used Kubernetes, I suppose it would be more easy for us to move these services to the cloud should we want to, but considering how much ram we need (i.e. several terabytes), the cost of running these services 24x7 in the cloud might be prohibitive. Also, the increased latency might not be a good thing for us.
So, maybe we could just use Kubernetes on our bare metal Linux boxes. Is that easy or hard to do? Would it be a good idea or a bad idea?
Is there something for this kind of thing that would be better than Kubernetes? E.g., Ancible? Puppet? Chef? Nomad? I tried to briefly read up on these tools, but everything I've seen is written in impenetrable vague marketese. The web page for Nomad seems the most comprehensible, but I'm still completely unclear after rifling through their web pages on whether it would make for more or less work for us.
TLDR: We have a bunch of services that we want to keep alive and up-to-date with near-zero-downtime. We currently achieve this with some non-trivial home-grown scripts on bare metal. Could we do this better or smarter? I.e., with fewer man hours devoted to enhancing and maintaining our infrastructure.
https://redd.it/epaksc
@r_devops
Our needs are relatively modest, so we rolled our own solution, but even so, the development effort involved is perhaps more than we would like if there are utilities that will do most of the work for us.
At the moment, we are running our services--which are available via known, unchanging URLs--on a few bare metal Linux boxes that have lots of ram (because the services require lots of ram). We have a Python script to deploy the latest versions of the software (and the data that the software serves) to the Linux boxes. There's also a Python script to restart services with zero downtime by bringing up a new version of a service on a different port number, reconfiguring nginx to point to the new port number, and then shutting down the old version of the service.
What the scripts do is controlled by a config file.
Unfortunately, doing all this right is more complicated than it might sound, and consequently, the scripts are somewhat complicated.
So I did some brief reading up on Kubernetes and it sounds pretty good for this kind of thing. Only I don't know if would be good for our relatively modest needs. Would it simplify our lives or make them more complicated? I can't tell.
If we used Kubernetes, I suppose it would be more easy for us to move these services to the cloud should we want to, but considering how much ram we need (i.e. several terabytes), the cost of running these services 24x7 in the cloud might be prohibitive. Also, the increased latency might not be a good thing for us.
So, maybe we could just use Kubernetes on our bare metal Linux boxes. Is that easy or hard to do? Would it be a good idea or a bad idea?
Is there something for this kind of thing that would be better than Kubernetes? E.g., Ancible? Puppet? Chef? Nomad? I tried to briefly read up on these tools, but everything I've seen is written in impenetrable vague marketese. The web page for Nomad seems the most comprehensible, but I'm still completely unclear after rifling through their web pages on whether it would make for more or less work for us.
TLDR: We have a bunch of services that we want to keep alive and up-to-date with near-zero-downtime. We currently achieve this with some non-trivial home-grown scripts on bare metal. Could we do this better or smarter? I.e., with fewer man hours devoted to enhancing and maintaining our infrastructure.
https://redd.it/epaksc
@r_devops
reddit
I'm looking for suggestions on the best way to keep a collection...
Our needs are relatively modest, so we rolled our own solution, but even so, the development effort involved is perhaps more than we would like if...
Deploying datadog using helm | Help
I am trying to deploy datadog using the helm chart onto a Kubernetes cluster created by Kops, it has 3 masters, then two instance groups. One of those instance groups needs to be monitored and the other should have no monitoring.
​
If I am understanding the docs right I need to add labels?
​
Another question about datadog, in the helm chart is there a param I can set to be able to see if pods are pending or crash backed off? I looked over it a few times and didn't see anything about it though it seems like something that should be supported.
https://redd.it/epbygq
@r_devops
I am trying to deploy datadog using the helm chart onto a Kubernetes cluster created by Kops, it has 3 masters, then two instance groups. One of those instance groups needs to be monitored and the other should have no monitoring.
​
If I am understanding the docs right I need to add labels?
​
Another question about datadog, in the helm chart is there a param I can set to be able to see if pods are pending or crash backed off? I looked over it a few times and didn't see anything about it though it seems like something that should be supported.
https://redd.it/epbygq
@r_devops
reddit
Deploying datadog using helm | Help
I am trying to deploy datadog using the helm chart onto a Kubernetes cluster created by Kops, it has 3 masters, then two instance groups. One of...
Vulnerability scanner orchestration
I want to share my first opensource project I have published https://github.com/Mixeway/MixewayHub project is designed for IT security teams which use number of vulnerability scanners but have problem with fitting them into CICD. Mixeway integrate with Nessus, nexpose, acunetix, openvas, fortify, dependency check and more. It can configure and run scans given in universal format of REST API call and in the end provide complex result set.
I am no pro dev so code quality is rather poor but I am actively doing some refactor to make it better. Any feedback would be very appreciated.
https://redd.it/ep3exb
@r_devops
I want to share my first opensource project I have published https://github.com/Mixeway/MixewayHub project is designed for IT security teams which use number of vulnerability scanners but have problem with fitting them into CICD. Mixeway integrate with Nessus, nexpose, acunetix, openvas, fortify, dependency check and more. It can configure and run scans given in universal format of REST API call and in the end provide complex result set.
I am no pro dev so code quality is rather poor but I am actively doing some refactor to make it better. Any feedback would be very appreciated.
https://redd.it/ep3exb
@r_devops
GitHub
GitHub - Mixeway/MixewayHub: Mixeway is security orchestrator for vulnerability scanners which enable easy plug in integration…
Mixeway is security orchestrator for vulnerability scanners which enable easy plug in integration with CICD pipelines. MixewayHub project contain one click docker-compose file which configure and r...
How are you setting up your configuration repo? What can I do to get the most value from a new setup, specifically for ansible configuration management?
I’m going to be assisting with a brand new setup of Ansible and want some ideas and experiences with creating a new repo structure for a CI/CD pipeline. I’ll need commits to automatically be picked up and deployed to as many as 3 or 4 environments in succession.
https://redd.it/ep93wg
@r_devops
I’m going to be assisting with a brand new setup of Ansible and want some ideas and experiences with creating a new repo structure for a CI/CD pipeline. I’ll need commits to automatically be picked up and deployed to as many as 3 or 4 environments in succession.
https://redd.it/ep93wg
@r_devops
reddit
How are you setting up your configuration repo? What can I do to...
I’m going to be assisting with a brand new setup of Ansible and want some ideas and experiences with creating a new repo structure for a CI/CD...
What are some of the biggest struggles in managing your AWS environments?
https://redd.it/ep41ts
@r_devops
https://redd.it/ep41ts
@r_devops
reddit
What are some of the biggest struggles in managing your AWS...
Posted in r/devops by u/youngphilosopher1 • 1 point and 2 comments
'Unknown error 524' on netconsole
Tried running netconsole, a Linux kernel module that sends kernel logs to a remote UDP server, and was surprised to find it wouldn’t work on my AWS EC2 instance. Received the following error.
modprobe: ERROR: could not insert
'netconsole'
: Unknown error 524
Here's a blog about how to solve it [https://www.granulate.io/a-case-of-a-broken-netconsole?id=0](https://www.granulate.io/a-case-of-a-broken-netconsole?id=0)
https://redd.it/ep30z6
@r_devops
Tried running netconsole, a Linux kernel module that sends kernel logs to a remote UDP server, and was surprised to find it wouldn’t work on my AWS EC2 instance. Received the following error.
modprobe: ERROR: could not insert
'netconsole'
: Unknown error 524
Here's a blog about how to solve it [https://www.granulate.io/a-case-of-a-broken-netconsole?id=0](https://www.granulate.io/a-case-of-a-broken-netconsole?id=0)
https://redd.it/ep30z6
@r_devops
Granulate
A Case of a Broken Netconsole - Granulate
How a kernel bug-fix caused an incompatibility of updated network drivers in older kernel versions — and how we solved it
Use cases of Python for devops role
Shout out to all Devops with Python experience.
Couple of questions:
1. Do you use Python often or is it not a necessity for devops role?
2. What are best the use-cases using python for devops from your experiences?
https://redd.it/ep0p1h
@r_devops
Shout out to all Devops with Python experience.
Couple of questions:
1. Do you use Python often or is it not a necessity for devops role?
2. What are best the use-cases using python for devops from your experiences?
https://redd.it/ep0p1h
@r_devops
reddit
Use cases of Python for devops role
Shout out to all Devops with Python experience. Couple of questions: 1. Do you use Python often or is it not a necessity for devops role? 2....
Elastic Stack Cluster - Secure and Configure
Hello, community.
I am sharing one video where I am explaining how you easily can create your own Elastic Stack (Elasticsearch + Kibana) cluster on 3 nodes.
For this purpose I am using 3 virtual machines(Nodes) based on VirtualBox hypervisor and preinstalled and configured Linux Ubuntu 18.04 on them, preinstalled Elasticsearch with preconfigured for the demo elsticsearch.yml file and Kibana preinstalled on the first node.
So what you will need to do to have a working Elastcserch cluster is to just download the virtual machines from the provided links in the video description and import them in your VirtualBox.
In the second part, I am explaining how you can secure your Elastic Stack cluster using the instructions in the description and how you can create restrictions for users and roles in Kibana.
Link for the video - [Elastic Stack Cluster - Configure and Secure](https://www.youtube.com/watch?v=i4T1PNQZsiY)
https://redd.it/eozyvd
@r_devops
Hello, community.
I am sharing one video where I am explaining how you easily can create your own Elastic Stack (Elasticsearch + Kibana) cluster on 3 nodes.
For this purpose I am using 3 virtual machines(Nodes) based on VirtualBox hypervisor and preinstalled and configured Linux Ubuntu 18.04 on them, preinstalled Elasticsearch with preconfigured for the demo elsticsearch.yml file and Kibana preinstalled on the first node.
So what you will need to do to have a working Elastcserch cluster is to just download the virtual machines from the provided links in the video description and import them in your VirtualBox.
In the second part, I am explaining how you can secure your Elastic Stack cluster using the instructions in the description and how you can create restrictions for users and roles in Kibana.
Link for the video - [Elastic Stack Cluster - Configure and Secure](https://www.youtube.com/watch?v=i4T1PNQZsiY)
https://redd.it/eozyvd
@r_devops
YouTube
Elastic Stack Cluster - Configure and Secure Tutorial
The video describes how you can create your own Elastic Stack(ELK) cluster on your local machine, using 3 virtual Nodes and Oracle VM VirtualBox free and open-source hosted hypervisor.
LINKS TO DOWNLOAD THE FILES WHICH I AM USING IN THE VIDEO:
Node 1 Virtual…
LINKS TO DOWNLOAD THE FILES WHICH I AM USING IN THE VIDEO:
Node 1 Virtual…
YAML testing for Azure DevOps pipelines
Hi,
Anyone written any tests for something like a yaml pipeline?
Specifically Azure DevOps.
Cheers!
https://redd.it/eoz64m
@r_devops
Hi,
Anyone written any tests for something like a yaml pipeline?
Specifically Azure DevOps.
Cheers!
https://redd.it/eoz64m
@r_devops
reddit
YAML testing for Azure DevOps pipelines
Hi, Anyone written any tests for something like a yaml pipeline? Specifically Azure DevOps. Cheers!
Books to read for devops engineer
I am working as a devops engineer for last 4 years, with total 6 years of experiance in IT. At this point of my career I want to learn more about the IT. It is now manditory for a devops engineer to understand the application and help developers on designing them.
Like:
I am not faimilier with many terminologies used by the developers, QA etc..
I want to understand how a software is designed and how the testing is done etc.. entire flow till the application in production.
Any book/books that gives me more understanding on these topics.
Thanks in advance
https://redd.it/eoyqfi
@r_devops
I am working as a devops engineer for last 4 years, with total 6 years of experiance in IT. At this point of my career I want to learn more about the IT. It is now manditory for a devops engineer to understand the application and help developers on designing them.
Like:
I am not faimilier with many terminologies used by the developers, QA etc..
I want to understand how a software is designed and how the testing is done etc.. entire flow till the application in production.
Any book/books that gives me more understanding on these topics.
Thanks in advance
https://redd.it/eoyqfi
@r_devops
reddit
Books to read for devops engineer
I am working as a devops engineer for last 4 years, with total 6 years of experiance in IT. At this point of my career I want to learn more about...
Looking for Devops 101
My skill level is low. I am on a junior dev level.
vagrant, docker, kubernetes, CI/CD - I have read definitions, followed along the docs and ran "vagrant up" & [got docker to run](https://guide.freecodecamp.org/docker). But never did anything in a production environment and I am sure that I have not fully even understood the concepts. Basically just did "hello world".
I think the concept I have to pay attention is more about "containers". What is [kata](https://katacontainers.io/)?
So, how do I learn the basics to understand what is what and know if a devops guy is talking shit. Or if I am skilled enough, to actually get into devops. That is the aspiration.
All my skill are limited to the knowledge I manage to get from [AutomateTheBoringStuff](https://automatetheboringstuff.com/) & completed the "Responsive Web Design Certification" from [FreeCodeCamp](https://guide.freecodecamp.org/meta/free-code-camp-full-stack-development-certification/), working on completing the rest. So, something from my level.
https://redd.it/eoyp0p
@r_devops
My skill level is low. I am on a junior dev level.
vagrant, docker, kubernetes, CI/CD - I have read definitions, followed along the docs and ran "vagrant up" & [got docker to run](https://guide.freecodecamp.org/docker). But never did anything in a production environment and I am sure that I have not fully even understood the concepts. Basically just did "hello world".
I think the concept I have to pay attention is more about "containers". What is [kata](https://katacontainers.io/)?
So, how do I learn the basics to understand what is what and know if a devops guy is talking shit. Or if I am skilled enough, to actually get into devops. That is the aspiration.
All my skill are limited to the knowledge I manage to get from [AutomateTheBoringStuff](https://automatetheboringstuff.com/) & completed the "Responsive Web Design Certification" from [FreeCodeCamp](https://guide.freecodecamp.org/meta/free-code-camp-full-stack-development-certification/), working on completing the rest. So, something from my level.
https://redd.it/eoyp0p
@r_devops
guide.freecodecamp.org
Docker
Docker is an open platform to build, ship, and run distributed applications. It is written in Go. It was first released in 2013 and is developed by Docker, Inc.
How should I separate my Jenkins Projects(Jobs?) within a pipeline?
First I want to start off by saying I’m pretty new to Jenkins and am trying to set it up for my new team. We are just starting development so we don’t have a bunch of tests yet.
From my understanding a project, which I think is often referred to as a job, in Jenkins is used to run a specific test and compare the results to what is expected. If the test results match the expected results the project passes.
A pipeline is used to take multiple projects and run them one after another to essentially test a bunch of things without having to start each project individually.
How should I handle separating my projects within Jenkins so I don’t have to rewrite multiple lines in the test?
Currently I want to take a programming approach and think of projects kind of like C++ functions. If I’m going to be doing the same thing over and over again, like cloning the repo or building the project, it should be in its own project with the pipeline handling the variables that may be passed. Will this work?
When a new project is started within the same pipeline is the workspace the same as the project that ran before?
Here is my general idea of a pipeline and the projects within it.
Pipeline: Test Invalid User Input on Linux
Project: Clone repo from GitLab
Project: Compile source code on Linux Node
Project: Run User Input unit test script that calls all the tests specifically for user input
Does this seem like a reasonable separation of projects or is there a potential for flaws? I would have a similar pipeline for Windows.
If you have any resources I should look into for Jenkins please share them!
https://redd.it/epkjal
@r_devops
First I want to start off by saying I’m pretty new to Jenkins and am trying to set it up for my new team. We are just starting development so we don’t have a bunch of tests yet.
From my understanding a project, which I think is often referred to as a job, in Jenkins is used to run a specific test and compare the results to what is expected. If the test results match the expected results the project passes.
A pipeline is used to take multiple projects and run them one after another to essentially test a bunch of things without having to start each project individually.
How should I handle separating my projects within Jenkins so I don’t have to rewrite multiple lines in the test?
Currently I want to take a programming approach and think of projects kind of like C++ functions. If I’m going to be doing the same thing over and over again, like cloning the repo or building the project, it should be in its own project with the pipeline handling the variables that may be passed. Will this work?
When a new project is started within the same pipeline is the workspace the same as the project that ran before?
Here is my general idea of a pipeline and the projects within it.
Pipeline: Test Invalid User Input on Linux
Project: Clone repo from GitLab
Project: Compile source code on Linux Node
Project: Run User Input unit test script that calls all the tests specifically for user input
Does this seem like a reasonable separation of projects or is there a potential for flaws? I would have a similar pipeline for Windows.
If you have any resources I should look into for Jenkins please share them!
https://redd.it/epkjal
@r_devops
reddit
How should I separate my Jenkins Projects(Jobs?) within a pipeline?
First I want to start off by saying I’m pretty new to Jenkins and am trying to set it up for my new team. We are just starting development so we...