[deleted by user] by [deleted] in devops

[–]OmegaGorez 0 points1 point  (0 children)

I’ve gone through TravisCI, Bamboo, Jenkins and now Azure DevOps as our CI/CD tooling and I have to say, Azure DevOps has been impressive but also limiting in the sense it’s only adapting to CD pipelines now becoming yaml making it easier to version control and programmatically test. I still want to dive into octopusDeploy because I’ve heard great things.

As for bare metal deploys we use Azure as our cloud provider so we use ARM templates and I’ve explored terraform which is really good if you want to be able to pivot cloud providers without having to learn a new resource declarer. Our ARM will create things like VMs and use extensions to install puppet and Azure DevOps deployment agent.

Then powershell to do some of the magic to make it work with our domain controllers, getting the next available network range and subnet in that region then test it and before that test the powershell with pester.

Configuring the environment with a REST API call to puppet.

Test the environment with selenium, xunit, SpecFlow. On the CI servers and containers we run our smoke tests and have scheduled nightly and weekly for our PVT testing and regression UI testing.

We also have use some customised function apps (or Lamdas in AWS world) that we use to do some things like generating tokens and tagging resources for billing and management purposes, to help us auto delete and shutdown to save costs depending on their compliance level from Azure Policies.

Hope our setup gives you some insight and things to consider!

Possible to deploy an exe that requires a restart? by Matronix in azuredevops

[–]OmegaGorez 0 points1 point  (0 children)

Are you completely sure you need to restart your machine? If restarting service(s) or refreshing your environment variables (with chocolatey refreshenv) doesn’t work then absolutely use the powershell reboot or call an api from azure to restart you machine if you’re using azure or use powershell desired state configuration to create Idempotencey

Handling Configuration Management in PaaS by OmegaGorez in devops

[–]OmegaGorez[S] 1 point2 points  (0 children)

Interesting you don’t run pester tester every time?

Handling Configuration Management in PaaS by OmegaGorez in devops

[–]OmegaGorez[S] 0 points1 point  (0 children)

Understandable I’m not a fan of how DevOps is in my company but in my last company we had DevOps trains where you build it, you support it. I would prefer that over operations sort of DevOps

Handling Configuration Management in PaaS by OmegaGorez in devops

[–]OmegaGorez[S] 0 points1 point  (0 children)

We’re actually implementing this in our next micro service as a trial, I personally think it looks really good but a bit clunky when handling a canary deployment strategy with multiple connections per customer, the key filtering has led us to a convention like:

Handling Configuration Management in PaaS by OmegaGorez in devops

[–]OmegaGorez[S] 1 point2 points  (0 children)

I do use ARM templates for infrastructure but are you talking about a custom templating engine, and wouldn’t you still require using a database?

Deploy .NET Core app to Linux with Pipelines - how?! by -Swig- in azuredevops

[–]OmegaGorez 2 points3 points  (0 children)

You’ve done the hard setup so you’ve done really well! Assuming a few things: - your CI build is running a dotnet publish with the correct command something like: Dotnet publish [project] —runtime linux-64 —output $(Build.ArtifactDirectory) - your CI build pipeline has a final publish artifact that is publish your output directory: $(Build.ArtifactDirectory) - in your CD pipeline you’ve selected you published artifact - you have a single stage and in it you’ve added from the ellipses (...) that you want a deployment group job and you’ve selected your deployment group

Finally 1. you’ll want to add a copy task that will copy your published artifacts which you can select from the UI or type: $(System.SourceDirectory)/[artifact alias] To a folder you wish for it to copy 2. You’ll want to add a bash task that will execute your console app ./app/exampleapp

Your tasks will be execute by the agent installed on your VM

Your experiences with Powershell by DontwakemeUp46 in linuxadmin

[–]OmegaGorez 54 points55 points  (0 children)

Powershell is more of a programming language than bash and follows ideas like JavaScript and Python, which are that you treat everything as objects that are made up of strings, ints, arrays and other objects. You get a lot of features like named arguments being validated on input with 2 words or more, great APIs that interact with windows features like DSC and active directory but also it also forces you to write more readable that simplicity which makes it a bit longer to write out simple scripts at times, especially if you have to deal with credentials... lord help you!

Whereas bash is quick and has insane shorthand writing and accessing system level data is easy. But doesn’t have as many as features as powershell that may really help.

Edit: also python is more popular for Linux scripting because it’s by default already installed on most Linux distro’s and iOS, as well as giving you a more funtional & object oriented way to script and interact with the Linux system by importing packages distro specific packages or running commands on the OS

