Most Popular
1500 questions
8
votes
1 answer
What are the expected effects of the acquisition of GitHub by Microsoft?
When one navigates to github.com it is announced that Microsoft has acquired Github.
There are some rumors that multiple projects were migrated to other git providers like gitlab and bitbucket. What effect will the acquisition have from a DevOps…
030
- 13,235
- 16
- 74
- 173
8
votes
3 answers
What's a good devops approach for a single developer writing python web applications?
I'm guessing this question will seem incredibly trivial for some readers, but as someone who is a developer but with little experience of deploying apps in anything other than a manual, hit and hope sort of a way, I hope you will understand that…
Auspice
- 181
- 7
8
votes
2 answers
How do I replicate a Jenkins setup via automation?
I have a Jenkins setup running in production. I want to automate the Jenkins setup (installation) along with all the jobs that are set up in Jenkins.
One crude way I can think of is to copy the whole jobs directory to the new Jenkins setup.
How do I…
Nagri
- 183
- 1
- 5
8
votes
2 answers
Jenkins Pipeline - input only if branch matches
I want to ask for input but only if we are on a certain branch. But the input is run before the when. Can this be done with declarative syntax?
For example this will always prompt even when the branch is not master
stage('only on master') {
when…
Dave
- 183
- 1
- 1
- 4
8
votes
1 answer
sshagent and jenkinsfile
I am new to Jenkinsfile.
I have previously configured my Jenkins job from GUI, and we are now upgrading our server to use Jenkinsfile.
My job contains a section which needs to SSH to another server.
To do this, I previously used the sshagent plugin…
eshalev
- 281
- 1
- 2
- 6
8
votes
0 answers
Is there a standard pattern for doing flyway migrations on a kubernetes stack?
There's these instructions from redhat but they're cooking their own flyway.
Here's what I've done:
I have a dockerfile that looks like this:
FROM boxfuse/flyway
ADD ./flyway /flyway
#TODO: pass the username/password in from kubernetes
CMD…
dwjohnston
- 221
- 3
- 11
8
votes
4 answers
Azure - Connection String in Key Vault vs Application Settings
For Azure Functions and WebJobs, is there any benefit to putting connection strings as Secrets in Key Vault instead of putting them directly in Application Settings (and referencing them using ConfigurationManager.ConnectionStrings)? Are Azure Key…
Anonymous1
- 305
- 2
- 7
8
votes
2 answers
Why does Helm time out on almost every action?
I'm trying to set up helm for the first time and I'm having troubles.
First, I've created account with cluster-admin role. (According to https://github.com/kubernetes/helm/blob/master/docs/rbac.md#example-service-account-with-cluster-admin-role…
Morishiri
- 211
- 1
- 2
- 11
8
votes
1 answer
Strategy for deploying/hosting javascript-based static websites in containers
This comes up from time to time in several of our dev teams, without us having figured out the "right" way:
We use a lot of react-based webapplications that "compile" into static websites that are just a few html, js and css files.
However, the…
Trondh
- 381
- 1
- 6
8
votes
1 answer
How to organize infrastructure as code projects?
I have completed an Infrastructure-as-Code project using Terraform and Ansible. Currently, I organize my project as follows:
Project1
Terraform
ec2.tf
rds.tf
…
variables.tf
scripts\
…
user389955
- 287
- 2
- 7
8
votes
3 answers
Running unmanaged Hardware Security Modules (HSMs) in the Cloud
I have to admit to never having asked, or been asked, the question if it is possible to have a Hardware Security Module in a public cloud, by which I mean Google, Amazon or Azure. Has anyone found any techniques for enabling organizations to use…
Richard Slater
- 11,612
- 6
- 41
- 81
8
votes
3 answers
Condition CircleCI build on what part of monorepo changed?
I'm working on a monorepo project that contains a few different subprojects in different languages. Right now I run three different CircleCI "jobs" on each commit. However, each of these packages compile and test themselves independently. Hence I…
langkilde
- 335
- 3
- 9
8
votes
1 answer
How do I automate deployment to Docker with CircleCI?
My circle.yml file and my CircleCI account are set up to use Docker for testing already, but I'd like to move to continuous deployment upon a successful build.
Here's what I have so far in circle.yml:
machine:
services:
-…
Peter G
- 1,102
- 11
- 18
8
votes
2 answers
Application to run PowerShell scripts
I've created a number of scripts in PowerShell that require a number of parameters to be manually entered.
Unfortunately, until we have our Jenkins server setup to support these additional tasks I need to pass these scripts to other…
KJQ
- 83
- 3
8
votes
2 answers
A comparison of idempotence and immutability
Many in the DevOps apply the cattle-not-pets mentality by implementing immutable infrastructure and redeploying when changes are needed (instead of modifying).
Configuration management has a similar principle of idempotence. What are the comparative…
James Shewey
- 3,734
- 1
- 15
- 38