Most Popular

1500 questions
4
votes
3 answers

Is AWS Fargate suitable for web applications?

I'm making a web-app, I've tried both ECS and EKS at AWS. It's been very comfortable to use Fargate instances instead of EC2. But I'm not sure I understand how to use them since when I count at it, it's so much more expensive. Prices In the prices…
Felix Eklöf
  • 219
  • 2
  • 8
4
votes
1 answer

Unable to get jupyter/scipy-notebook running on docker

I pulled the docker image and is up to date. When I run it it says that it's going to be accessible at 8888 on my localhost but when I try to access it resource can't be found. Here is the output: sudo docker run jupyter/scipy-notebook…
4
votes
2 answers

Azure Devops Pipeline variables in Powershell

I've tried to figure this out and I can't see why my ipaddress is not getting set. I've checked code samples and they all suggest I am doing everything correct. ip variable defined here: This is my powershell script: # Write your PowerShell…
cdsln
  • 161
  • 1
  • 4
4
votes
2 answers

What is, or could be the formal and/or officially established definion of a "stage"?

Many of us use this term in daily business quite intuitively: "build stage", "test stage" and used long before the rise of DevOps. But is there a formal and/or well-established definition of this term? Additional question: Who and where used it…
Ta Mu
  • 6,772
  • 5
  • 39
  • 82
4
votes
3 answers

How do I use the remote-exec provisioner with Terraform?

I am using Terraform 0.14 and AWS. I am trying to write a .tf file that will invoke a remote-exec command via Terraform's provisioner. This code does not work: resource "aws_instance" "example" { ami = "ami-1234" instance_type =…
Kamal S.
  • 51
  • 1
  • 1
  • 2
4
votes
2 answers

What are feasible quality criteria for Git repositories?

If you manage a lot of Git repositories (or other, but Git is a specific and common technology), it could happen that depending on users there will be quite different usage profiles. On the worst case end you could face issues with broken…
Ta Mu
  • 6,772
  • 5
  • 39
  • 82
4
votes
2 answers

How to export Cucumber Reports via Jenkins Pipeline

I'm using the Cucumber Reports Plugin for Jenkins and I want to be able to export the HTML reports so they can be posted on an external portal. I can see that there is a folder named cucumber-html-reports in the build directory in Jenkins, but how…
lawnmowerlatte
  • 442
  • 1
  • 3
  • 13
4
votes
1 answer

Managing state (e.g. presence/absence) in Ansible, any established best practices?

Ansible lists a nice set of best practices in its documentation. One of the items is: Always mention the state For many modules, the state parameter is optional. Different modules have different default settings for state, and some modules support…
0xC0000022L
  • 286
  • 5
  • 19
4
votes
2 answers

How to detect what interface has private IP in Ansible

I plan to reconfigure iptables on our servers (mostly CentOS 7, some CentOS 6) with different network configurations, some on 1Gbit interface, some on 10Gbit, some with VLANs and some with configured LACP. I want to use Ansible, but couldn't find…
4
votes
2 answers

Are there automated quality checking tools for Ops code

In the dev world, we have several tools available to us for automated quality checks. We have unit tests that run on each build, Sonar to check for code quality, metrics being sent to Grafana and Okta with automated alarms, etc. I'm not very…
Jolleyboy
  • 143
  • 4
4
votes
1 answer

Terraform variable Validation

is it possible to use validation of a variable type equals list(string)? My example: main.tf name = "tf-prd-sg-foo" image_id = "ami-00e788542ee66c64f" instance_type = "m5.xlarge" security_groups = ["sg-000000",…
Vader
  • 466
  • 3
  • 15
4
votes
1 answer

How to set up WordPress CI/CD pipeline

I am planning to create 3 environments for my website i.e. dev, stage, and production. I am using GitHub to manage the code. So for URLs dev.example.com, stage.example.com, and example.com, the branches are dev, stage, and main. My knowledge says…
Prakash
  • 349
  • 4
  • 5
  • 16
4
votes
0 answers

Build Windows image for openstack with packer

I am trying to build Windows image for Openstack with packer, but i don't know how to add the autounattend.xml file or floppy files. I build the image with success from qemu but I cannot find the same for openstack. For Qemu i have the floppy_files…
pioupiou
  • 171
  • 1
  • 6
4
votes
0 answers

How do I get synced_folder to execute after a shell provisoner

So what I think I'm trying to do is pretty simple, I need to execute the following in-order: Run a script that will install via script VBoxLinuxAdditions.run [this is working when I run it by itself] Run my synced_folder provision after the…
user1172468
  • 143
  • 4
4
votes
1 answer

K8s cluster in peered VPC can't reach RDS cluster

I have two K8s clusters in the same VPC that I want to connect to an MySQL Aurora RDS cluster. One of the clusters can reach the RDS cluster just fine. The other, however, cannot. I'll call these eks-cluster-working and eks-cluster-broken. I have a…
Zachary Delano
  • 116
  • 3
  • 11