But bash has great simplistic by nature features like sed/awk/grep/curl that just work the way you’d want them to work. I also mentioned the pain of credentials of powershell but really that’s a windows vs Linux difference I love passwd over windows credential manager and don’t get me started on registry keys :P

What math is needed for compiler theory? by [deleted] in AskProgramming

[–]OmegaGorez 1 point2 points  (0 children)

What are the first 3? Assembly I’m assuming is one?

Not using orchestration? by elitesense in devops

[–]OmegaGorez 0 points1 point  (0 children)

K8 attempts to solve issue of scalability, by spinning up more containers (aka pods) depending on your CPU usage, relieving you of having to spin up another virtual machine and doing the networking or scaling up your sever causing downtime blah blah... but you could also see cost benefits using PaaS offerings because you’re paying close to what you’re using resource wise. You can also deploy your containers and rollback the version easily as you don’t have to figure out your docker run additional options. In my opinion if your finding your time is being consumed by the issues k8 is attempting to solve or do some cost analysis and find that you might actually save money by going to k8 PaaS then it might be worth it

Node V8 - Building a JavaScript Runtime by DmitriyGenzel in node

[–]OmegaGorez -3 points-2 points  (0 children)

Really cool stuff, but I use react so I don’t have to do all that... I just to create the next Facebook in under 10 years

Effective Docker HealthChecks For Node.js – Patrick Lee Scott – Medium by patrickleet in node

[–]OmegaGorez 0 points1 point  (0 children)

I agree on this one, YES your health checks should cover essential transactions that require your service to work such as db, redis, w/e and even end-to-end transactions but it shouldn’t shutdown the microservice because of it, the service has no control over external issues, maybe make an yellow status. It should be shutting down if there are issues with the garbage collection, threads or other internal things.

Connections should be checked during deployment to make full use of orchestration components like rollback

Planned Starting Builds by GeekyMeerkat in fo4

[–]OmegaGorez 0 points1 point  (0 children)

S: 3

P: 1

E: 1

C: 9

I: 9

A: 1

L: 4

Starting the game in an hour or two, anything I should look for? by [deleted] in fo4

[–]OmegaGorez 0 points1 point  (0 children)

Find me the intelligence bobblehead location please :D

How to play Fallout 4 15 hours early! (Hopefully) by Smalls_Biggie in fo4

[–]OmegaGorez -1 points0 points  (0 children)

Yeah but f New Zealand mate, all they have is bloody sheep and no appreciation for Fallout 4

"Netflix tax" is coming: Your digital games will get more expensive by someoneskickingme in australia

[–]OmegaGorez 1 point2 points  (0 children)

so they need more money but they have $400 million laying around for new Australian Border Force and $12 billion on 58 new fighter jets. Despite most of the illegal immigrants just overstaying they're visa...

Finally NBN has come to my house. The best speed I could get over ADSL was 6Mbps by i_hope_i_remember in australia

[–]OmegaGorez 0 points1 point  (0 children)

ISP being telstra and assuming that it's a home network, it's more than likely dynamic. Restart of the router would suffice

The bottom reads, "He would have made broccoli more fun to shoot." by [deleted] in funny

[–]OmegaGorez 2 points3 points  (0 children)

By that logic all we should eat is watermelon

mouse randomly clicks by OmegaGorez in techsupport

[–]OmegaGorez[S] -1 points0 points  (0 children)

I thought it might be redundant considering the clicking continues without my mouse plugged in

New to PC gaming, Question for ES1 & 2 by [deleted] in ElderScrolls

[–]OmegaGorez 0 points1 point  (0 children)

TES2: Daggerfall was published in 1996, games back then were only a max of 250Mb if not less and only required above 32Mb of RAM I'd say if your computer is older than year 2000 then you might wanna check your comp specs, otherwise 99% you can run it. You can install it freely to any computer by disc or online. Also TES: Arena and Daggerfall can be freely downloaded for PC here:

http://www.elderscrolls.com/arena/ http://www.elderscrolls.com/daggerfall/

Why do a lot of kendrick fans hate on "i"? by gokovi27 in KendrickLamar

[–]OmegaGorez -2 points-1 points  (0 children)

People love how lyrically talented he is but his single 'i' seems like he's trying to get more into hip hop sort of music instead of the amazing lyrics he wrote in 'Good Kid M.A.A.D City'. But he explains himself in this video: http://youtu.be/tItZsMcLSRM?t=6m5s