Most Popular

1500 questions
5
votes
1 answer

Bridged network adapter for Packer + VirtualBox?

So, I load an .ova image with packer of a minimal ubuntu linux installation. I realized after everything went through (Provisioners etc) and it successfully exported the output file. However, when loading the output image with VirtualBox I can't…
Kyu96
  • 125
  • 3
  • 16
5
votes
1 answer

AWS SQS - use case for "short polling"

When using event driven processing of work with AWS SQS and worker clients. the use of long polling is often recommended. AWS documents this here Essentially when there are no message in the queue, the worker does not need to keep making requests to…
jdog
  • 650
  • 3
  • 10
5
votes
1 answer

How do I enter a multi line variable in Terraform?

It's for the public key variable for testing lab enviroments in my variables.tf file I tried <
doug
  • 523
  • 2
  • 6
  • 14
5
votes
1 answer

What are DevOps & Ops user stories, or elements in scrum context?

What type of user stories should Operations write down while being asked to be a stakeholder in a scrum project? Following this template: "As Operations engineer, I want to.. in order to.."?! My first idea is for example to come up with for example…
Ta Mu
  • 6,772
  • 5
  • 39
  • 82
5
votes
2 answers

Running Ansible no-op's faster with a dynamic inventory and cached facts files

I've got an ever expanding playbook that patches a few hundred machines to the latest version, I just add the same role with different parameters. Obviously, the playbook is taking longer and longer to run on each machine, even though it's not…
Peter Turner
  • 1,430
  • 4
  • 17
  • 35
5
votes
2 answers

Why does Docker hub allow non-official Docker images and why do they exist?

Note: also posted in Security StackExchange as there is a security aspect to this question (sorry for cross-posting). I'm evaluating Docker images for my development and production setups. When I research how to do something in Docker, quite often I…
therobyouknow
  • 315
  • 1
  • 3
  • 11
5
votes
1 answer

Zip/tar a folder using chef resource

Can someone help me how to take backup for a specific folder and also zip/tar those folders. I am using this for taking a backup actually, but I would like a compressed output: bash "backup #{dir_name}" do user 'user' cwd "#{path}" code…
pandey
  • 949
  • 2
  • 9
  • 18
5
votes
0 answers

How Can I create layers for a lambda using Terraform?

The docs only seem to give me the option to reference existing layers. I want to make the layer for my lambda in my terraform code rather than through the console but can't see any option to do this in the docs?
doug
  • 523
  • 2
  • 6
  • 14
5
votes
1 answer

How to mitigate "[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release" in quay.io?

[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption This issue occurs if a docker pull is issued or the API is consulted.
030
  • 13,235
  • 16
  • 74
  • 173
5
votes
1 answer

How to let build fail when docker image size exceeds certain threshold?

docker images returns: REPOSITORY TAG IMAGE ID CREATED SIZE fcc125757e66 About an hour ago 270 MB Attempts docker images | awk '{print $6}'…
030
  • 13,235
  • 16
  • 74
  • 173
5
votes
1 answer

How to prevent Azure Traffic Manager from routing over high latency connections in a fail-over scenario?

We have a service hosted in four regions, two in North America and two in Europe. We are using Azure Traffic Manager to provide: Performance-based routing - that is routing consumers to the service that has the lowest latency. Fail-over - if one…
Richard Slater
  • 11,612
  • 6
  • 41
  • 81
5
votes
2 answers

Does TFS Build have something like a Jenkinsfile?

I've seen some custom settings files used in combination with TFS build, but nothing native. Does Team Foundation Server or Visual Studio Team Services have a Jenkinsfile-like, declarative method for defining a build process?
Dave Swersky
  • 4,068
  • 2
  • 20
  • 33
5
votes
3 answers

How to pass Gitlab env var with sensitive characters to bash script?

I have the following situation: I'm storing sensitive data in Gitlab's environment and then passing these variables to a deployment script in bash. Gitlab's env var: Key: sensitive_var Value: aaa$bbb*% Then in the .gitlab-ci.yml file the env vars…
JJ Yong
  • 53
  • 1
  • 1
  • 4
5
votes
2 answers

How to deploy a desktop application using Azure DevOps?

I'm using Azure DevOps and I need a way to release an internal desktop application. Right now I have a pipeline ready and generating artifacts, but I don't see anywhere in the documentation how can I provide a release link to my users. The…
5
votes
3 answers

What is the optimal size of a Jenkins Pipeline Stage?

Should I create single checkout stage or multiple stages like checkout scripts, checkout code, checkout something else? How should I decide on what piece of logic to put into separate stage? Or are stages just a pipeline visualization tool?
Anton Petrov
  • 151
  • 1