Most Popular

1500 questions
14
votes
4 answers

Open Ports on Google Cloud Load Balancer

It seems that by default, Google Cloud load balancers expose a number of ports unecessarily. I haven't found a way to expose only 80/443 and every time I make one of their load balancers, the following ports are seen in an nmap: PORT STATE …
bootbeast
  • 189
  • 1
  • 6
14
votes
4 answers

Is running docker-compose not supported in BitBucket?

Aim The aim is to run docker-compose in BitBucket pipelines Attempt bitbucket-pipelines.yml image: docker/compose:1.12.0 pipelines: default: - step: script: - docker-compose up --build Outcome The Docker Engine version is…
030
  • 13,235
  • 16
  • 74
  • 173
14
votes
1 answer

Which problems does a container orchestration solve?

Every company who has anything to do with containers these days, including public cloud providers, is creating their own solution for container orchestration. These include: Kubernetes Docker Swarm Amazon EC2 Container Service Apache…
Evgeny Zislis
  • 8,963
  • 5
  • 38
  • 72
14
votes
2 answers

What is "Infrastructure as Code"?

The phrase "Infrastructure as Code" has been mentioned several times in the last two weeks in different contexts. What does it actually mean in a practical sense to have Infrastructure as Code?
Richard Slater
  • 11,612
  • 6
  • 41
  • 81
14
votes
3 answers

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

I am attempting to trigger a parameterized Jenkins build from Bamboo, doing the below: POST - http://jenkins-url.com/job/jobname/buildWithParameters?ENVIRONMENT=dev&APPLICATION=hello-world But I will get a 201 instantly which tells me that the…
osmorgan
  • 309
  • 2
  • 7
14
votes
3 answers

Getting a single revision from Git

Having the full Git revision history has a lot of benefits as part of the development process. But our product is the source code, we are using scripted languages that don't need compilation or processing, and then the Git history becomes a burden…
Rsf
  • 340
  • 1
  • 9
14
votes
4 answers

Why does development oppose operations?

I'm still a student, but I'm not knowledgeable about operations, and my English is still bad. My question is: Why does development oppose operations? When does developing oppose operations?
ra1ned
  • 259
  • 1
  • 9
14
votes
2 answers

How do I automate deployments with Kubernetes?

Assuming I have Kubernetes deployed via Rancher and Jenkins is building new images and pushing them to DockerHub upon check-in of new code to GitHub, how do I automate getting new images deployed? Another way to ask the question might be, “I used to…
Greg
  • 141
  • 2
14
votes
3 answers

How do you test changes to Jenkins plugins before deploying them?

If you ever been bitten by a plugin upgrade that broke some functionality you must have given some thought about this problem: What should be the Jenkins plugins upgrade policy? How do you test changes before deploying them? Has anyone gone as far…
Michael Pereira
  • 651
  • 4
  • 12
14
votes
2 answers

How to enable the npm cache in a Jenkins build slave that runs in docker?

I have a Docker image, let's call it frontend.image, that I use for a Jenkins build slave. The Jenkins Docker plugin will spin up a container from this image and build artifacts inside the container. This all works great. In this case, the…
Brian Ogden
  • 381
  • 1
  • 4
  • 11
14
votes
2 answers

Is it bad to use sudo from Jenkins?

I use Publish Over SSH plugin to deploy my apps from Jenkins to different environments. Some deployment jobs do environment preps and things like stop and restart the app server system service. Some of those commands require sudo. I am just curious…
amphibient
  • 453
  • 5
  • 12
14
votes
2 answers

Get all change logs of since last successful build in Jenkins Pipeline

In my Jenkins pipeline, I can get change logs of the current build by this. def changeLogSets = currentBuild.changeSets Is there a way to get all change-logs since last successful build?
Bee
  • 243
  • 1
  • 2
  • 5
14
votes
2 answers

Does Docker allow containers to be OS agnostic?

We currently use a Windows based server to host 2 VMs. One VM uses Windows with a Windows app and the other VM uses Linux with a Linux app. Is the below scenario possible? Bare server with Windows 2016 (no VMs). Install Docker engine. Install…
nanonerd
  • 241
  • 1
  • 2
  • 3
14
votes
1 answer

Is there a tool that makes it possible to validate Jenkinsfiles online?

At the moment I am editing a Jenkinsfile and then let it run unless Jenkins reports a issue. This approach costs a lot of time. I prefer to validate the syntax before committing the Jenkinsfile. Is there a tool that solves this issue? In gitlab…
030
  • 13,235
  • 16
  • 74
  • 173
14
votes
1 answer

How do you manage your inventory of spot instances on AWS with Ansible

I am new to Ansible, with some experience in Chef. I am considering learn and use Ansible to manage environments. I was wondering, what would be the best practice to manage inventory of AWS spot instances? For example, when a spot instance is shut…
Berlin
  • 780
  • 6
  • 15